public static interface V1.PersistentVolumeSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCapacity(String key)
A description of the persistent volume's resources and capacity.
|
String |
getAccessModes(int index)
AccessModes contains all ways the volume can be mounted.
|
com.google.protobuf.ByteString |
getAccessModesBytes(int index)
AccessModes contains all ways the volume can be mounted.
|
int |
getAccessModesCount()
AccessModes contains all ways the volume can be mounted.
|
List<String> |
getAccessModesList()
AccessModes contains all ways the volume can be mounted.
|
Map<String,Resource.Quantity> |
getCapacity()
Deprecated.
|
int |
getCapacityCount()
A description of the persistent volume's resources and capacity.
|
Map<String,Resource.Quantity> |
getCapacityMap()
A description of the persistent volume's resources and capacity.
|
Resource.Quantity |
getCapacityOrDefault(String key,
Resource.Quantity defaultValue)
A description of the persistent volume's resources and capacity.
|
Resource.Quantity |
getCapacityOrThrow(String key)
A description of the persistent volume's resources and capacity.
|
V1.ObjectReference |
getClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1.ObjectReferenceOrBuilder |
getClaimRefOrBuilder()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
String |
getPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim.
|
com.google.protobuf.ByteString |
getPersistentVolumeReclaimPolicyBytes()
What happens to a persistent volume when released from its claim.
|
V1.PersistentVolumeSource |
getPersistentVolumeSource()
The actual volume backing the persistent volume.
|
V1.PersistentVolumeSourceOrBuilder |
getPersistentVolumeSourceOrBuilder()
The actual volume backing the persistent volume.
|
String |
getStorageClassName()
Name of StorageClass to which this persistent volume belongs.
|
com.google.protobuf.ByteString |
getStorageClassNameBytes()
Name of StorageClass to which this persistent volume belongs.
|
boolean |
hasClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
boolean |
hasPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim.
|
boolean |
hasPersistentVolumeSource()
The actual volume backing the persistent volume.
|
boolean |
hasStorageClassName()
Name of StorageClass to which this persistent volume belongs.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getCapacityCount()
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;boolean containsCapacity(String key)
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;@Deprecated Map<String,Resource.Quantity> getCapacity()
getCapacityMap() instead.Map<String,Resource.Quantity> getCapacityMap()
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;Resource.Quantity getCapacityOrDefault(String key, Resource.Quantity defaultValue)
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;Resource.Quantity getCapacityOrThrow(String key)
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;boolean hasPersistentVolumeSource()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;V1.PersistentVolumeSource getPersistentVolumeSource()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;V1.PersistentVolumeSourceOrBuilder getPersistentVolumeSourceOrBuilder()
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;List<String> getAccessModesList()
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;int getAccessModesCount()
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;String getAccessModes(int index)
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;com.google.protobuf.ByteString getAccessModesBytes(int index)
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;boolean hasClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4;V1.ObjectReference getClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4;V1.ObjectReferenceOrBuilder getClaimRefOrBuilder()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4;boolean hasPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;String getPersistentVolumeReclaimPolicy()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;com.google.protobuf.ByteString getPersistentVolumeReclaimPolicyBytes()
What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;boolean hasStorageClassName()
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6;String getStorageClassName()
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6;com.google.protobuf.ByteString getStorageClassNameBytes()
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6;Copyright © 2018. All rights reserved.