Package io.kubernetes.client.proto
Interface V1.VolumeMountOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.VolumeMount
,V1.VolumeMount.Builder
- Enclosing class:
- V1
public static interface V1.VolumeMountOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionPath within the container at which the volume should be mounted.com.google.protobuf.ByteString
Path within the container at which the volume should be mounted.mountPropagation determines how mounts are propagated from the host to container and the other way around.com.google.protobuf.ByteString
mountPropagation determines how mounts are propagated from the host to container and the other way around.getName()
This must match the Name of a Volume.com.google.protobuf.ByteString
This must match the Name of a Volume.boolean
Mounted read-only if true, read-write otherwise (false or unspecified).Path within the volume from which the container's volume should be mounted.com.google.protobuf.ByteString
Path within the volume from which the container's volume should be mounted.Expanded path within the volume from which the container's volume should be mounted.com.google.protobuf.ByteString
Expanded path within the volume from which the container's volume should be mounted.boolean
Path within the container at which the volume should be mounted.boolean
mountPropagation determines how mounts are propagated from the host to container and the other way around.boolean
hasName()
This must match the Name of a Volume.boolean
Mounted read-only if true, read-write otherwise (false or unspecified).boolean
Path within the volume from which the container's volume should be mounted.boolean
Expanded path within the volume from which the container's volume should be mounted.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()This must match the Name of a Volume.
optional string name = 1;
-
getName
String getName()This must match the Name of a Volume.
optional string name = 1;
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()This must match the Name of a Volume.
optional string name = 1;
-
hasReadOnly
boolean hasReadOnly()Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;
-
getReadOnly
boolean getReadOnly()Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. +optional
optional bool readOnly = 2;
-
hasMountPath
boolean hasMountPath()Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;
-
getMountPath
String getMountPath()Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;
-
getMountPathBytes
com.google.protobuf.ByteString getMountPathBytes()Path within the container at which the volume should be mounted. Must not contain ':'.
optional string mountPath = 3;
-
hasSubPath
boolean hasSubPath()Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;
-
getSubPath
String getSubPath()Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;
-
getSubPathBytes
com.google.protobuf.ByteString getSubPathBytes()Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). +optional
optional string subPath = 4;
-
hasMountPropagation
boolean hasMountPropagation()mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. +optional
optional string mountPropagation = 5;
-
getMountPropagation
String getMountPropagation()mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. +optional
optional string mountPropagation = 5;
-
getMountPropagationBytes
com.google.protobuf.ByteString getMountPropagationBytes()mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. +optional
optional string mountPropagation = 5;
-
hasSubPathExpr
boolean hasSubPathExpr()Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. +optional
optional string subPathExpr = 6;
-
getSubPathExpr
String getSubPathExpr()Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. +optional
optional string subPathExpr = 6;
-
getSubPathExprBytes
com.google.protobuf.ByteString getSubPathExprBytes()Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive. +optional
optional string subPathExpr = 6;
-