public enum VolumeType extends Enum<VolumeType>
Enum Constant and Description |
---|
CGE_DISK |
EMPTY_DIR |
GIT_REPO |
GLUSTER_FS_PATH |
HOST_PATH |
NFS_PATH |
PERSISTENT_VOLUME_CLAIM |
SECRET |
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 NFS_PATH
public static final VolumeType CGE_DISK
public static final VolumeType GLUSTER_FS_PATH
public static final VolumeType PERSISTENT_VOLUME_CLAIM
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 © 2019. All rights reserved.