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 | Field and Description |
|---|---|
static String |
VOLUME_PROPERTY |
static String |
VOLUME_PVC_REQUEST_STORAGE |
| Modifier and Type | Method and Description |
|---|---|
abstract io.fabric8.kubernetes.api.model.Volume |
fromProperties(String name,
Properties properties) |
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 final String VOLUME_PROPERTY
public static final String VOLUME_PVC_REQUEST_STORAGE
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 fromProperties(String name, Properties properties)
public String getType()
public static final VolumeType typeFor(String type)
Copyright © 2011–2016 Red Hat. All rights reserved.