public static interface Protos.VolumeOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContainerPath()
Path pointing to a directory or file in the container.
|
com.google.protobuf.ByteString |
getContainerPathBytes()
Path pointing to a directory or file in the container.
|
java.lang.String |
getHostPath()
Absolute path pointing to a directory or file on the host or a
path relative to the container work directory.
|
com.google.protobuf.ByteString |
getHostPathBytes()
Absolute path pointing to a directory or file on the host or a
path relative to the container work directory.
|
Protos.Image |
getImage()
The source of the volume is an Image which describes a root
filesystem which will be provisioned by Mesos.
|
Protos.ImageOrBuilder |
getImageOrBuilder()
The source of the volume is an Image which describes a root
filesystem which will be provisioned by Mesos.
|
Protos.Volume.Mode |
getMode()
TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
|
Protos.Volume.Source |
getSource()
optional .mesos.Volume.Source source = 5; |
Protos.Volume.SourceOrBuilder |
getSourceOrBuilder()
optional .mesos.Volume.Source source = 5; |
boolean |
hasContainerPath()
Path pointing to a directory or file in the container.
|
boolean |
hasHostPath()
Absolute path pointing to a directory or file on the host or a
path relative to the container work directory.
|
boolean |
hasImage()
The source of the volume is an Image which describes a root
filesystem which will be provisioned by Mesos.
|
boolean |
hasMode()
TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
|
boolean |
hasSource()
optional .mesos.Volume.Source source = 5; |
boolean hasMode()
TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
required .mesos.Volume.Mode mode = 3;
Protos.Volume.Mode getMode()
TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
required .mesos.Volume.Mode mode = 3;
boolean hasContainerPath()
Path pointing to a directory or file in the container. If the path is a relative path, it is relative to the container work directory. If the path is an absolute path and the container does not have its own rootfs, that path must already exist in the agent host rootfs.
required string container_path = 1;
java.lang.String getContainerPath()
Path pointing to a directory or file in the container. If the path is a relative path, it is relative to the container work directory. If the path is an absolute path and the container does not have its own rootfs, that path must already exist in the agent host rootfs.
required string container_path = 1;
com.google.protobuf.ByteString getContainerPathBytes()
Path pointing to a directory or file in the container. If the path is a relative path, it is relative to the container work directory. If the path is an absolute path and the container does not have its own rootfs, that path must already exist in the agent host rootfs.
required string container_path = 1;
boolean hasHostPath()
Absolute path pointing to a directory or file on the host or a path relative to the container work directory.
optional string host_path = 2;
java.lang.String getHostPath()
Absolute path pointing to a directory or file on the host or a path relative to the container work directory.
optional string host_path = 2;
com.google.protobuf.ByteString getHostPathBytes()
Absolute path pointing to a directory or file on the host or a path relative to the container work directory.
optional string host_path = 2;
boolean hasImage()
The source of the volume is an Image which describes a root filesystem which will be provisioned by Mesos.
optional .mesos.Image image = 4;
Protos.Image getImage()
The source of the volume is an Image which describes a root filesystem which will be provisioned by Mesos.
optional .mesos.Image image = 4;
Protos.ImageOrBuilder getImageOrBuilder()
The source of the volume is an Image which describes a root filesystem which will be provisioned by Mesos.
optional .mesos.Image image = 4;
boolean hasSource()
optional .mesos.Volume.Source source = 5;
Protos.Volume.Source getSource()
optional .mesos.Volume.Source source = 5;
Protos.Volume.SourceOrBuilder getSourceOrBuilder()
optional .mesos.Volume.Source source = 5;