Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1StorageOSPersistentVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1StorageOSPersistentVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1StorageOSPersistentVolumeSource extends Object
Represents a StorageOS persistent volume resource.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SECRET_REFstatic StringJSON_PROPERTY_VOLUME_NAMEstatic StringJSON_PROPERTY_VOLUME_NAMESPACE
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1StorageOSPersistentVolumeSource()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SECRET_REF
public static final String JSON_PROPERTY_SECRET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_NAME
public static final String JSON_PROPERTY_VOLUME_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_NAMESPACE
public static final String JSON_PROPERTY_VOLUME_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
fsType
public IoK8sApiCoreV1StorageOSPersistentVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
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.- Returns:
- fsType
-
setFsType
public void setFsType(String fsType)
-
readOnly
public IoK8sApiCoreV1StorageOSPersistentVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
secretRef
public IoK8sApiCoreV1StorageOSPersistentVolumeSource secretRef(IoK8sApiCoreV1ObjectReference secretRef)
-
getSecretRef
@Nullable public IoK8sApiCoreV1ObjectReference getSecretRef()
Get secretRef- Returns:
- secretRef
-
setSecretRef
public void setSecretRef(IoK8sApiCoreV1ObjectReference secretRef)
-
volumeName
public IoK8sApiCoreV1StorageOSPersistentVolumeSource volumeName(String volumeName)
-
getVolumeName
@Nullable public String getVolumeName()
VolumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.- Returns:
- volumeName
-
setVolumeName
public void setVolumeName(String volumeName)
-
volumeNamespace
public IoK8sApiCoreV1StorageOSPersistentVolumeSource volumeNamespace(String volumeNamespace)
-
getVolumeNamespace
@Nullable public 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.- Returns:
- volumeNamespace
-
setVolumeNamespace
public void setVolumeNamespace(String volumeNamespace)
-
-