public class V1PersistentVolumeSpec extends Object
Constructor and Description |
---|
V1PersistentVolumeSpec() |
Modifier and Type | Method and Description |
---|---|
V1PersistentVolumeSpec |
accessModes(List<String> accessModes) |
V1PersistentVolumeSpec |
addAccessModesItem(String accessModesItem) |
V1PersistentVolumeSpec |
addMountOptionsItem(String mountOptionsItem) |
V1PersistentVolumeSpec |
awsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore) |
V1PersistentVolumeSpec |
azureDisk(V1AzureDiskVolumeSource azureDisk) |
V1PersistentVolumeSpec |
azureFile(V1AzureFilePersistentVolumeSource azureFile) |
V1PersistentVolumeSpec |
capacity(Map<String,Quantity> capacity) |
V1PersistentVolumeSpec |
cephfs(V1CephFSPersistentVolumeSource cephfs) |
V1PersistentVolumeSpec |
cinder(V1CinderPersistentVolumeSource cinder) |
V1PersistentVolumeSpec |
claimRef(V1ObjectReference claimRef) |
V1PersistentVolumeSpec |
csi(V1CSIPersistentVolumeSource csi) |
boolean |
equals(Object o) |
V1PersistentVolumeSpec |
fc(V1FCVolumeSource fc) |
V1PersistentVolumeSpec |
flexVolume(V1FlexPersistentVolumeSource flexVolume) |
V1PersistentVolumeSpec |
flocker(V1FlockerVolumeSource flocker) |
V1PersistentVolumeSpec |
gcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentDisk) |
List<String> |
getAccessModes()
AccessModes contains all ways the volume can be mounted.
|
V1AWSElasticBlockStoreVolumeSource |
getAwsElasticBlockStore()
AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.
|
V1AzureDiskVolumeSource |
getAzureDisk()
AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
|
V1AzureFilePersistentVolumeSource |
getAzureFile()
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
|
Map<String,Quantity> |
getCapacity()
A description of the persistent volume's resources and capacity.
|
V1CephFSPersistentVolumeSource |
getCephfs()
CephFS represents a Ceph FS mount on the host that shares a pod's lifetime
|
V1CinderPersistentVolumeSource |
getCinder()
Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
|
V1ObjectReference |
getClaimRef()
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
|
V1CSIPersistentVolumeSource |
getCsi()
CSI represents storage that handled by an external CSI driver (Beta feature).
|
V1FCVolumeSource |
getFc()
FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
|
V1FlexPersistentVolumeSource |
getFlexVolume()
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
|
V1FlockerVolumeSource |
getFlocker()
Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.
|
V1GCEPersistentDiskVolumeSource |
getGcePersistentDisk()
GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.
|
V1GlusterfsPersistentVolumeSource |
getGlusterfs()
Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.
|
V1HostPathVolumeSource |
getHostPath()
HostPath represents a directory on the host.
|
V1ISCSIPersistentVolumeSource |
getIscsi()
ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.
|
V1LocalVolumeSource |
getLocal()
Local represents directly-attached storage with node affinity
|
List<String> |
getMountOptions()
A list of mount options, e.g.
|
V1NFSVolumeSource |
getNfs()
NFS represents an NFS mount on the host.
|
V1VolumeNodeAffinity |
getNodeAffinity()
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.
|
V1PhotonPersistentDiskVolumeSource |
getPhotonPersistentDisk()
PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
|
V1PortworxVolumeSource |
getPortworxVolume()
PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
|
V1QuobyteVolumeSource |
getQuobyte()
Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
|
V1RBDPersistentVolumeSource |
getRbd()
RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
|
V1ScaleIOPersistentVolumeSource |
getScaleIO()
ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
String |
getStorageClassName()
Name of StorageClass to which this persistent volume belongs.
|
V1StorageOSPersistentVolumeSource |
getStorageos()
StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
|
String |
getVolumeMode()
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.
|
V1VsphereVirtualDiskVolumeSource |
getVsphereVolume()
VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
V1PersistentVolumeSpec |
glusterfs(V1GlusterfsPersistentVolumeSource glusterfs) |
int |
hashCode() |
V1PersistentVolumeSpec |
hostPath(V1HostPathVolumeSource hostPath) |
V1PersistentVolumeSpec |
iscsi(V1ISCSIPersistentVolumeSource iscsi) |
V1PersistentVolumeSpec |
local(V1LocalVolumeSource local) |
V1PersistentVolumeSpec |
mountOptions(List<String> mountOptions) |
V1PersistentVolumeSpec |
nfs(V1NFSVolumeSource nfs) |
V1PersistentVolumeSpec |
nodeAffinity(V1VolumeNodeAffinity nodeAffinity) |
V1PersistentVolumeSpec |
persistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy) |
V1PersistentVolumeSpec |
photonPersistentDisk(V1PhotonPersistentDiskVolumeSource photonPersistentDisk) |
V1PersistentVolumeSpec |
portworxVolume(V1PortworxVolumeSource portworxVolume) |
V1PersistentVolumeSpec |
putCapacityItem(String key,
Quantity capacityItem) |
V1PersistentVolumeSpec |
quobyte(V1QuobyteVolumeSource quobyte) |
V1PersistentVolumeSpec |
rbd(V1RBDPersistentVolumeSource rbd) |
V1PersistentVolumeSpec |
scaleIO(V1ScaleIOPersistentVolumeSource scaleIO) |
void |
setAccessModes(List<String> accessModes) |
void |
setAwsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore) |
void |
setAzureDisk(V1AzureDiskVolumeSource azureDisk) |
void |
setAzureFile(V1AzureFilePersistentVolumeSource azureFile) |
void |
setCapacity(Map<String,Quantity> capacity) |
void |
setCephfs(V1CephFSPersistentVolumeSource cephfs) |
void |
setCinder(V1CinderPersistentVolumeSource cinder) |
void |
setClaimRef(V1ObjectReference claimRef) |
void |
setCsi(V1CSIPersistentVolumeSource csi) |
void |
setFc(V1FCVolumeSource fc) |
void |
setFlexVolume(V1FlexPersistentVolumeSource flexVolume) |
void |
setFlocker(V1FlockerVolumeSource flocker) |
void |
setGcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentDisk) |
void |
setGlusterfs(V1GlusterfsPersistentVolumeSource glusterfs) |
void |
setHostPath(V1HostPathVolumeSource hostPath) |
void |
setIscsi(V1ISCSIPersistentVolumeSource iscsi) |
void |
setLocal(V1LocalVolumeSource local) |
void |
setMountOptions(List<String> mountOptions) |
void |
setNfs(V1NFSVolumeSource nfs) |
void |
setNodeAffinity(V1VolumeNodeAffinity nodeAffinity) |
void |
setPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy) |
void |
setPhotonPersistentDisk(V1PhotonPersistentDiskVolumeSource photonPersistentDisk) |
void |
setPortworxVolume(V1PortworxVolumeSource portworxVolume) |
void |
setQuobyte(V1QuobyteVolumeSource quobyte) |
void |
setRbd(V1RBDPersistentVolumeSource rbd) |
void |
setScaleIO(V1ScaleIOPersistentVolumeSource scaleIO) |
void |
setStorageClassName(String storageClassName) |
void |
setStorageos(V1StorageOSPersistentVolumeSource storageos) |
void |
setVolumeMode(String volumeMode) |
void |
setVsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume) |
V1PersistentVolumeSpec |
storageClassName(String storageClassName) |
V1PersistentVolumeSpec |
storageos(V1StorageOSPersistentVolumeSource storageos) |
String |
toString() |
V1PersistentVolumeSpec |
volumeMode(String volumeMode) |
V1PersistentVolumeSpec |
vsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume) |
public V1PersistentVolumeSpec accessModes(List<String> accessModes)
public V1PersistentVolumeSpec addAccessModesItem(String accessModesItem)
public List<String> getAccessModes()
public V1PersistentVolumeSpec awsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
public V1AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
public void setAwsElasticBlockStore(V1AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
public V1PersistentVolumeSpec azureDisk(V1AzureDiskVolumeSource azureDisk)
public V1AzureDiskVolumeSource getAzureDisk()
public void setAzureDisk(V1AzureDiskVolumeSource azureDisk)
public V1PersistentVolumeSpec azureFile(V1AzureFilePersistentVolumeSource azureFile)
public V1AzureFilePersistentVolumeSource getAzureFile()
public void setAzureFile(V1AzureFilePersistentVolumeSource azureFile)
public V1PersistentVolumeSpec capacity(Map<String,Quantity> capacity)
public V1PersistentVolumeSpec putCapacityItem(String key, Quantity capacityItem)
public Map<String,Quantity> getCapacity()
public V1PersistentVolumeSpec cephfs(V1CephFSPersistentVolumeSource cephfs)
public V1CephFSPersistentVolumeSource getCephfs()
public void setCephfs(V1CephFSPersistentVolumeSource cephfs)
public V1PersistentVolumeSpec cinder(V1CinderPersistentVolumeSource cinder)
public V1CinderPersistentVolumeSource getCinder()
public void setCinder(V1CinderPersistentVolumeSource cinder)
public V1PersistentVolumeSpec claimRef(V1ObjectReference claimRef)
public V1ObjectReference getClaimRef()
public void setClaimRef(V1ObjectReference claimRef)
public V1PersistentVolumeSpec csi(V1CSIPersistentVolumeSource csi)
public V1CSIPersistentVolumeSource getCsi()
public void setCsi(V1CSIPersistentVolumeSource csi)
public V1PersistentVolumeSpec fc(V1FCVolumeSource fc)
public V1FCVolumeSource getFc()
public void setFc(V1FCVolumeSource fc)
public V1PersistentVolumeSpec flexVolume(V1FlexPersistentVolumeSource flexVolume)
public V1FlexPersistentVolumeSource getFlexVolume()
public void setFlexVolume(V1FlexPersistentVolumeSource flexVolume)
public V1PersistentVolumeSpec flocker(V1FlockerVolumeSource flocker)
public V1FlockerVolumeSource getFlocker()
public void setFlocker(V1FlockerVolumeSource flocker)
public V1PersistentVolumeSpec gcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentDisk)
public V1GCEPersistentDiskVolumeSource getGcePersistentDisk()
public void setGcePersistentDisk(V1GCEPersistentDiskVolumeSource gcePersistentDisk)
public V1PersistentVolumeSpec glusterfs(V1GlusterfsPersistentVolumeSource glusterfs)
public V1GlusterfsPersistentVolumeSource getGlusterfs()
public void setGlusterfs(V1GlusterfsPersistentVolumeSource glusterfs)
public V1PersistentVolumeSpec hostPath(V1HostPathVolumeSource hostPath)
public V1HostPathVolumeSource getHostPath()
public void setHostPath(V1HostPathVolumeSource hostPath)
public V1PersistentVolumeSpec iscsi(V1ISCSIPersistentVolumeSource iscsi)
public V1ISCSIPersistentVolumeSource getIscsi()
public void setIscsi(V1ISCSIPersistentVolumeSource iscsi)
public V1PersistentVolumeSpec local(V1LocalVolumeSource local)
public V1LocalVolumeSource getLocal()
public void setLocal(V1LocalVolumeSource local)
public V1PersistentVolumeSpec mountOptions(List<String> mountOptions)
public V1PersistentVolumeSpec addMountOptionsItem(String mountOptionsItem)
public List<String> getMountOptions()
public V1PersistentVolumeSpec nfs(V1NFSVolumeSource nfs)
public V1NFSVolumeSource getNfs()
public void setNfs(V1NFSVolumeSource nfs)
public V1PersistentVolumeSpec nodeAffinity(V1VolumeNodeAffinity nodeAffinity)
public V1VolumeNodeAffinity getNodeAffinity()
public void setNodeAffinity(V1VolumeNodeAffinity nodeAffinity)
public V1PersistentVolumeSpec persistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
public String getPersistentVolumeReclaimPolicy()
public void setPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
public V1PersistentVolumeSpec photonPersistentDisk(V1PhotonPersistentDiskVolumeSource photonPersistentDisk)
public V1PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
public void setPhotonPersistentDisk(V1PhotonPersistentDiskVolumeSource photonPersistentDisk)
public V1PersistentVolumeSpec portworxVolume(V1PortworxVolumeSource portworxVolume)
public V1PortworxVolumeSource getPortworxVolume()
public void setPortworxVolume(V1PortworxVolumeSource portworxVolume)
public V1PersistentVolumeSpec quobyte(V1QuobyteVolumeSource quobyte)
public V1QuobyteVolumeSource getQuobyte()
public void setQuobyte(V1QuobyteVolumeSource quobyte)
public V1PersistentVolumeSpec rbd(V1RBDPersistentVolumeSource rbd)
public V1RBDPersistentVolumeSource getRbd()
public void setRbd(V1RBDPersistentVolumeSource rbd)
public V1PersistentVolumeSpec scaleIO(V1ScaleIOPersistentVolumeSource scaleIO)
public V1ScaleIOPersistentVolumeSource getScaleIO()
public void setScaleIO(V1ScaleIOPersistentVolumeSource scaleIO)
public V1PersistentVolumeSpec storageClassName(String storageClassName)
public String getStorageClassName()
public void setStorageClassName(String storageClassName)
public V1PersistentVolumeSpec storageos(V1StorageOSPersistentVolumeSource storageos)
public V1StorageOSPersistentVolumeSource getStorageos()
public void setStorageos(V1StorageOSPersistentVolumeSource storageos)
public V1PersistentVolumeSpec volumeMode(String volumeMode)
public String getVolumeMode()
public void setVolumeMode(String volumeMode)
public V1PersistentVolumeSpec vsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume)
public V1VsphereVirtualDiskVolumeSource getVsphereVolume()
public void setVsphereVolume(V1VsphereVirtualDiskVolumeSource vsphereVolume)
Copyright © 2019. All rights reserved.