Package io.fabric8.kubernetes.api.model
Class CinderVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.CinderVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CinderVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CinderVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<CinderVolumeSourceBuilder>, 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 CinderVolumeSource()No args constructor for use in serializationCinderVolumeSource(String fsType, Boolean readOnly, LocalObjectReference secretRef, String volumeID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CinderVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFsType()fsType is the filesystem type to mount.BooleangetReadOnly()readOnly defaults to false (read/write).LocalObjectReferencegetSecretRef()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 is the filesystem type to mount.voidsetReadOnly(Boolean readOnly)readOnly defaults to false (read/write).voidsetSecretRef(LocalObjectReference secretRef)Represents a cinder volume resource in Openstack.voidsetVolumeID(String volumeID)volumeID used to identify the volume in cinder.CinderVolumeSourceBuildertoBuilder()
-
-
-
Constructor Detail
-
CinderVolumeSource
public CinderVolumeSource()
No args constructor for use in serialization
-
CinderVolumeSource
public CinderVolumeSource(String fsType, Boolean readOnly, LocalObjectReference secretRef, String volumeID)
-
-
Method Detail
-
getFsType
public String getFsType()
fsType is the 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 is the 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 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 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 LocalObjectReference 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(LocalObjectReference 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 CinderVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CinderVolumeSourceBuilder>
-
toBuilder
public CinderVolumeSourceBuilder toBuilder()
-
-