public static interface V1.PersistentVolumeClaimSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessModes(int index)
AccessModes contains the desired access modes the volume should have.
|
com.google.protobuf.ByteString |
getAccessModesBytes(int index)
AccessModes contains the desired access modes the volume should have.
|
int |
getAccessModesCount()
AccessModes contains the desired access modes the volume should have.
|
List<String> |
getAccessModesList()
AccessModes contains the desired access modes the volume should have.
|
V1.TypedLocalObjectReference |
getDataSource()
This field can be used to specify either:
* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
* An existing PVC (PersistentVolumeClaim)
If the provisioner or an external controller can support the specified data source,
it will create a new volume based on the contents of the specified data source.
|
V1.TypedLocalObjectReferenceOrBuilder |
getDataSourceOrBuilder()
This field can be used to specify either:
* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
* An existing PVC (PersistentVolumeClaim)
If the provisioner or an external controller can support the specified data source,
it will create a new volume based on the contents of the specified data source.
|
V1.TypedLocalObjectReference |
getDataSourceRef()
Specifies the object from which to populate the volume with data, if a non-empty
volume is desired.
|
V1.TypedLocalObjectReferenceOrBuilder |
getDataSourceRefOrBuilder()
Specifies the object from which to populate the volume with data, if a non-empty
volume is desired.
|
V1.ResourceRequirements |
getResources()
Resources represents the minimum resources the volume should have.
|
V1.ResourceRequirementsOrBuilder |
getResourcesOrBuilder()
Resources represents the minimum resources the volume should have.
|
Meta.LabelSelector |
getSelector()
A label query over volumes to consider for binding.
|
Meta.LabelSelectorOrBuilder |
getSelectorOrBuilder()
A label query over volumes to consider for binding.
|
String |
getStorageClassName()
Name of the StorageClass required by the claim.
|
com.google.protobuf.ByteString |
getStorageClassNameBytes()
Name of the StorageClass required by the claim.
|
String |
getVolumeMode()
volumeMode defines what type of volume is required by the claim.
|
com.google.protobuf.ByteString |
getVolumeModeBytes()
volumeMode defines what type of volume is required by the claim.
|
String |
getVolumeName()
VolumeName is the binding reference to the PersistentVolume backing this claim.
|
com.google.protobuf.ByteString |
getVolumeNameBytes()
VolumeName is the binding reference to the PersistentVolume backing this claim.
|
boolean |
hasDataSource()
This field can be used to specify either:
* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)
* An existing PVC (PersistentVolumeClaim)
If the provisioner or an external controller can support the specified data source,
it will create a new volume based on the contents of the specified data source.
|
boolean |
hasDataSourceRef()
Specifies the object from which to populate the volume with data, if a non-empty
volume is desired.
|
boolean |
hasResources()
Resources represents the minimum resources the volume should have.
|
boolean |
hasSelector()
A label query over volumes to consider for binding.
|
boolean |
hasStorageClassName()
Name of the StorageClass required by the claim.
|
boolean |
hasVolumeMode()
volumeMode defines what type of volume is required by the claim.
|
boolean |
hasVolumeName()
VolumeName is the binding reference to the PersistentVolume backing this claim.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getAccessModesList()
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional
repeated string accessModes = 1;int getAccessModesCount()
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional
repeated string accessModes = 1;String getAccessModes(int index)
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional
repeated string accessModes = 1;com.google.protobuf.ByteString getAccessModesBytes(int index)
AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional
repeated string accessModes = 1;boolean hasSelector()
A label query over volumes to consider for binding. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;Meta.LabelSelector getSelector()
A label query over volumes to consider for binding. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;Meta.LabelSelectorOrBuilder getSelectorOrBuilder()
A label query over volumes to consider for binding. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;boolean hasResources()
Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 2;V1.ResourceRequirements getResources()
Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 2;V1.ResourceRequirementsOrBuilder getResourcesOrBuilder()
Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources +optional
optional .k8s.io.api.core.v1.ResourceRequirements resources = 2;boolean hasVolumeName()
VolumeName is the binding reference to the PersistentVolume backing this claim. +optional
optional string volumeName = 3;String getVolumeName()
VolumeName is the binding reference to the PersistentVolume backing this claim. +optional
optional string volumeName = 3;com.google.protobuf.ByteString getVolumeNameBytes()
VolumeName is the binding reference to the PersistentVolume backing this claim. +optional
optional string volumeName = 3;boolean hasStorageClassName()
Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 +optional
optional string storageClassName = 5;String getStorageClassName()
Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 +optional
optional string storageClassName = 5;com.google.protobuf.ByteString getStorageClassNameBytes()
Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 +optional
optional string storageClassName = 5;boolean hasVolumeMode()
volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. +optional
optional string volumeMode = 6;String getVolumeMode()
volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. +optional
optional string volumeMode = 6;com.google.protobuf.ByteString getVolumeModeBytes()
volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. +optional
optional string volumeMode = 6;boolean hasDataSource()
This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSource = 7;V1.TypedLocalObjectReference getDataSource()
This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSource = 7;V1.TypedLocalObjectReferenceOrBuilder getDataSourceOrBuilder()
This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSource = 7;boolean hasDataSourceRef()
Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSourceRef = 8;V1.TypedLocalObjectReference getDataSourceRef()
Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSourceRef = 8;V1.TypedLocalObjectReferenceOrBuilder getDataSourceRefOrBuilder()
Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef allows any non-core object, as well as PersistentVolumeClaim objects. * While DataSource ignores disallowed values (dropping them), DataSourceRef preserves all values, and generates an error if a disallowed value is specified. (Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSourceRef = 8;Copyright © 2023. All rights reserved.