Class DynamicPVCVolume
java.lang.Object
hudson.model.AbstractDescribableImpl<PodVolume>
org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
org.csanchez.jenkins.plugins.kubernetes.volumes.DynamicPVCVolume
- All Implemented Interfaces:
Describable<PodVolume>
,Serializable
,DynamicPVC
,ProvisionedVolume
Deprecated.
Implements a dynamic PVC volume, that is created before the agent pod is created, and terminated afterwards.
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.csanchez.jenkins.plugins.kubernetes.volumes.DynamicPVC
LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.api.model.Volume
buildVolume
(String volumeName, String podName) Deprecated.It's expected to override at least one ofPodVolume.buildVolume(String, String)
orPodVolume.buildVolume(String)
.io.fabric8.kubernetes.api.model.PersistentVolumeClaim
createVolume
(io.fabric8.kubernetes.client.KubernetesClient client, io.fabric8.kubernetes.api.model.ObjectMeta podMetaData) Deprecated.Creates a volume claim.boolean
Deprecated.Deprecated.Deprecated.getPvcName
(String podName) Deprecated.Deprecated.Deprecated.int
hashCode()
Deprecated.void
setAccessModes
(String accessModes) Deprecated.void
setMountPath
(String mountPath) Deprecated.void
setRequestsSize
(String requestsSize) Deprecated.void
setStorageClassName
(String storageClassName) Deprecated.Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
buildVolume, podVolumeExists, volumeMountExists
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.csanchez.jenkins.plugins.kubernetes.volumes.DynamicPVC
buildPVC, createPVC
Methods inherited from interface org.csanchez.jenkins.plugins.kubernetes.volumes.ProvisionedVolume
getAccessModesOrDefault, getRequestsSizeOrDefault, getResourceMap, getStorageClassNameOrDefault
-
Constructor Details
-
DynamicPVCVolume
@DataBoundConstructor public DynamicPVCVolume()Deprecated.
-
-
Method Details
-
getAccessModes
Deprecated.- Specified by:
getAccessModes
in interfaceProvisionedVolume
-
setAccessModes
Deprecated. -
getRequestsSize
Deprecated.- Specified by:
getRequestsSize
in interfaceProvisionedVolume
-
setRequestsSize
Deprecated. -
getStorageClassName
Deprecated.- Specified by:
getStorageClassName
in interfaceProvisionedVolume
-
setStorageClassName
Deprecated. -
getMountPath
Deprecated.- Specified by:
getMountPath
in classPodVolume
-
buildVolume
Deprecated.Description copied from class:PodVolume
It's expected to override at least one ofPodVolume.buildVolume(String, String)
orPodVolume.buildVolume(String)
.- Overrides:
buildVolume
in classPodVolume
- Parameters:
volumeName
- The name of the volume to build.- Returns:
- The built volume.
-
createVolume
public io.fabric8.kubernetes.api.model.PersistentVolumeClaim createVolume(io.fabric8.kubernetes.client.KubernetesClient client, io.fabric8.kubernetes.api.model.ObjectMeta podMetaData) Deprecated.Description copied from class:PodVolume
Creates a volume claim.- Overrides:
createVolume
in classPodVolume
- Parameters:
client
- Kubernetes clientpodMetaData
- Kubernetes pod metadata- Returns:
- the created volume claim
-
setMountPath
Deprecated. -
getPvcName
Deprecated.- Specified by:
getPvcName
in interfaceDynamicPVC
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
GenericEphemeralVolume
instead.