Class GenericEphemeralVolume
java.lang.Object
hudson.model.AbstractDescribableImpl<PodVolume>
org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
org.csanchez.jenkins.plugins.kubernetes.volumes.GenericEphemeralVolume
- All Implemented Interfaces:
Describable<PodVolume>
,Serializable
,EphemeralVolume
,ProvisionedVolume
Uses a generic ephemeral volume, that is created before the agent pod is created, and terminated afterwards.
See Kubernetes documentation
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.api.model.Volume
buildVolume
(String volumeName, String podName) It's expected to override at least one ofPodVolume.buildVolume(String, String)
orPodVolume.buildVolume(String)
.boolean
int
hashCode()
void
setAccessModes
(String accessModes) void
setMountPath
(String mountPath) void
setRequestsSize
(String requestsSize) void
setStorageClassName
(String storageClassName) Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
buildVolume, createVolume, 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.EphemeralVolume
buildEphemeralVolume
Methods inherited from interface org.csanchez.jenkins.plugins.kubernetes.volumes.ProvisionedVolume
getAccessModesOrDefault, getRequestsSizeOrDefault, getResourceMap, getStorageClassNameOrDefault
-
Constructor Details
-
GenericEphemeralVolume
@DataBoundConstructor public GenericEphemeralVolume()
-
-
Method Details
-
getAccessModes
- Specified by:
getAccessModes
in interfaceProvisionedVolume
-
setAccessModes
-
getRequestsSize
- Specified by:
getRequestsSize
in interfaceProvisionedVolume
-
setRequestsSize
-
getStorageClassName
- Specified by:
getStorageClassName
in interfaceProvisionedVolume
-
setStorageClassName
-
getMountPath
- Specified by:
getMountPath
in classPodVolume
-
buildVolume
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.
-
setMountPath
-
equals
-
hashCode
public int hashCode()
-