Class CinderPersistentVolumeSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class CinderPersistentVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    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.
    • Constructor Detail

      • CinderPersistentVolumeSource

        public CinderPersistentVolumeSource​(java.lang.String fsType,
                                            java.lang.Boolean readOnly,
                                            SecretReference secretRef,
                                            @NonNull
                                            @NonNull java.lang.String volumeID)
      • CinderPersistentVolumeSource

        public CinderPersistentVolumeSource()
    • Method Detail

      • getFsType

        public java.lang.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
      • getReadOnly

        public java.lang.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
      • getVolumeID

        @NonNull
        public @NonNull java.lang.String getVolumeID()
        volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
      • setFsType

        public void setFsType​(java.lang.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
      • setReadOnly

        public void setReadOnly​(java.lang.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
      • setVolumeID

        public void setVolumeID​(@NonNull
                                @NonNull java.lang.String volumeID)
        volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object