Class GenericEphemeralWorkspaceVolume
java.lang.Object
hudson.model.AbstractDescribableImpl<WorkspaceVolume>
org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.WorkspaceVolume
org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.GenericEphemeralWorkspaceVolume
- All Implemented Interfaces:
Describable<WorkspaceVolume>
,Serializable
,EphemeralVolume
,ProvisionedVolume
Uses a generic ephemeral volume, that is created before the agent pod is created, and terminated afterwards.
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.api.model.Volume
buildVolume
(String volumeName, String podName) void
setAccessModes
(String accessModes) void
setRequestsSize
(String requestsSize) void
setStorageClassName
(String storageClassName) Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.WorkspaceVolume
buildVolume, createVolume, getDefault, merge
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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
-
GenericEphemeralWorkspaceVolume
@DataBoundConstructor public GenericEphemeralWorkspaceVolume()
-
-
Method Details
-
getStorageClassName
- Specified by:
getStorageClassName
in interfaceProvisionedVolume
-
setStorageClassName
-
getRequestsSize
- Specified by:
getRequestsSize
in interfaceProvisionedVolume
-
setRequestsSize
-
getAccessModes
- Specified by:
getAccessModes
in interfaceProvisionedVolume
-
setAccessModes
-
buildVolume
- Overrides:
buildVolume
in classWorkspaceVolume
-