Package k8s.io.api.core.v1
Interface Generated.RBDPersistentVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.RBDPersistentVolumeSource,Generated.RBDPersistentVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.RBDPersistentVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFsType()fsType is the filesystem type of the volume that you want to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type of the volume that you want to mount.StringgetImage()image is the rados image name.com.google.protobuf.ByteStringgetImageBytes()image is the rados image name.StringgetKeyring()keyring is the path to key ring for RBDUser.com.google.protobuf.ByteStringgetKeyringBytes()keyring is the path to key ring for RBDUser.StringgetMonitors(int index)monitors is a collection of Ceph monitors.com.google.protobuf.ByteStringgetMonitorsBytes(int index)monitors is a collection of Ceph monitors.intgetMonitorsCount()monitors is a collection of Ceph monitors.List<String>getMonitorsList()monitors is a collection of Ceph monitors.StringgetPool()pool is the rados pool name.com.google.protobuf.ByteStringgetPoolBytes()pool is the rados pool name.booleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.Generated.SecretReferencegetSecretRef()secretRef is name of the authentication secret for RBDUser.Generated.SecretReferenceOrBuildergetSecretRefOrBuilder()secretRef is name of the authentication secret for RBDUser.StringgetUser()user is the rados user name.com.google.protobuf.ByteStringgetUserBytes()user is the rados user name.booleanhasFsType()fsType is the filesystem type of the volume that you want to mount.booleanhasImage()image is the rados image name.booleanhasKeyring()keyring is the path to key ring for RBDUser.booleanhasPool()pool is the rados pool name.booleanhasReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.booleanhasSecretRef()secretRef is name of the authentication secret for RBDUser.booleanhasUser()user is the rados user name.-
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.SecretReference secretRef = 7;- Returns:
- Whether the secretRef field is set.
-
getSecretRef
Generated.SecretReference 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.SecretReference secretRef = 7;- Returns:
- The secretRef.
-
getSecretRefOrBuilder
Generated.SecretReferenceOrBuilder 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.SecretReference 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.
-
-