Package k8s.io.api.core.v1
Interface Generated.CephFSVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.CephFSVolumeSource,Generated.CephFSVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.CephFSVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetMonitors(int index)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomiccom.google.protobuf.ByteStringgetMonitorsBytes(int index)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicintgetMonitorsCount()monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicList<String>getMonitorsList()monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicStringgetPath()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalcom.google.protobuf.ByteStringgetPathBytes()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalbooleangetReadOnly()readOnly is Optional: Defaults to false (read/write).StringgetSecretFile()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 +optionalcom.google.protobuf.ByteStringgetSecretFileBytes()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 +optionalGenerated.LocalObjectReferencegetSecretRef()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.LocalObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.StringgetUser()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 +optionalcom.google.protobuf.ByteStringgetUserBytes()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 +optionalbooleanhasPath()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalbooleanhasReadOnly()readOnly is Optional: Defaults to false (read/write).booleanhasSecretFile()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 +optionalbooleanhasSecretRef()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.booleanhasUser()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 +optional-
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 Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Returns:
- A list containing the monitors.
-
getMonitorsCount
int getMonitorsCount()
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Returns:
- The count of monitors.
-
getMonitors
String getMonitors(int index)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/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 Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/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.
-
hasPath
boolean hasPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Returns:
- Whether the path field is set.
-
getPath
String getPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Returns:
- The bytes for path.
-
hasUser
boolean hasUser()
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 +optional
optional string user = 3;- Returns:
- Whether the user field is set.
-
getUser
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 +optional
optional string user = 3;- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()
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 +optional
optional string user = 3;- Returns:
- The bytes for user.
-
hasSecretFile
boolean hasSecretFile()
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 +optional
optional string secretFile = 4;- Returns:
- Whether the secretFile field is set.
-
getSecretFile
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 +optional
optional string secretFile = 4;- Returns:
- The secretFile.
-
getSecretFileBytes
com.google.protobuf.ByteString getSecretFileBytes()
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 +optional
optional string secretFile = 4;- Returns:
- The bytes for secretFile.
-
hasSecretRef
boolean hasSecretRef()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 5;- Returns:
- Whether the secretRef field is set.
-
getSecretRef
Generated.LocalObjectReference getSecretRef()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 5;- Returns:
- The secretRef.
-
getSecretRefOrBuilder
Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 5;
-
hasReadOnly
boolean hasReadOnly()
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 +optional
optional bool readOnly = 6;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
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 +optional
optional bool readOnly = 6;- Returns:
- The readOnly.
-
-