KubeletDiskType Class

public final class KubeletDiskType
extends ExpandableStringEnum<KubeletDiskType>

Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.

Field Summary

Modifier and Type Field and Description
static final KubeletDiskType OS

Static value OS for KubeletDiskType.

static final KubeletDiskType TEMPORARY

Static value Temporary for KubeletDiskType.

Constructor Summary

Constructor Description
KubeletDiskType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KubeletDiskType value.

Method Summary

Modifier and Type Method and Description
static KubeletDiskType fromString(String name)

Creates or finds a KubeletDiskType from its string representation.

static Collection<KubeletDiskType> values()

Gets known KubeletDiskType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OS

public static final KubeletDiskType OS

Static value OS for KubeletDiskType.

TEMPORARY

public static final KubeletDiskType TEMPORARY

Static value Temporary for KubeletDiskType.

Constructor Details

KubeletDiskType

@Deprecated
public KubeletDiskType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KubeletDiskType value.

Method Details

fromString

public static KubeletDiskType fromString(String name)

Creates or finds a KubeletDiskType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KubeletDiskType.

values

public static Collection values()

Gets known KubeletDiskType values.

Returns:

known KubeletDiskType values.

Applies to