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 CinderPersistentVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getFsType()
fsType Filesystem type to mount.Boolean
getReadOnly()
readOnly is Optional: Defaults to false (read/write).SecretReference
getSecretRef()
Represents a cinder volume resource in Openstack.String
getVolumeID()
volumeID used to identify the volume in cinder.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setFsType(String fsType)
fsType Filesystem type to mount.void
setReadOnly(Boolean readOnly)
readOnly is Optional: Defaults to false (read/write).void
setSecretRef(SecretReference secretRef)
Represents a cinder volume resource in Openstack.void
setVolumeID(String volumeID)
volumeID used to identify the volume in cinder.CinderPersistentVolumeSourceBuilder
toBuilder()
-
-
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<CinderPersistentVolumeSourceBuilder>
-
toBuilder
public CinderPersistentVolumeSourceBuilder toBuilder()
-
-