Package k8s.io.api.core.v1
Interface Generated.StorageOSPersistentVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.StorageOSPersistentVolumeSource,Generated.StorageOSPersistentVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.StorageOSPersistentVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFsType()fsType is the filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type to mount.booleangetReadOnly()readOnly defaults to false (read/write).Generated.ObjectReferencegetSecretRef()secretRef specifies the secret to use for obtaining the StorageOS API credentials.Generated.ObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef specifies the secret to use for obtaining the StorageOS API credentials.StringgetVolumeName()volumeName is the human-readable name of the StorageOS volume.com.google.protobuf.ByteStringgetVolumeNameBytes()volumeName is the human-readable name of the StorageOS volume.StringgetVolumeNamespace()volumeNamespace specifies the scope of the volume within StorageOS.com.google.protobuf.ByteStringgetVolumeNamespaceBytes()volumeNamespace specifies the scope of the volume within StorageOS.booleanhasFsType()fsType is the filesystem type to mount.booleanhasReadOnly()readOnly defaults to false (read/write).booleanhasSecretRef()secretRef specifies the secret to use for obtaining the StorageOS API credentials.booleanhasVolumeName()volumeName is the human-readable name of the StorageOS volume.booleanhasVolumeNamespace()volumeNamespace specifies the scope of the volume within StorageOS.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasVolumeName
boolean hasVolumeName()
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Returns:
- Whether the volumeName field is set.
-
getVolumeName
String getVolumeName()
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Returns:
- The volumeName.
-
getVolumeNameBytes
com.google.protobuf.ByteString getVolumeNameBytes()
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Returns:
- The bytes for volumeName.
-
hasVolumeNamespace
boolean hasVolumeNamespace()
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;- Returns:
- Whether the volumeNamespace field is set.
-
getVolumeNamespace
String getVolumeNamespace()
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;- Returns:
- The volumeNamespace.
-
getVolumeNamespaceBytes
com.google.protobuf.ByteString getVolumeNamespaceBytes()
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;- Returns:
- The bytes for volumeNamespace.
-
hasFsType
boolean hasFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;- Returns:
- Whether the fsType field is set.
-
getFsType
String getFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;- Returns:
- The fsType.
-
getFsTypeBytes
com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;- Returns:
- The bytes for fsType.
-
hasReadOnly
boolean hasReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Returns:
- The readOnly.
-
hasSecretRef
boolean hasSecretRef()
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;- Returns:
- Whether the secretRef field is set.
-
getSecretRef
Generated.ObjectReference getSecretRef()
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;- Returns:
- The secretRef.
-
getSecretRefOrBuilder
Generated.ObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.ObjectReference secretRef = 5;
-
-