Interface Generated.RBDVolumeSourceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFsType()
      fsType is the filesystem type of the volume that you want to mount.
      com.google.protobuf.ByteString getFsTypeBytes()
      fsType is the filesystem type of the volume that you want to mount.
      String getImage()
      image is the rados image name.
      com.google.protobuf.ByteString getImageBytes()
      image is the rados image name.
      String getKeyring()
      keyring is the path to key ring for RBDUser.
      com.google.protobuf.ByteString getKeyringBytes()
      keyring is the path to key ring for RBDUser.
      String getMonitors​(int index)
      monitors is a collection of Ceph monitors.
      com.google.protobuf.ByteString getMonitorsBytes​(int index)
      monitors is a collection of Ceph monitors.
      int getMonitorsCount()
      monitors is a collection of Ceph monitors.
      List<String> getMonitorsList()
      monitors is a collection of Ceph monitors.
      String getPool()
      pool is the rados pool name.
      com.google.protobuf.ByteString getPoolBytes()
      pool is the rados pool name.
      boolean getReadOnly()
      readOnly here will force the ReadOnly setting in VolumeMounts.
      Generated.LocalObjectReference getSecretRef()
      secretRef is name of the authentication secret for RBDUser.
      Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
      secretRef is name of the authentication secret for RBDUser.
      String getUser()
      user is the rados user name.
      com.google.protobuf.ByteString getUserBytes()
      user is the rados user name.
      boolean hasFsType()
      fsType is the filesystem type of the volume that you want to mount.
      boolean hasImage()
      image is the rados image name.
      boolean hasKeyring()
      keyring is the path to key ring for RBDUser.
      boolean hasPool()
      pool is the rados pool name.
      boolean hasReadOnly()
      readOnly here will force the ReadOnly setting in VolumeMounts.
      boolean hasSecretRef()
      secretRef is name of the authentication secret for RBDUser.
      boolean hasUser()
      user is 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 Detail

      • getMonitorsList

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

        int getMonitorsCount()
         monitors is a collection of Ceph monitors.
         More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
         +listType=atomic
         
        repeated string monitors = 1;
        Returns:
        The count of monitors.
      • getMonitors

        String getMonitors​(int index)
         monitors is a collection of Ceph monitors.
         More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
         +listType=atomic
         
        repeated string monitors = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The monitors at the given index.
      • getMonitorsBytes

        com.google.protobuf.ByteString getMonitorsBytes​(int index)
         monitors is a collection of Ceph monitors.
         More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
         +listType=atomic
         
        repeated string monitors = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the monitors at the given index.
      • hasImage

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

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

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

        boolean hasFsType()
         fsType is the 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;
        Returns:
        Whether the fsType field is set.
      • getFsType

        String getFsType()
         fsType is the 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;
        Returns:
        The fsType.
      • getFsTypeBytes

        com.google.protobuf.ByteString getFsTypeBytes()
         fsType is the 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;
        Returns:
        The bytes for fsType.
      • hasPool

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

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

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

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

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

        com.google.protobuf.ByteString getUserBytes()
         user is the rados user name.
         Default is admin.
         More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
         +optional
         +default="admin"
         
        optional string user = 5;
        Returns:
        The bytes for user.
      • 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
         +default="/etc/ceph/keyring"
         
        optional string keyring = 6;
        Returns:
        Whether the keyring field is set.
      • 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
         +default="/etc/ceph/keyring"
         
        optional string keyring = 6;
        Returns:
        The keyring.
      • 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
         +default="/etc/ceph/keyring"
         
        optional string keyring = 6;
        Returns:
        The bytes for keyring.
      • 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;
        Returns:
        Whether the secretRef field is set.
      • getSecretRef

        Generated.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;
        Returns:
        The secretRef.
      • getSecretRefOrBuilder

        Generated.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;
        Returns:
        Whether the readOnly field is set.
      • 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;
        Returns:
        The readOnly.