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 |
getMountOptions(int index)
A list of mount options, e.g.
|
com.google.protobuf.ByteString |
getMountOptionsBytes(int index)
A list of mount options, e.g.
|
int |
getMountOptionsCount()
A list of mount options, e.g.
|
List<String> |
getMountOptionsList()
A list of mount options, e.g.
|
V1.VolumeNodeAffinity |
getNodeAffinity()
NodeAffinity defines constraints that limit what nodes this volume can be accessed from.
|
V1.VolumeNodeAffinityOrBuilder |
getNodeAffinityOrBuilder()
NodeAffinity defines constraints that limit what nodes this volume can be accessed from.
|
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.
|
String |
getVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem
or to remain in raw block state.
|
com.google.protobuf.ByteString |
getVolumeModeBytes()
volumeMode defines if a volume is intended to be used with a formatted filesystem
or to remain in raw block state.
|
boolean |
hasClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
boolean |
hasNodeAffinity()
NodeAffinity defines constraints that limit what nodes this volume can be accessed from.
|
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.
|
boolean |
hasVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem
or to remain in raw block state.
|
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 for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. 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 for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. 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 for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. 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;List<String> getMountOptionsList()
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;int getMountOptionsCount()
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;String getMountOptions(int index)
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;com.google.protobuf.ByteString getMountOptionsBytes(int index)
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;boolean hasVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. +optional
optional string volumeMode = 8;String getVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. +optional
optional string volumeMode = 8;com.google.protobuf.ByteString getVolumeModeBytes()
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. +optional
optional string volumeMode = 8;boolean hasNodeAffinity()
NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;V1.VolumeNodeAffinity getNodeAffinity()
NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;V1.VolumeNodeAffinityOrBuilder getNodeAffinityOrBuilder()
NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;Copyright © 2020. All rights reserved.