Package io.fabric8.kubernetes.api.model
Class CinderPersistentVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.CinderPersistentVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CinderPersistentVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CinderPersistentVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<CinderPersistentVolumeSourceBuilder>, KubernetesResource
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CinderPersistentVolumeSource()No args constructor for use in serializationCinderPersistentVolumeSource(String fsType, Boolean readOnly, SecretReference secretRef, String volumeID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CinderPersistentVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFsType()fsType Filesystem type to mount.BooleangetReadOnly()readOnly is Optional: Defaults to false (read/write).SecretReferencegetSecretRef()Represents a cinder volume resource in Openstack.StringgetVolumeID()volumeID used to identify the volume in cinder.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFsType(String fsType)fsType Filesystem type to mount.voidsetReadOnly(Boolean readOnly)readOnly is Optional: Defaults to false (read/write).voidsetSecretRef(SecretReference secretRef)Represents a cinder volume resource in Openstack.voidsetVolumeID(String volumeID)volumeID used to identify the volume in cinder.CinderPersistentVolumeSourceBuildertoBuilder()
-
-
-
Constructor Detail
-
CinderPersistentVolumeSource
public CinderPersistentVolumeSource()
No args constructor for use in serialization
-
CinderPersistentVolumeSource
public CinderPersistentVolumeSource(String fsType, Boolean readOnly, SecretReference secretRef, String volumeID)
-
-
Method Detail
-
getFsType
public String getFsType()
fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
setFsType
public void setFsType(String fsType)
fsType Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
getReadOnly
public Boolean getReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
getSecretRef
public SecretReference getSecretRef()
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
-
setSecretRef
public void setSecretRef(SecretReference secretRef)
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
-
getVolumeID
public String getVolumeID()
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
setVolumeID
public void setVolumeID(String volumeID)
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
edit
public CinderPersistentVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CinderPersistentVolumeSourceBuilder>
-
toBuilder
public CinderPersistentVolumeSourceBuilder toBuilder()
-
-