public static enum Protos.MountPropagation.Mode extends java.lang.Enum<Protos.MountPropagation.Mode>
mesos.MountPropagation.Mode
Enum Constant and Description |
---|
BIDIRECTIONAL
The volume in a container will receive new mounts from the host
or other containers, and its own mounts will be propagated from
the container to the host or other containers.
|
HOST_TO_CONTAINER
The volume in a container will receive new mounts from the host
or other containers, but filesystems mounted inside the
container won't be propagated to the host or other containers.
|
UNKNOWN
UNKNOWN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
BIDIRECTIONAL_VALUE
The volume in a container will receive new mounts from the host
or other containers, and its own mounts will be propagated from
the container to the host or other containers.
|
static int |
HOST_TO_CONTAINER_VALUE
The volume in a container will receive new mounts from the host
or other containers, but filesystems mounted inside the
container won't be propagated to the host or other containers.
|
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Protos.MountPropagation.Mode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static Protos.MountPropagation.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.MountPropagation.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.MountPropagation.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.MountPropagation.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.MountPropagation.Mode UNKNOWN
UNKNOWN = 0;
public static final Protos.MountPropagation.Mode HOST_TO_CONTAINER
The volume in a container will receive new mounts from the host or other containers, but filesystems mounted inside the container won't be propagated to the host or other containers. This is currently the default behavior for all volumes.
HOST_TO_CONTAINER = 1;
public static final Protos.MountPropagation.Mode BIDIRECTIONAL
The volume in a container will receive new mounts from the host or other containers, and its own mounts will be propagated from the container to the host or other containers.
BIDIRECTIONAL = 2;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int HOST_TO_CONTAINER_VALUE
The volume in a container will receive new mounts from the host or other containers, but filesystems mounted inside the container won't be propagated to the host or other containers. This is currently the default behavior for all volumes.
HOST_TO_CONTAINER = 1;
public static final int BIDIRECTIONAL_VALUE
The volume in a container will receive new mounts from the host or other containers, and its own mounts will be propagated from the container to the host or other containers.
BIDIRECTIONAL = 2;
public static Protos.MountPropagation.Mode[] values()
for (Protos.MountPropagation.Mode c : Protos.MountPropagation.Mode.values()) System.out.println(c);
public static Protos.MountPropagation.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static Protos.MountPropagation.Mode valueOf(int value)
forNumber(int)
instead.public static Protos.MountPropagation.Mode forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.MountPropagation.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)