public enum VolumeType extends Enum<VolumeType>
Enum Constant and Description |
---|
AWS_ELASTIC_BLOCK_STORE |
AZURE_DISK |
AZURE_FILE |
CEPHFS |
CGE_DISK |
CONFIGMAP |
DOWNWARD_API |
EMPTY_DIR |
FIBRE_CHANNEL |
FLOCKER |
GIT_REPO |
GLUSTER_FS_PATH |
HOST_PATH |
ISCSI |
NFS_PATH |
PERSISTENT_VOLUME_CLAIM |
PORTWORXVOLUME |
QUOBYTE |
RADOS_BLOCK_DEVICE |
SCALE_IO |
SECRET |
STORAGE_OS |
VSPHERE_VOLUME |
Modifier and Type | Method and Description |
---|---|
abstract io.fabric8.kubernetes.api.model.Volume |
fromConfig(VolumeConfig config) |
String |
getType() |
static VolumeType |
typeFor(String type) |
static VolumeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeType HOST_PATH
public static final VolumeType EMPTY_DIR
public static final VolumeType GIT_REPO
public static final VolumeType SECRET
public static final VolumeType CONFIGMAP
public static final VolumeType NFS_PATH
public static final VolumeType CGE_DISK
public static final VolumeType GLUSTER_FS_PATH
public static final VolumeType PERSISTENT_VOLUME_CLAIM
public static final VolumeType AWS_ELASTIC_BLOCK_STORE
public static final VolumeType AZURE_DISK
public static final VolumeType AZURE_FILE
public static final VolumeType CEPHFS
public static final VolumeType FIBRE_CHANNEL
public static final VolumeType FLOCKER
public static final VolumeType ISCSI
public static final VolumeType PORTWORXVOLUME
public static final VolumeType QUOBYTE
public static final VolumeType RADOS_BLOCK_DEVICE
public static final VolumeType SCALE_IO
public static final VolumeType STORAGE_OS
public static final VolumeType VSPHERE_VOLUME
public static final VolumeType DOWNWARD_API
public static VolumeType[] values()
for (VolumeType c : VolumeType.values()) System.out.println(c);
public static VolumeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract io.fabric8.kubernetes.api.model.Volume fromConfig(VolumeConfig config)
public String getType()
public static VolumeType typeFor(String type)
Copyright © 2021. All rights reserved.