Class CSIPersistentVolumeSource

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

    public class CSIPersistentVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Represents storage that is managed by an external CSI volume driver (Beta feature)
    • Constructor Detail

      • CSIPersistentVolumeSource

        public CSIPersistentVolumeSource​(SecretReference controllerExpandSecretRef,
                                         SecretReference controllerPublishSecretRef,
                                         @NonNull
                                         @NonNull java.lang.String driver,
                                         java.lang.String fsType,
                                         SecretReference nodePublishSecretRef,
                                         SecretReference nodeStageSecretRef,
                                         java.lang.Boolean readOnly,
                                         java.util.Map<java.lang.String,​java.lang.String> volumeAttributes,
                                         @NonNull
                                         @NonNull java.lang.String volumeHandle)
      • CSIPersistentVolumeSource

        public CSIPersistentVolumeSource()
    • Method Detail

      • getControllerExpandSecretRef

        public SecretReference getControllerExpandSecretRef()
      • getControllerPublishSecretRef

        public SecretReference getControllerPublishSecretRef()
      • getDriver

        @NonNull
        public @NonNull java.lang.String getDriver()
        Driver is the name of the driver to use for this volume. Required.
      • getFsType

        public java.lang.String getFsType()
        Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
      • getNodePublishSecretRef

        public SecretReference getNodePublishSecretRef()
      • getReadOnly

        public java.lang.Boolean getReadOnly()
        Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
      • getVolumeAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getVolumeAttributes()
        Attributes of the volume to publish.
      • getVolumeHandle

        @NonNull
        public @NonNull java.lang.String getVolumeHandle()
        VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
      • setControllerExpandSecretRef

        public void setControllerExpandSecretRef​(SecretReference controllerExpandSecretRef)
      • setControllerPublishSecretRef

        public void setControllerPublishSecretRef​(SecretReference controllerPublishSecretRef)
      • setDriver

        public void setDriver​(@NonNull
                              @NonNull java.lang.String driver)
        Driver is the name of the driver to use for this volume. Required.
      • setFsType

        public void setFsType​(java.lang.String fsType)
        Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".
      • setNodePublishSecretRef

        public void setNodePublishSecretRef​(SecretReference nodePublishSecretRef)
      • setNodeStageSecretRef

        public void setNodeStageSecretRef​(SecretReference nodeStageSecretRef)
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean readOnly)
        Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
      • setVolumeAttributes

        public void setVolumeAttributes​(java.util.Map<java.lang.String,​java.lang.String> volumeAttributes)
        Attributes of the volume to publish.
      • setVolumeHandle

        public void setVolumeHandle​(@NonNull
                                    @NonNull java.lang.String volumeHandle)
        VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
      • 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