Interface V1.RBDVolumeSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.RBDVolumeSource, V1.RBDVolumeSource.Builder
Enclosing class:
V1

public static interface V1.RBDVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Filesystem type of the volume that you want to mount.
    com.google.protobuf.ByteString
    Filesystem type of the volume that you want to mount.
    The rados image name.
    com.google.protobuf.ByteString
    The rados image name.
    Keyring is the path to key ring for RBDUser.
    com.google.protobuf.ByteString
    Keyring is the path to key ring for RBDUser.
    getMonitors(int index)
    A collection of Ceph monitors.
    com.google.protobuf.ByteString
    getMonitorsBytes(int index)
    A collection of Ceph monitors.
    int
    A collection of Ceph monitors.
    A collection of Ceph monitors.
    The rados pool name.
    com.google.protobuf.ByteString
    The rados pool name.
    boolean
    ReadOnly here will force the ReadOnly setting in VolumeMounts.
    SecretRef is name of the authentication secret for RBDUser.
    SecretRef is name of the authentication secret for RBDUser.
    The rados user name.
    com.google.protobuf.ByteString
    The rados user name.
    boolean
    Filesystem type of the volume that you want to mount.
    boolean
    The rados image name.
    boolean
    Keyring is the path to key ring for RBDUser.
    boolean
    The rados pool name.
    boolean
    ReadOnly here will force the ReadOnly setting in VolumeMounts.
    boolean
    SecretRef is name of the authentication secret for RBDUser.
    boolean
    The rados user name.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMonitorsList

      List<String> getMonitorsList()
       A collection of Ceph monitors.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      repeated string monitors = 1;
    • getMonitorsCount

      int getMonitorsCount()
       A collection of Ceph monitors.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      repeated string monitors = 1;
    • getMonitors

      String getMonitors(int index)
       A collection of Ceph monitors.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      repeated string monitors = 1;
    • getMonitorsBytes

      com.google.protobuf.ByteString getMonitorsBytes(int index)
       A collection of Ceph monitors.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      repeated string monitors = 1;
    • hasImage

      boolean hasImage()
       The rados image name.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      optional string image = 2;
    • getImage

      String getImage()
       The rados image name.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      optional string image = 2;
    • getImageBytes

      com.google.protobuf.ByteString getImageBytes()
       The rados image name.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       
      optional string image = 2;
    • hasFsType

      boolean hasFsType()
       Filesystem type of the volume that you want to mount.
       Tip: Ensure that the filesystem type is supported by the host operating system.
       Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
       TODO: how do we prevent errors in the filesystem from compromising the machine
       +optional
       
      optional string fsType = 3;
    • getFsType

      String getFsType()
       Filesystem type of the volume that you want to mount.
       Tip: Ensure that the filesystem type is supported by the host operating system.
       Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
       TODO: how do we prevent errors in the filesystem from compromising the machine
       +optional
       
      optional string fsType = 3;
    • getFsTypeBytes

      com.google.protobuf.ByteString getFsTypeBytes()
       Filesystem type of the volume that you want to mount.
       Tip: Ensure that the filesystem type is supported by the host operating system.
       Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
       TODO: how do we prevent errors in the filesystem from compromising the machine
       +optional
       
      optional string fsType = 3;
    • hasPool

      boolean hasPool()
       The rados pool name.
       Default is rbd.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string pool = 4;
    • getPool

      String getPool()
       The rados pool name.
       Default is rbd.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string pool = 4;
    • getPoolBytes

      com.google.protobuf.ByteString getPoolBytes()
       The rados pool name.
       Default is rbd.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string pool = 4;
    • hasUser

      boolean hasUser()
       The rados user name.
       Default is admin.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string user = 5;
    • getUser

      String getUser()
       The rados user name.
       Default is admin.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string user = 5;
    • getUserBytes

      com.google.protobuf.ByteString getUserBytes()
       The rados user name.
       Default is admin.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string user = 5;
    • hasKeyring

      boolean hasKeyring()
       Keyring is the path to key ring for RBDUser.
       Default is /etc/ceph/keyring.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string keyring = 6;
    • getKeyring

      String getKeyring()
       Keyring is the path to key ring for RBDUser.
       Default is /etc/ceph/keyring.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string keyring = 6;
    • getKeyringBytes

      com.google.protobuf.ByteString getKeyringBytes()
       Keyring is the path to key ring for RBDUser.
       Default is /etc/ceph/keyring.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional string keyring = 6;
    • hasSecretRef

      boolean hasSecretRef()
       SecretRef is name of the authentication secret for RBDUser. If provided
       overrides keyring.
       Default is nil.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
    • getSecretRef

      V1.LocalObjectReference getSecretRef()
       SecretRef is name of the authentication secret for RBDUser. If provided
       overrides keyring.
       Default is nil.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
    • getSecretRefOrBuilder

      V1.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
       SecretRef is name of the authentication secret for RBDUser. If provided
       overrides keyring.
       Default is nil.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
    • hasReadOnly

      boolean hasReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional bool readOnly = 8;
    • getReadOnly

      boolean getReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
       +optional
       
      optional bool readOnly = 8;