Package k8s.io.api.core.v1
Class Generated.VolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.VolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.VolumeSourceOrBuilder
- Enclosing class:
- Generated.VolumeSource
public static final class Generated.VolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder> implements Generated.VolumeSourceOrBuilder
Represents the source of a volume to mount. Only one of its members may be specified.
Protobuf typek8s.io.api.core.v1.VolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.VolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.VolumeSourcebuild()Generated.VolumeSourcebuildPartial()Generated.VolumeSource.Builderclear()Generated.VolumeSource.BuilderclearAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuilderclearAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.VolumeSource.BuilderclearAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.VolumeSource.BuilderclearCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuilderclearCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuilderclearConfigMap()configMap represents a configMap that should populate this volume +optionalGenerated.VolumeSource.BuilderclearCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.VolumeSource.BuilderclearDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.VolumeSource.BuilderclearEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.VolumeSource.BuilderclearEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.Generated.VolumeSource.BuilderclearFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.VolumeSource.BuilderclearFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.VolumeSource.BuilderclearFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.VolumeSource.BuilderclearGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuilderclearGitRepo()gitRepo represents a git repository at a particular revision.Generated.VolumeSource.BuilderclearGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuilderclearHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.VolumeSource.BuilderclearImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.VolumeSource.BuilderclearIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuilderclearNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.VolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.VolumeSource.BuilderclearPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.VolumeSource.BuilderclearPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.VolumeSource.BuilderclearPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuilderclearProjected()projected items for all in one resources secrets, configmaps, and downward APIGenerated.VolumeSource.BuilderclearQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuilderclearRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuilderclearScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuilderclearSecret()secret represents a secret that should populate this volume.Generated.VolumeSource.BuilderclearStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuilderclearVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VolumeSource.Builderclone()Generated.AWSElasticBlockStoreVolumeSourcegetAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AWSElasticBlockStoreVolumeSource.BuildergetAwsElasticBlockStoreBuilder()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AWSElasticBlockStoreVolumeSourceOrBuildergetAwsElasticBlockStoreOrBuilder()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.AzureDiskVolumeSourcegetAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureDiskVolumeSource.BuildergetAzureDiskBuilder()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureDiskVolumeSourceOrBuildergetAzureDiskOrBuilder()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.AzureFileVolumeSourcegetAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.AzureFileVolumeSource.BuildergetAzureFileBuilder()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.AzureFileVolumeSourceOrBuildergetAzureFileOrBuilder()azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.CephFSVolumeSourcegetCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CephFSVolumeSource.BuildergetCephfsBuilder()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CephFSVolumeSourceOrBuildergetCephfsOrBuilder()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.CinderVolumeSourcegetCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.CinderVolumeSource.BuildergetCinderBuilder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.CinderVolumeSourceOrBuildergetCinderOrBuilder()cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.ConfigMapVolumeSourcegetConfigMap()configMap represents a configMap that should populate this volume +optionalGenerated.ConfigMapVolumeSource.BuildergetConfigMapBuilder()configMap represents a configMap that should populate this volume +optionalGenerated.ConfigMapVolumeSourceOrBuildergetConfigMapOrBuilder()configMap represents a configMap that should populate this volume +optionalGenerated.CSIVolumeSourcegetCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.CSIVolumeSource.BuildergetCsiBuilder()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.CSIVolumeSourceOrBuildergetCsiOrBuilder()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.VolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.DownwardAPIVolumeSourcegetDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.DownwardAPIVolumeSource.BuildergetDownwardAPIBuilder()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.DownwardAPIVolumeSourceOrBuildergetDownwardAPIOrBuilder()downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.EmptyDirVolumeSourcegetEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EmptyDirVolumeSource.BuildergetEmptyDirBuilder()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EmptyDirVolumeSourceOrBuildergetEmptyDirOrBuilder()emptyDir represents a temporary directory that shares a pod's lifetime.Generated.EphemeralVolumeSourcegetEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.Generated.EphemeralVolumeSource.BuildergetEphemeralBuilder()ephemeral represents a volume that is handled by a cluster storage driver.Generated.EphemeralVolumeSourceOrBuildergetEphemeralOrBuilder()ephemeral represents a volume that is handled by a cluster storage driver.Generated.FCVolumeSourcegetFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FCVolumeSource.BuildergetFcBuilder()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FCVolumeSourceOrBuildergetFcOrBuilder()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.FlexVolumeSourcegetFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlexVolumeSource.BuildergetFlexVolumeBuilder()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlexVolumeSourceOrBuildergetFlexVolumeOrBuilder()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.FlockerVolumeSourcegetFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.FlockerVolumeSource.BuildergetFlockerBuilder()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.FlockerVolumeSourceOrBuildergetFlockerOrBuilder()flocker represents a Flocker volume attached to a kubelet's host machine.Generated.GCEPersistentDiskVolumeSourcegetGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GCEPersistentDiskVolumeSource.BuildergetGcePersistentDiskBuilder()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GCEPersistentDiskVolumeSourceOrBuildergetGcePersistentDiskOrBuilder()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.GitRepoVolumeSourcegetGitRepo()gitRepo represents a git repository at a particular revision.Generated.GitRepoVolumeSource.BuildergetGitRepoBuilder()gitRepo represents a git repository at a particular revision.Generated.GitRepoVolumeSourceOrBuildergetGitRepoOrBuilder()gitRepo represents a git repository at a particular revision.Generated.GlusterfsVolumeSourcegetGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.GlusterfsVolumeSource.BuildergetGlusterfsBuilder()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.GlusterfsVolumeSourceOrBuildergetGlusterfsOrBuilder()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.HostPathVolumeSourcegetHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.HostPathVolumeSource.BuildergetHostPathBuilder()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.HostPathVolumeSourceOrBuildergetHostPathOrBuilder()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.ImageVolumeSourcegetImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ImageVolumeSource.BuildergetImageBuilder()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ImageVolumeSourceOrBuildergetImageOrBuilder()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.ISCSIVolumeSourcegetIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.ISCSIVolumeSource.BuildergetIscsiBuilder()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.ISCSIVolumeSourceOrBuildergetIscsiOrBuilder()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.NFSVolumeSourcegetNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.NFSVolumeSource.BuildergetNfsBuilder()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.NFSVolumeSourceOrBuildergetNfsOrBuilder()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.PersistentVolumeClaimVolumeSourcegetPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PersistentVolumeClaimVolumeSource.BuildergetPersistentVolumeClaimBuilder()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PersistentVolumeClaimVolumeSourceOrBuildergetPersistentVolumeClaimOrBuilder()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.PhotonPersistentDiskVolumeSourcegetPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PhotonPersistentDiskVolumeSource.BuildergetPhotonPersistentDiskBuilder()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PhotonPersistentDiskVolumeSourceOrBuildergetPhotonPersistentDiskOrBuilder()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.PortworxVolumeSourcegetPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.PortworxVolumeSource.BuildergetPortworxVolumeBuilder()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.PortworxVolumeSourceOrBuildergetPortworxVolumeOrBuilder()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.ProjectedVolumeSourcegetProjected()projected items for all in one resources secrets, configmaps, and downward APIGenerated.ProjectedVolumeSource.BuildergetProjectedBuilder()projected items for all in one resources secrets, configmaps, and downward APIGenerated.ProjectedVolumeSourceOrBuildergetProjectedOrBuilder()projected items for all in one resources secrets, configmaps, and downward APIGenerated.QuobyteVolumeSourcegetQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.QuobyteVolumeSource.BuildergetQuobyteBuilder()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.QuobyteVolumeSourceOrBuildergetQuobyteOrBuilder()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.RBDVolumeSourcegetRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.RBDVolumeSource.BuildergetRbdBuilder()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.RBDVolumeSourceOrBuildergetRbdOrBuilder()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.ScaleIOVolumeSourcegetScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.ScaleIOVolumeSource.BuildergetScaleIOBuilder()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.ScaleIOVolumeSourceOrBuildergetScaleIOOrBuilder()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.SecretVolumeSourcegetSecret()secret represents a secret that should populate this volume.Generated.SecretVolumeSource.BuildergetSecretBuilder()secret represents a secret that should populate this volume.Generated.SecretVolumeSourceOrBuildergetSecretOrBuilder()secret represents a secret that should populate this volume.Generated.StorageOSVolumeSourcegetStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.StorageOSVolumeSource.BuildergetStorageosBuilder()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.StorageOSVolumeSourceOrBuildergetStorageosOrBuilder()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VsphereVirtualDiskVolumeSourcegetVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VsphereVirtualDiskVolumeSource.BuildergetVsphereVolumeBuilder()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VsphereVirtualDiskVolumeSourceOrBuildergetVsphereVolumeOrBuilder()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.booleanhasAwsElasticBlockStore()awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasAzureDisk()azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.booleanhasAzureFile()azureFile represents an Azure File Service mount on the host and bind mount to the pod.booleanhasCephfs()cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.booleanhasCinder()cinder represents a cinder volume attached and mounted on kubelets host machine.booleanhasConfigMap()configMap represents a configMap that should populate this volume +optionalbooleanhasCsi()csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.booleanhasDownwardAPI()downwardAPI represents downward API about the pod that should populate this volume +optionalbooleanhasEmptyDir()emptyDir represents a temporary directory that shares a pod's lifetime.booleanhasEphemeral()ephemeral represents a volume that is handled by a cluster storage driver.booleanhasFc()fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasFlexVolume()flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.booleanhasFlocker()flocker represents a Flocker volume attached to a kubelet's host machine.booleanhasGcePersistentDisk()gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasGitRepo()gitRepo represents a git repository at a particular revision.booleanhasGlusterfs()glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.booleanhasHostPath()hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.booleanhasImage()image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.booleanhasIscsi()iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.booleanhasNfs()nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalbooleanhasPersistentVolumeClaim()persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.booleanhasPhotonPersistentDisk()photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.booleanhasPortworxVolume()portworxVolume represents a portworx volume attached and mounted on kubelets host machine.booleanhasProjected()projected items for all in one resources secrets, configmaps, and downward APIbooleanhasQuobyte()quobyte represents a Quobyte mount on the host that shares a pod's lifetime.booleanhasRbd()rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.booleanhasScaleIO()scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.booleanhasSecret()secret represents a secret that should populate this volume.booleanhasStorageos()storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.booleanhasVsphereVolume()vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.VolumeSource.BuildermergeAwsElasticBlockStore(Generated.AWSElasticBlockStoreVolumeSource value)awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildermergeAzureDisk(Generated.AzureDiskVolumeSource value)azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.VolumeSource.BuildermergeAzureFile(Generated.AzureFileVolumeSource value)azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.VolumeSource.BuildermergeCephfs(Generated.CephFSVolumeSource value)cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildermergeCinder(Generated.CinderVolumeSource value)cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildermergeConfigMap(Generated.ConfigMapVolumeSource value)configMap represents a configMap that should populate this volume +optionalGenerated.VolumeSource.BuildermergeCsi(Generated.CSIVolumeSource value)csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.VolumeSource.BuildermergeDownwardAPI(Generated.DownwardAPIVolumeSource value)downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.VolumeSource.BuildermergeEmptyDir(Generated.EmptyDirVolumeSource value)emptyDir represents a temporary directory that shares a pod's lifetime.Generated.VolumeSource.BuildermergeEphemeral(Generated.EphemeralVolumeSource value)ephemeral represents a volume that is handled by a cluster storage driver.Generated.VolumeSource.BuildermergeFc(Generated.FCVolumeSource value)fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildermergeFlexVolume(Generated.FlexVolumeSource value)flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.VolumeSource.BuildermergeFlocker(Generated.FlockerVolumeSource value)flocker represents a Flocker volume attached to a kubelet's host machine.Generated.VolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.VolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.VolumeSource.BuildermergeFrom(Generated.VolumeSource other)Generated.VolumeSource.BuildermergeGcePersistentDisk(Generated.GCEPersistentDiskVolumeSource value)gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildermergeGitRepo(Generated.GitRepoVolumeSource value)gitRepo represents a git repository at a particular revision.Generated.VolumeSource.BuildermergeGlusterfs(Generated.GlusterfsVolumeSource value)glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildermergeHostPath(Generated.HostPathVolumeSource value)hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.VolumeSource.BuildermergeImage(Generated.ImageVolumeSource value)image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.VolumeSource.BuildermergeIscsi(Generated.ISCSIVolumeSource value)iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildermergeNfs(Generated.NFSVolumeSource value)nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.VolumeSource.BuildermergePersistentVolumeClaim(Generated.PersistentVolumeClaimVolumeSource value)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.VolumeSource.BuildermergePhotonPersistentDisk(Generated.PhotonPersistentDiskVolumeSource value)photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.VolumeSource.BuildermergePortworxVolume(Generated.PortworxVolumeSource value)portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildermergeProjected(Generated.ProjectedVolumeSource value)projected items for all in one resources secrets, configmaps, and downward APIGenerated.VolumeSource.BuildermergeQuobyte(Generated.QuobyteVolumeSource value)quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildermergeRbd(Generated.RBDVolumeSource value)rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildermergeScaleIO(Generated.ScaleIOVolumeSource value)scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuildermergeSecret(Generated.SecretVolumeSource value)secret represents a secret that should populate this volume.Generated.VolumeSource.BuildermergeStorageos(Generated.StorageOSVolumeSource value)storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.VolumeSource.BuildermergeVsphereVolume(Generated.VsphereVirtualDiskVolumeSource value)vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetAwsElasticBlockStore(Generated.AWSElasticBlockStoreVolumeSource value)awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetAwsElasticBlockStore(Generated.AWSElasticBlockStoreVolumeSource.Builder builderForValue)awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetAzureDisk(Generated.AzureDiskVolumeSource value)azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.VolumeSource.BuildersetAzureDisk(Generated.AzureDiskVolumeSource.Builder builderForValue)azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.Generated.VolumeSource.BuildersetAzureFile(Generated.AzureFileVolumeSource value)azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.VolumeSource.BuildersetAzureFile(Generated.AzureFileVolumeSource.Builder builderForValue)azureFile represents an Azure File Service mount on the host and bind mount to the pod.Generated.VolumeSource.BuildersetCephfs(Generated.CephFSVolumeSource value)cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetCephfs(Generated.CephFSVolumeSource.Builder builderForValue)cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetCinder(Generated.CinderVolumeSource value)cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetCinder(Generated.CinderVolumeSource.Builder builderForValue)cinder represents a cinder volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetConfigMap(Generated.ConfigMapVolumeSource value)configMap represents a configMap that should populate this volume +optionalGenerated.VolumeSource.BuildersetConfigMap(Generated.ConfigMapVolumeSource.Builder builderForValue)configMap represents a configMap that should populate this volume +optionalGenerated.VolumeSource.BuildersetCsi(Generated.CSIVolumeSource value)csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.VolumeSource.BuildersetCsi(Generated.CSIVolumeSource.Builder builderForValue)csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.Generated.VolumeSource.BuildersetDownwardAPI(Generated.DownwardAPIVolumeSource value)downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.VolumeSource.BuildersetDownwardAPI(Generated.DownwardAPIVolumeSource.Builder builderForValue)downwardAPI represents downward API about the pod that should populate this volume +optionalGenerated.VolumeSource.BuildersetEmptyDir(Generated.EmptyDirVolumeSource value)emptyDir represents a temporary directory that shares a pod's lifetime.Generated.VolumeSource.BuildersetEmptyDir(Generated.EmptyDirVolumeSource.Builder builderForValue)emptyDir represents a temporary directory that shares a pod's lifetime.Generated.VolumeSource.BuildersetEphemeral(Generated.EphemeralVolumeSource value)ephemeral represents a volume that is handled by a cluster storage driver.Generated.VolumeSource.BuildersetEphemeral(Generated.EphemeralVolumeSource.Builder builderForValue)ephemeral represents a volume that is handled by a cluster storage driver.Generated.VolumeSource.BuildersetFc(Generated.FCVolumeSource value)fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetFc(Generated.FCVolumeSource.Builder builderForValue)fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.VolumeSource.BuildersetFlexVolume(Generated.FlexVolumeSource value)flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.VolumeSource.BuildersetFlexVolume(Generated.FlexVolumeSource.Builder builderForValue)flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Generated.VolumeSource.BuildersetFlocker(Generated.FlockerVolumeSource value)flocker represents a Flocker volume attached to a kubelet's host machine.Generated.VolumeSource.BuildersetFlocker(Generated.FlockerVolumeSource.Builder builderForValue)flocker represents a Flocker volume attached to a kubelet's host machine.Generated.VolumeSource.BuildersetGcePersistentDisk(Generated.GCEPersistentDiskVolumeSource value)gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetGcePersistentDisk(Generated.GCEPersistentDiskVolumeSource.Builder builderForValue)gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetGitRepo(Generated.GitRepoVolumeSource value)gitRepo represents a git repository at a particular revision.Generated.VolumeSource.BuildersetGitRepo(Generated.GitRepoVolumeSource.Builder builderForValue)gitRepo represents a git repository at a particular revision.Generated.VolumeSource.BuildersetGlusterfs(Generated.GlusterfsVolumeSource value)glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetGlusterfs(Generated.GlusterfsVolumeSource.Builder builderForValue)glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetHostPath(Generated.HostPathVolumeSource value)hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.VolumeSource.BuildersetHostPath(Generated.HostPathVolumeSource.Builder builderForValue)hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.Generated.VolumeSource.BuildersetImage(Generated.ImageVolumeSource value)image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.VolumeSource.BuildersetImage(Generated.ImageVolumeSource.Builder builderForValue)image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.Generated.VolumeSource.BuildersetIscsi(Generated.ISCSIVolumeSource value)iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetIscsi(Generated.ISCSIVolumeSource.Builder builderForValue)iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.Generated.VolumeSource.BuildersetNfs(Generated.NFSVolumeSource value)nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.VolumeSource.BuildersetNfs(Generated.NFSVolumeSource.Builder builderForValue)nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optionalGenerated.VolumeSource.BuildersetPersistentVolumeClaim(Generated.PersistentVolumeClaimVolumeSource value)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.VolumeSource.BuildersetPersistentVolumeClaim(Generated.PersistentVolumeClaimVolumeSource.Builder builderForValue)persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.Generated.VolumeSource.BuildersetPhotonPersistentDisk(Generated.PhotonPersistentDiskVolumeSource value)photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetPhotonPersistentDisk(Generated.PhotonPersistentDiskVolumeSource.Builder builderForValue)photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetPortworxVolume(Generated.PortworxVolumeSource value)portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetPortworxVolume(Generated.PortworxVolumeSource.Builder builderForValue)portworxVolume represents a portworx volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetProjected(Generated.ProjectedVolumeSource value)projected items for all in one resources secrets, configmaps, and downward APIGenerated.VolumeSource.BuildersetProjected(Generated.ProjectedVolumeSource.Builder builderForValue)projected items for all in one resources secrets, configmaps, and downward APIGenerated.VolumeSource.BuildersetQuobyte(Generated.QuobyteVolumeSource value)quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetQuobyte(Generated.QuobyteVolumeSource.Builder builderForValue)quobyte represents a Quobyte mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetRbd(Generated.RBDVolumeSource value)rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetRbd(Generated.RBDVolumeSource.Builder builderForValue)rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.Generated.VolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.VolumeSource.BuildersetScaleIO(Generated.ScaleIOVolumeSource value)scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuildersetScaleIO(Generated.ScaleIOVolumeSource.Builder builderForValue)scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuildersetSecret(Generated.SecretVolumeSource value)secret represents a secret that should populate this volume.Generated.VolumeSource.BuildersetSecret(Generated.SecretVolumeSource.Builder builderForValue)secret represents a secret that should populate this volume.Generated.VolumeSource.BuildersetStorageos(Generated.StorageOSVolumeSource value)storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuildersetStorageos(Generated.StorageOSVolumeSource.Builder builderForValue)storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.Generated.VolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.VolumeSource.BuildersetVsphereVolume(Generated.VsphereVirtualDiskVolumeSource value)vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.Generated.VolumeSource.BuildersetVsphereVolume(Generated.VsphereVirtualDiskVolumeSource.Builder builderForValue)vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
clear
public Generated.VolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.VolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.VolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.VolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.VolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
setField
public Generated.VolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
clearField
public Generated.VolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
clearOneof
public Generated.VolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
setRepeatedField
public Generated.VolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
addRepeatedField
public Generated.VolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
mergeFrom
public Generated.VolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.VolumeSource.Builder>
-
mergeFrom
public Generated.VolumeSource.Builder mergeFrom(Generated.VolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
mergeFrom
public Generated.VolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.VolumeSource.Builder>- Throws:
IOException
-
hasHostPath
public boolean hasHostPath()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
hasHostPathin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the hostPath field is set.
-
getHostPath
public Generated.HostPathVolumeSource getHostPath()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
getHostPathin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The hostPath.
-
setHostPath
public Generated.VolumeSource.Builder setHostPath(Generated.HostPathVolumeSource value)
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
-
setHostPath
public Generated.VolumeSource.Builder setHostPath(Generated.HostPathVolumeSource.Builder builderForValue)
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
-
mergeHostPath
public Generated.VolumeSource.Builder mergeHostPath(Generated.HostPathVolumeSource value)
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
-
clearHostPath
public Generated.VolumeSource.Builder clearHostPath()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
-
getHostPathBuilder
public Generated.HostPathVolumeSource.Builder getHostPathBuilder()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;
-
getHostPathOrBuilder
public Generated.HostPathVolumeSourceOrBuilder getHostPathOrBuilder()
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write. +optional
optional .k8s.io.api.core.v1.HostPathVolumeSource hostPath = 1;- Specified by:
getHostPathOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasEmptyDir
public boolean hasEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
hasEmptyDirin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the emptyDir field is set.
-
getEmptyDir
public Generated.EmptyDirVolumeSource getEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
getEmptyDirin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The emptyDir.
-
setEmptyDir
public Generated.VolumeSource.Builder setEmptyDir(Generated.EmptyDirVolumeSource value)
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
-
setEmptyDir
public Generated.VolumeSource.Builder setEmptyDir(Generated.EmptyDirVolumeSource.Builder builderForValue)
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
-
mergeEmptyDir
public Generated.VolumeSource.Builder mergeEmptyDir(Generated.EmptyDirVolumeSource value)
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
-
clearEmptyDir
public Generated.VolumeSource.Builder clearEmptyDir()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
-
getEmptyDirBuilder
public Generated.EmptyDirVolumeSource.Builder getEmptyDirBuilder()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;
-
getEmptyDirOrBuilder
public Generated.EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()
emptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir +optional
optional .k8s.io.api.core.v1.EmptyDirVolumeSource emptyDir = 2;- Specified by:
getEmptyDirOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasGcePersistentDisk
public boolean hasGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
hasGcePersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the gcePersistentDisk field is set.
-
getGcePersistentDisk
public Generated.GCEPersistentDiskVolumeSource getGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
getGcePersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The gcePersistentDisk.
-
setGcePersistentDisk
public Generated.VolumeSource.Builder setGcePersistentDisk(Generated.GCEPersistentDiskVolumeSource value)
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
-
setGcePersistentDisk
public Generated.VolumeSource.Builder setGcePersistentDisk(Generated.GCEPersistentDiskVolumeSource.Builder builderForValue)
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
-
mergeGcePersistentDisk
public Generated.VolumeSource.Builder mergeGcePersistentDisk(Generated.GCEPersistentDiskVolumeSource value)
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
-
clearGcePersistentDisk
public Generated.VolumeSource.Builder clearGcePersistentDisk()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
-
getGcePersistentDiskBuilder
public Generated.GCEPersistentDiskVolumeSource.Builder getGcePersistentDiskBuilder()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;
-
getGcePersistentDiskOrBuilder
public Generated.GCEPersistentDiskVolumeSourceOrBuilder getGcePersistentDiskOrBuilder()
gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk +optional
optional .k8s.io.api.core.v1.GCEPersistentDiskVolumeSource gcePersistentDisk = 3;- Specified by:
getGcePersistentDiskOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasAwsElasticBlockStore
public boolean hasAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
hasAwsElasticBlockStorein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the awsElasticBlockStore field is set.
-
getAwsElasticBlockStore
public Generated.AWSElasticBlockStoreVolumeSource getAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
getAwsElasticBlockStorein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The awsElasticBlockStore.
-
setAwsElasticBlockStore
public Generated.VolumeSource.Builder setAwsElasticBlockStore(Generated.AWSElasticBlockStoreVolumeSource value)
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
-
setAwsElasticBlockStore
public Generated.VolumeSource.Builder setAwsElasticBlockStore(Generated.AWSElasticBlockStoreVolumeSource.Builder builderForValue)
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
-
mergeAwsElasticBlockStore
public Generated.VolumeSource.Builder mergeAwsElasticBlockStore(Generated.AWSElasticBlockStoreVolumeSource value)
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
-
clearAwsElasticBlockStore
public Generated.VolumeSource.Builder clearAwsElasticBlockStore()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
-
getAwsElasticBlockStoreBuilder
public Generated.AWSElasticBlockStoreVolumeSource.Builder getAwsElasticBlockStoreBuilder()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;
-
getAwsElasticBlockStoreOrBuilder
public Generated.AWSElasticBlockStoreVolumeSourceOrBuilder getAwsElasticBlockStoreOrBuilder()
awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional .k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4;- Specified by:
getAwsElasticBlockStoreOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasGitRepo
public boolean hasGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
hasGitRepoin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the gitRepo field is set.
-
getGitRepo
public Generated.GitRepoVolumeSource getGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
getGitRepoin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The gitRepo.
-
setGitRepo
public Generated.VolumeSource.Builder setGitRepo(Generated.GitRepoVolumeSource value)
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
-
setGitRepo
public Generated.VolumeSource.Builder setGitRepo(Generated.GitRepoVolumeSource.Builder builderForValue)
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
-
mergeGitRepo
public Generated.VolumeSource.Builder mergeGitRepo(Generated.GitRepoVolumeSource value)
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
-
clearGitRepo
public Generated.VolumeSource.Builder clearGitRepo()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
-
getGitRepoBuilder
public Generated.GitRepoVolumeSource.Builder getGitRepoBuilder()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;
-
getGitRepoOrBuilder
public Generated.GitRepoVolumeSourceOrBuilder getGitRepoOrBuilder()
gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. +optional
optional .k8s.io.api.core.v1.GitRepoVolumeSource gitRepo = 5;- Specified by:
getGitRepoOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasSecret
public boolean hasSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
hasSecretin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the secret field is set.
-
getSecret
public Generated.SecretVolumeSource getSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
getSecretin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The secret.
-
setSecret
public Generated.VolumeSource.Builder setSecret(Generated.SecretVolumeSource value)
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
-
setSecret
public Generated.VolumeSource.Builder setSecret(Generated.SecretVolumeSource.Builder builderForValue)
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
-
mergeSecret
public Generated.VolumeSource.Builder mergeSecret(Generated.SecretVolumeSource value)
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
-
clearSecret
public Generated.VolumeSource.Builder clearSecret()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
-
getSecretBuilder
public Generated.SecretVolumeSource.Builder getSecretBuilder()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;
-
getSecretOrBuilder
public Generated.SecretVolumeSourceOrBuilder getSecretOrBuilder()
secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret +optional
optional .k8s.io.api.core.v1.SecretVolumeSource secret = 6;- Specified by:
getSecretOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasNfs
public boolean hasNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
hasNfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the nfs field is set.
-
getNfs
public Generated.NFSVolumeSource getNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
getNfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The nfs.
-
setNfs
public Generated.VolumeSource.Builder setNfs(Generated.NFSVolumeSource value)
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
-
setNfs
public Generated.VolumeSource.Builder setNfs(Generated.NFSVolumeSource.Builder builderForValue)
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
-
mergeNfs
public Generated.VolumeSource.Builder mergeNfs(Generated.NFSVolumeSource value)
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
-
clearNfs
public Generated.VolumeSource.Builder clearNfs()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
-
getNfsBuilder
public Generated.NFSVolumeSource.Builder getNfsBuilder()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;
-
getNfsOrBuilder
public Generated.NFSVolumeSourceOrBuilder getNfsOrBuilder()
nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional .k8s.io.api.core.v1.NFSVolumeSource nfs = 7;- Specified by:
getNfsOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasIscsi
public boolean hasIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
hasIscsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the iscsi field is set.
-
getIscsi
public Generated.ISCSIVolumeSource getIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
getIscsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The iscsi.
-
setIscsi
public Generated.VolumeSource.Builder setIscsi(Generated.ISCSIVolumeSource value)
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
-
setIscsi
public Generated.VolumeSource.Builder setIscsi(Generated.ISCSIVolumeSource.Builder builderForValue)
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
-
mergeIscsi
public Generated.VolumeSource.Builder mergeIscsi(Generated.ISCSIVolumeSource value)
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
-
clearIscsi
public Generated.VolumeSource.Builder clearIscsi()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
-
getIscsiBuilder
public Generated.ISCSIVolumeSource.Builder getIscsiBuilder()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;
-
getIscsiOrBuilder
public Generated.ISCSIVolumeSourceOrBuilder getIscsiOrBuilder()
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md +optional
optional .k8s.io.api.core.v1.ISCSIVolumeSource iscsi = 8;- Specified by:
getIscsiOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasGlusterfs
public boolean hasGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
hasGlusterfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the glusterfs field is set.
-
getGlusterfs
public Generated.GlusterfsVolumeSource getGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
getGlusterfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The glusterfs.
-
setGlusterfs
public Generated.VolumeSource.Builder setGlusterfs(Generated.GlusterfsVolumeSource value)
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
-
setGlusterfs
public Generated.VolumeSource.Builder setGlusterfs(Generated.GlusterfsVolumeSource.Builder builderForValue)
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
-
mergeGlusterfs
public Generated.VolumeSource.Builder mergeGlusterfs(Generated.GlusterfsVolumeSource value)
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
-
clearGlusterfs
public Generated.VolumeSource.Builder clearGlusterfs()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
-
getGlusterfsBuilder
public Generated.GlusterfsVolumeSource.Builder getGlusterfsBuilder()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;
-
getGlusterfsOrBuilder
public Generated.GlusterfsVolumeSourceOrBuilder getGlusterfsOrBuilder()
glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md +optional
optional .k8s.io.api.core.v1.GlusterfsVolumeSource glusterfs = 9;- Specified by:
getGlusterfsOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasPersistentVolumeClaim
public boolean hasPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
hasPersistentVolumeClaimin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the persistentVolumeClaim field is set.
-
getPersistentVolumeClaim
public Generated.PersistentVolumeClaimVolumeSource getPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
getPersistentVolumeClaimin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The persistentVolumeClaim.
-
setPersistentVolumeClaim
public Generated.VolumeSource.Builder setPersistentVolumeClaim(Generated.PersistentVolumeClaimVolumeSource value)
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
-
setPersistentVolumeClaim
public Generated.VolumeSource.Builder setPersistentVolumeClaim(Generated.PersistentVolumeClaimVolumeSource.Builder builderForValue)
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
-
mergePersistentVolumeClaim
public Generated.VolumeSource.Builder mergePersistentVolumeClaim(Generated.PersistentVolumeClaimVolumeSource value)
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
-
clearPersistentVolumeClaim
public Generated.VolumeSource.Builder clearPersistentVolumeClaim()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
-
getPersistentVolumeClaimBuilder
public Generated.PersistentVolumeClaimVolumeSource.Builder getPersistentVolumeClaimBuilder()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;
-
getPersistentVolumeClaimOrBuilder
public Generated.PersistentVolumeClaimVolumeSourceOrBuilder getPersistentVolumeClaimOrBuilder()
persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims +optional
optional .k8s.io.api.core.v1.PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10;- Specified by:
getPersistentVolumeClaimOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasRbd
public boolean hasRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
hasRbdin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the rbd field is set.
-
getRbd
public Generated.RBDVolumeSource getRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
getRbdin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The rbd.
-
setRbd
public Generated.VolumeSource.Builder setRbd(Generated.RBDVolumeSource value)
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
-
setRbd
public Generated.VolumeSource.Builder setRbd(Generated.RBDVolumeSource.Builder builderForValue)
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
-
mergeRbd
public Generated.VolumeSource.Builder mergeRbd(Generated.RBDVolumeSource value)
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
-
clearRbd
public Generated.VolumeSource.Builder clearRbd()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
-
getRbdBuilder
public Generated.RBDVolumeSource.Builder getRbdBuilder()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;
-
getRbdOrBuilder
public Generated.RBDVolumeSourceOrBuilder getRbdOrBuilder()
rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md +optional
optional .k8s.io.api.core.v1.RBDVolumeSource rbd = 11;- Specified by:
getRbdOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasFlexVolume
public boolean hasFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
hasFlexVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the flexVolume field is set.
-
getFlexVolume
public Generated.FlexVolumeSource getFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
getFlexVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The flexVolume.
-
setFlexVolume
public Generated.VolumeSource.Builder setFlexVolume(Generated.FlexVolumeSource value)
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
-
setFlexVolume
public Generated.VolumeSource.Builder setFlexVolume(Generated.FlexVolumeSource.Builder builderForValue)
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
-
mergeFlexVolume
public Generated.VolumeSource.Builder mergeFlexVolume(Generated.FlexVolumeSource value)
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
-
clearFlexVolume
public Generated.VolumeSource.Builder clearFlexVolume()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
-
getFlexVolumeBuilder
public Generated.FlexVolumeSource.Builder getFlexVolumeBuilder()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;
-
getFlexVolumeOrBuilder
public Generated.FlexVolumeSourceOrBuilder getFlexVolumeOrBuilder()
flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. +optional
optional .k8s.io.api.core.v1.FlexVolumeSource flexVolume = 12;- Specified by:
getFlexVolumeOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasCinder
public boolean hasCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
hasCinderin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the cinder field is set.
-
getCinder
public Generated.CinderVolumeSource getCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
getCinderin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The cinder.
-
setCinder
public Generated.VolumeSource.Builder setCinder(Generated.CinderVolumeSource value)
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
-
setCinder
public Generated.VolumeSource.Builder setCinder(Generated.CinderVolumeSource.Builder builderForValue)
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
-
mergeCinder
public Generated.VolumeSource.Builder mergeCinder(Generated.CinderVolumeSource value)
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
-
clearCinder
public Generated.VolumeSource.Builder clearCinder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
-
getCinderBuilder
public Generated.CinderVolumeSource.Builder getCinderBuilder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;
-
getCinderOrBuilder
public Generated.CinderVolumeSourceOrBuilder getCinderOrBuilder()
cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md +optional
optional .k8s.io.api.core.v1.CinderVolumeSource cinder = 13;- Specified by:
getCinderOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasCephfs
public boolean hasCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
hasCephfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the cephfs field is set.
-
getCephfs
public Generated.CephFSVolumeSource getCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
getCephfsin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The cephfs.
-
setCephfs
public Generated.VolumeSource.Builder setCephfs(Generated.CephFSVolumeSource value)
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
-
setCephfs
public Generated.VolumeSource.Builder setCephfs(Generated.CephFSVolumeSource.Builder builderForValue)
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
-
mergeCephfs
public Generated.VolumeSource.Builder mergeCephfs(Generated.CephFSVolumeSource value)
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
-
clearCephfs
public Generated.VolumeSource.Builder clearCephfs()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
-
getCephfsBuilder
public Generated.CephFSVolumeSource.Builder getCephfsBuilder()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;
-
getCephfsOrBuilder
public Generated.CephFSVolumeSourceOrBuilder getCephfsOrBuilder()
cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. +optional
optional .k8s.io.api.core.v1.CephFSVolumeSource cephfs = 14;- Specified by:
getCephfsOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasFlocker
public boolean hasFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
hasFlockerin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the flocker field is set.
-
getFlocker
public Generated.FlockerVolumeSource getFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
getFlockerin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The flocker.
-
setFlocker
public Generated.VolumeSource.Builder setFlocker(Generated.FlockerVolumeSource value)
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
-
setFlocker
public Generated.VolumeSource.Builder setFlocker(Generated.FlockerVolumeSource.Builder builderForValue)
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
-
mergeFlocker
public Generated.VolumeSource.Builder mergeFlocker(Generated.FlockerVolumeSource value)
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
-
clearFlocker
public Generated.VolumeSource.Builder clearFlocker()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
-
getFlockerBuilder
public Generated.FlockerVolumeSource.Builder getFlockerBuilder()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;
-
getFlockerOrBuilder
public Generated.FlockerVolumeSourceOrBuilder getFlockerOrBuilder()
flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. +optional
optional .k8s.io.api.core.v1.FlockerVolumeSource flocker = 15;- Specified by:
getFlockerOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasDownwardAPI
public boolean hasDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
hasDownwardAPIin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the downwardAPI field is set.
-
getDownwardAPI
public Generated.DownwardAPIVolumeSource getDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
getDownwardAPIin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The downwardAPI.
-
setDownwardAPI
public Generated.VolumeSource.Builder setDownwardAPI(Generated.DownwardAPIVolumeSource value)
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
-
setDownwardAPI
public Generated.VolumeSource.Builder setDownwardAPI(Generated.DownwardAPIVolumeSource.Builder builderForValue)
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
-
mergeDownwardAPI
public Generated.VolumeSource.Builder mergeDownwardAPI(Generated.DownwardAPIVolumeSource value)
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
-
clearDownwardAPI
public Generated.VolumeSource.Builder clearDownwardAPI()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
-
getDownwardAPIBuilder
public Generated.DownwardAPIVolumeSource.Builder getDownwardAPIBuilder()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;
-
getDownwardAPIOrBuilder
public Generated.DownwardAPIVolumeSourceOrBuilder getDownwardAPIOrBuilder()
downwardAPI represents downward API about the pod that should populate this volume +optional
optional .k8s.io.api.core.v1.DownwardAPIVolumeSource downwardAPI = 16;- Specified by:
getDownwardAPIOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasFc
public boolean hasFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
hasFcin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the fc field is set.
-
getFc
public Generated.FCVolumeSource getFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
getFcin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The fc.
-
setFc
public Generated.VolumeSource.Builder setFc(Generated.FCVolumeSource value)
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
-
setFc
public Generated.VolumeSource.Builder setFc(Generated.FCVolumeSource.Builder builderForValue)
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
-
mergeFc
public Generated.VolumeSource.Builder mergeFc(Generated.FCVolumeSource value)
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
-
clearFc
public Generated.VolumeSource.Builder clearFc()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
-
getFcBuilder
public Generated.FCVolumeSource.Builder getFcBuilder()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;
-
getFcOrBuilder
public Generated.FCVolumeSourceOrBuilder getFcOrBuilder()
fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. +optional
optional .k8s.io.api.core.v1.FCVolumeSource fc = 17;- Specified by:
getFcOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasAzureFile
public boolean hasAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
hasAzureFilein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the azureFile field is set.
-
getAzureFile
public Generated.AzureFileVolumeSource getAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
getAzureFilein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The azureFile.
-
setAzureFile
public Generated.VolumeSource.Builder setAzureFile(Generated.AzureFileVolumeSource value)
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
-
setAzureFile
public Generated.VolumeSource.Builder setAzureFile(Generated.AzureFileVolumeSource.Builder builderForValue)
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
-
mergeAzureFile
public Generated.VolumeSource.Builder mergeAzureFile(Generated.AzureFileVolumeSource value)
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
-
clearAzureFile
public Generated.VolumeSource.Builder clearAzureFile()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
-
getAzureFileBuilder
public Generated.AzureFileVolumeSource.Builder getAzureFileBuilder()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;
-
getAzureFileOrBuilder
public Generated.AzureFileVolumeSourceOrBuilder getAzureFileOrBuilder()
azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureFileVolumeSource azureFile = 18;- Specified by:
getAzureFileOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasConfigMap
public boolean hasConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
hasConfigMapin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the configMap field is set.
-
getConfigMap
public Generated.ConfigMapVolumeSource getConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
getConfigMapin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The configMap.
-
setConfigMap
public Generated.VolumeSource.Builder setConfigMap(Generated.ConfigMapVolumeSource value)
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
-
setConfigMap
public Generated.VolumeSource.Builder setConfigMap(Generated.ConfigMapVolumeSource.Builder builderForValue)
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
-
mergeConfigMap
public Generated.VolumeSource.Builder mergeConfigMap(Generated.ConfigMapVolumeSource value)
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
-
clearConfigMap
public Generated.VolumeSource.Builder clearConfigMap()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
-
getConfigMapBuilder
public Generated.ConfigMapVolumeSource.Builder getConfigMapBuilder()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;
-
getConfigMapOrBuilder
public Generated.ConfigMapVolumeSourceOrBuilder getConfigMapOrBuilder()
configMap represents a configMap that should populate this volume +optional
optional .k8s.io.api.core.v1.ConfigMapVolumeSource configMap = 19;- Specified by:
getConfigMapOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasVsphereVolume
public boolean hasVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
hasVsphereVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the vsphereVolume field is set.
-
getVsphereVolume
public Generated.VsphereVirtualDiskVolumeSource getVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
getVsphereVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The vsphereVolume.
-
setVsphereVolume
public Generated.VolumeSource.Builder setVsphereVolume(Generated.VsphereVirtualDiskVolumeSource value)
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
-
setVsphereVolume
public Generated.VolumeSource.Builder setVsphereVolume(Generated.VsphereVirtualDiskVolumeSource.Builder builderForValue)
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
-
mergeVsphereVolume
public Generated.VolumeSource.Builder mergeVsphereVolume(Generated.VsphereVirtualDiskVolumeSource value)
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
-
clearVsphereVolume
public Generated.VolumeSource.Builder clearVsphereVolume()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
-
getVsphereVolumeBuilder
public Generated.VsphereVirtualDiskVolumeSource.Builder getVsphereVolumeBuilder()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;
-
getVsphereVolumeOrBuilder
public Generated.VsphereVirtualDiskVolumeSourceOrBuilder getVsphereVolumeOrBuilder()
vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver. +optional
optional .k8s.io.api.core.v1.VsphereVirtualDiskVolumeSource vsphereVolume = 20;- Specified by:
getVsphereVolumeOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasQuobyte
public boolean hasQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
hasQuobytein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the quobyte field is set.
-
getQuobyte
public Generated.QuobyteVolumeSource getQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
getQuobytein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The quobyte.
-
setQuobyte
public Generated.VolumeSource.Builder setQuobyte(Generated.QuobyteVolumeSource value)
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
-
setQuobyte
public Generated.VolumeSource.Builder setQuobyte(Generated.QuobyteVolumeSource.Builder builderForValue)
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
-
mergeQuobyte
public Generated.VolumeSource.Builder mergeQuobyte(Generated.QuobyteVolumeSource value)
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
-
clearQuobyte
public Generated.VolumeSource.Builder clearQuobyte()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
-
getQuobyteBuilder
public Generated.QuobyteVolumeSource.Builder getQuobyteBuilder()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;
-
getQuobyteOrBuilder
public Generated.QuobyteVolumeSourceOrBuilder getQuobyteOrBuilder()
quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. +optional
optional .k8s.io.api.core.v1.QuobyteVolumeSource quobyte = 21;- Specified by:
getQuobyteOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasAzureDisk
public boolean hasAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
hasAzureDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the azureDisk field is set.
-
getAzureDisk
public Generated.AzureDiskVolumeSource getAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
getAzureDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The azureDisk.
-
setAzureDisk
public Generated.VolumeSource.Builder setAzureDisk(Generated.AzureDiskVolumeSource value)
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
-
setAzureDisk
public Generated.VolumeSource.Builder setAzureDisk(Generated.AzureDiskVolumeSource.Builder builderForValue)
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
-
mergeAzureDisk
public Generated.VolumeSource.Builder mergeAzureDisk(Generated.AzureDiskVolumeSource value)
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
-
clearAzureDisk
public Generated.VolumeSource.Builder clearAzureDisk()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
-
getAzureDiskBuilder
public Generated.AzureDiskVolumeSource.Builder getAzureDiskBuilder()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;
-
getAzureDiskOrBuilder
public Generated.AzureDiskVolumeSourceOrBuilder getAzureDiskOrBuilder()
azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver. +optional
optional .k8s.io.api.core.v1.AzureDiskVolumeSource azureDisk = 22;- Specified by:
getAzureDiskOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasPhotonPersistentDisk
public boolean hasPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
hasPhotonPersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the photonPersistentDisk field is set.
-
getPhotonPersistentDisk
public Generated.PhotonPersistentDiskVolumeSource getPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
getPhotonPersistentDiskin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The photonPersistentDisk.
-
setPhotonPersistentDisk
public Generated.VolumeSource.Builder setPhotonPersistentDisk(Generated.PhotonPersistentDiskVolumeSource value)
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;
-
setPhotonPersistentDisk
public Generated.VolumeSource.Builder setPhotonPersistentDisk(Generated.PhotonPersistentDiskVolumeSource.Builder builderForValue)
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;
-
mergePhotonPersistentDisk
public Generated.VolumeSource.Builder mergePhotonPersistentDisk(Generated.PhotonPersistentDiskVolumeSource value)
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;
-
clearPhotonPersistentDisk
public Generated.VolumeSource.Builder clearPhotonPersistentDisk()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;
-
getPhotonPersistentDiskBuilder
public Generated.PhotonPersistentDiskVolumeSource.Builder getPhotonPersistentDiskBuilder()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;
-
getPhotonPersistentDiskOrBuilder
public Generated.PhotonPersistentDiskVolumeSourceOrBuilder getPhotonPersistentDiskOrBuilder()
photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.
optional .k8s.io.api.core.v1.PhotonPersistentDiskVolumeSource photonPersistentDisk = 23;- Specified by:
getPhotonPersistentDiskOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasProjected
public boolean hasProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
hasProjectedin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the projected field is set.
-
getProjected
public Generated.ProjectedVolumeSource getProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
getProjectedin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The projected.
-
setProjected
public Generated.VolumeSource.Builder setProjected(Generated.ProjectedVolumeSource value)
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
-
setProjected
public Generated.VolumeSource.Builder setProjected(Generated.ProjectedVolumeSource.Builder builderForValue)
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
-
mergeProjected
public Generated.VolumeSource.Builder mergeProjected(Generated.ProjectedVolumeSource value)
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
-
clearProjected
public Generated.VolumeSource.Builder clearProjected()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
-
getProjectedBuilder
public Generated.ProjectedVolumeSource.Builder getProjectedBuilder()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;
-
getProjectedOrBuilder
public Generated.ProjectedVolumeSourceOrBuilder getProjectedOrBuilder()
projected items for all in one resources secrets, configmaps, and downward API
optional .k8s.io.api.core.v1.ProjectedVolumeSource projected = 26;- Specified by:
getProjectedOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasPortworxVolume
public boolean hasPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
hasPortworxVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the portworxVolume field is set.
-
getPortworxVolume
public Generated.PortworxVolumeSource getPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
getPortworxVolumein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The portworxVolume.
-
setPortworxVolume
public Generated.VolumeSource.Builder setPortworxVolume(Generated.PortworxVolumeSource value)
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;
-
setPortworxVolume
public Generated.VolumeSource.Builder setPortworxVolume(Generated.PortworxVolumeSource.Builder builderForValue)
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;
-
mergePortworxVolume
public Generated.VolumeSource.Builder mergePortworxVolume(Generated.PortworxVolumeSource value)
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;
-
clearPortworxVolume
public Generated.VolumeSource.Builder clearPortworxVolume()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;
-
getPortworxVolumeBuilder
public Generated.PortworxVolumeSource.Builder getPortworxVolumeBuilder()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;
-
getPortworxVolumeOrBuilder
public Generated.PortworxVolumeSourceOrBuilder getPortworxVolumeOrBuilder()
portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on. +optional
optional .k8s.io.api.core.v1.PortworxVolumeSource portworxVolume = 24;- Specified by:
getPortworxVolumeOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasScaleIO
public boolean hasScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
hasScaleIOin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the scaleIO field is set.
-
getScaleIO
public Generated.ScaleIOVolumeSource getScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
getScaleIOin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The scaleIO.
-
setScaleIO
public Generated.VolumeSource.Builder setScaleIO(Generated.ScaleIOVolumeSource value)
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
-
setScaleIO
public Generated.VolumeSource.Builder setScaleIO(Generated.ScaleIOVolumeSource.Builder builderForValue)
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
-
mergeScaleIO
public Generated.VolumeSource.Builder mergeScaleIO(Generated.ScaleIOVolumeSource value)
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
-
clearScaleIO
public Generated.VolumeSource.Builder clearScaleIO()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
-
getScaleIOBuilder
public Generated.ScaleIOVolumeSource.Builder getScaleIOBuilder()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;
-
getScaleIOOrBuilder
public Generated.ScaleIOVolumeSourceOrBuilder getScaleIOOrBuilder()
scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. +optional
optional .k8s.io.api.core.v1.ScaleIOVolumeSource scaleIO = 25;- Specified by:
getScaleIOOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasStorageos
public boolean hasStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
hasStorageosin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the storageos field is set.
-
getStorageos
public Generated.StorageOSVolumeSource getStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
getStorageosin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The storageos.
-
setStorageos
public Generated.VolumeSource.Builder setStorageos(Generated.StorageOSVolumeSource value)
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
-
setStorageos
public Generated.VolumeSource.Builder setStorageos(Generated.StorageOSVolumeSource.Builder builderForValue)
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
-
mergeStorageos
public Generated.VolumeSource.Builder mergeStorageos(Generated.StorageOSVolumeSource value)
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
-
clearStorageos
public Generated.VolumeSource.Builder clearStorageos()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
-
getStorageosBuilder
public Generated.StorageOSVolumeSource.Builder getStorageosBuilder()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;
-
getStorageosOrBuilder
public Generated.StorageOSVolumeSourceOrBuilder getStorageosOrBuilder()
storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. +optional
optional .k8s.io.api.core.v1.StorageOSVolumeSource storageos = 27;- Specified by:
getStorageosOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasCsi
public boolean hasCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
hasCsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the csi field is set.
-
getCsi
public Generated.CSIVolumeSource getCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
getCsiin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The csi.
-
setCsi
public Generated.VolumeSource.Builder setCsi(Generated.CSIVolumeSource value)
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
-
setCsi
public Generated.VolumeSource.Builder setCsi(Generated.CSIVolumeSource.Builder builderForValue)
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
-
mergeCsi
public Generated.VolumeSource.Builder mergeCsi(Generated.CSIVolumeSource value)
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
-
clearCsi
public Generated.VolumeSource.Builder clearCsi()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
-
getCsiBuilder
public Generated.CSIVolumeSource.Builder getCsiBuilder()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;
-
getCsiOrBuilder
public Generated.CSIVolumeSourceOrBuilder getCsiOrBuilder()
csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. +optional
optional .k8s.io.api.core.v1.CSIVolumeSource csi = 28;- Specified by:
getCsiOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasEphemeral
public boolean hasEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
hasEphemeralin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the ephemeral field is set.
-
getEphemeral
public Generated.EphemeralVolumeSource getEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
getEphemeralin interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The ephemeral.
-
setEphemeral
public Generated.VolumeSource.Builder setEphemeral(Generated.EphemeralVolumeSource value)
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
-
setEphemeral
public Generated.VolumeSource.Builder setEphemeral(Generated.EphemeralVolumeSource.Builder builderForValue)
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
-
mergeEphemeral
public Generated.VolumeSource.Builder mergeEphemeral(Generated.EphemeralVolumeSource value)
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
-
clearEphemeral
public Generated.VolumeSource.Builder clearEphemeral()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
-
getEphemeralBuilder
public Generated.EphemeralVolumeSource.Builder getEphemeralBuilder()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;
-
getEphemeralOrBuilder
public Generated.EphemeralVolumeSourceOrBuilder getEphemeralOrBuilder()
ephemeral represents a volume that is handled by a cluster storage driver. The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed. Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity tracking are needed, c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through a PersistentVolumeClaim (see EphemeralVolumeSource for more information on the connection between this volume type and PersistentVolumeClaim). Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod. Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information. A pod can use both types of ephemeral volumes and persistent volumes at the same time. +optionaloptional .k8s.io.api.core.v1.EphemeralVolumeSource ephemeral = 29;- Specified by:
getEphemeralOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
hasImage
public boolean hasImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Specified by:
hasImagein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public Generated.ImageVolumeSource getImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Specified by:
getImagein interfaceGenerated.VolumeSourceOrBuilder- Returns:
- The image.
-
setImage
public Generated.VolumeSource.Builder setImage(Generated.ImageVolumeSource value)
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
-
setImage
public Generated.VolumeSource.Builder setImage(Generated.ImageVolumeSource.Builder builderForValue)
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
-
mergeImage
public Generated.VolumeSource.Builder mergeImage(Generated.ImageVolumeSource value)
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
-
clearImage
public Generated.VolumeSource.Builder clearImage()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
-
getImageBuilder
public Generated.ImageVolumeSource.Builder getImageBuilder()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;
-
getImageOrBuilder
public Generated.ImageVolumeSourceOrBuilder getImageOrBuilder()
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided: - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. +featureGate=ImageVolume +optional
optional .k8s.io.api.core.v1.ImageVolumeSource image = 30;- Specified by:
getImageOrBuilderin interfaceGenerated.VolumeSourceOrBuilder
-
setUnknownFields
public final Generated.VolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
mergeUnknownFields
public final Generated.VolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeSource.Builder>
-
-