Class EmptyDirVolume
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<PodVolume>
-
- org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
-
- org.csanchez.jenkins.plugins.kubernetes.volumes.EmptyDirVolume
-
- All Implemented Interfaces:
Describable<PodVolume>
,Serializable
- Direct Known Subclasses:
PodVolumes.EmptyDirVolume
public class EmptyDirVolume extends PodVolume
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmptyDirVolume.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description EmptyDirVolume(String mountPath, Boolean memory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.fabric8.kubernetes.api.model.Volume
buildVolume(String volumeName)
It's expected to override at least one ofPodVolume.buildVolume(String, String)
orPodVolume.buildVolume(String)
.String
getMedium()
Boolean
getMemory()
String
getMountPath()
String
toString()
-
Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
buildVolume, createVolume, podVolumeExists, volumeMountExists
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getMountPath
public String getMountPath()
- Specified by:
getMountPath
in classPodVolume
-
getMedium
public String getMedium()
-
getMemory
@NonNull public Boolean getMemory()
-
buildVolume
public io.fabric8.kubernetes.api.model.Volume buildVolume(String volumeName)
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.
-
-