Class V1CephFSPersistentVolumeSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CephFSPersistentVolumeSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1CephFSPersistentVolumeSource extends Object
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1CephFSPersistentVolumeSource

      public V1CephFSPersistentVolumeSource(List<String> monitors)
  • Method Details

    • getMonitors

      public List<String> getMonitors()
      monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
      Returns:
      the monitors property value
    • setMonitors

      public void setMonitors(List<String> monitors)
      Set the monitors property value
    • monitors

      public V1CephFSPersistentVolumeSource monitors(List<String> monitors)
      Set monitors in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • addmonitorsItem

      public V1CephFSPersistentVolumeSource addmonitorsItem(String monitorsItem)
      Add an item to the monitors property in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • getPath

      public String getPath()
      path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
      Returns:
      the path property value
    • setPath

      public void setPath(String path)
      Set the path property value
    • path

      Set path in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • 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/volumes/cephfs/README.md#how-to-use-it
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
    • readOnly

      public V1CephFSPersistentVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • getSecretFile

      public String getSecretFile()
      secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
      Returns:
      the secretFile property value
    • setSecretFile

      public void setSecretFile(String secretFile)
      Set the secretFile property value
    • secretFile

      public V1CephFSPersistentVolumeSource secretFile(String secretFile)
      Set secretFile in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • getSecretRef

      public V1SecretReference getSecretRef()
      Returns:
      the secretRef property value
    • setSecretRef

      public void setSecretRef(V1SecretReference secretRef)
      Set the secretRef property value
    • secretRef

      public V1CephFSPersistentVolumeSource secretRef(V1SecretReference secretRef)
      Set secretRef in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • getUser

      public String getUser()
      user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
      Returns:
      the user property value
    • setUser

      public void setUser(String user)
      Set the user property value
    • user

      Set user in a chainable fashion.
      Returns:
      The same instance of V1CephFSPersistentVolumeSource for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object