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 requires the VolumeSnapshotDataSource alpha feature gate to be
enabled and currently VolumeSnapshot is the only supported data source.
|
V1.TypedLocalObjectReferenceOrBuilder |
getDataSourceOrBuilder()
This field requires the VolumeSnapshotDataSource alpha feature gate to be
enabled and currently VolumeSnapshot is the only supported data source.
|
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 requires the VolumeSnapshotDataSource alpha feature gate to be
enabled and currently VolumeSnapshot is the only supported data source.
|
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. This is a beta feature. +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. This is a beta feature. +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. This is a beta feature. +optional
optional string volumeMode = 6;boolean hasDataSource()
This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSource = 7;V1.TypedLocalObjectReference getDataSource()
This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSource = 7;V1.TypedLocalObjectReferenceOrBuilder getDataSourceOrBuilder()
This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. +optional
optional .k8s.io.api.core.v1.TypedLocalObjectReference dataSource = 7;Copyright © 2019. All rights reserved.