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 public class DynamicPVCVolume extends PodVolume implements DynamicPVC
Deprecated.UseGenericEphemeralVolume
instead.Implements a dynamic PVC volume, that is created before the agent pod is created, and terminated afterwards.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DynamicPVCVolume.DescriptorImpl
Deprecated.
-
Field Summary
-
Fields inherited from interface org.csanchez.jenkins.plugins.kubernetes.volumes.DynamicPVC
LOGGER
-
-
Constructor Summary
Constructors Constructor Description DynamicPVCVolume()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description io.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
equals(Object o)
Deprecated.String
getAccessModes()
Deprecated.String
getMountPath()
Deprecated.String
getPvcName(String podName)
Deprecated.String
getRequestsSize()
Deprecated.String
getStorageClassName()
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
-
-
-
-
Method Detail
-
getAccessModes
@CheckForNull public String getAccessModes()
Deprecated.- Specified by:
getAccessModes
in interfaceProvisionedVolume
-
setAccessModes
@DataBoundSetter public void setAccessModes(@CheckForNull String accessModes)
Deprecated.
-
getRequestsSize
@CheckForNull public String getRequestsSize()
Deprecated.- Specified by:
getRequestsSize
in interfaceProvisionedVolume
-
setRequestsSize
@DataBoundSetter public void setRequestsSize(@CheckForNull String requestsSize)
Deprecated.
-
getStorageClassName
@CheckForNull public String getStorageClassName()
Deprecated.- Specified by:
getStorageClassName
in interfaceProvisionedVolume
-
setStorageClassName
@DataBoundSetter public void setStorageClassName(@CheckForNull String storageClassName)
Deprecated.
-
getMountPath
public String getMountPath()
Deprecated.- Specified by:
getMountPath
in classPodVolume
-
buildVolume
public io.fabric8.kubernetes.api.model.Volume buildVolume(String volumeName, String podName)
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
@DataBoundSetter public void setMountPath(String mountPath)
Deprecated.
-
getPvcName
@NonNull public String getPvcName(String podName)
Deprecated.- Specified by:
getPvcName
in interfaceDynamicPVC
-
-