Class ConfigMapVolume
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<PodVolume>
-
- org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
-
- org.csanchez.jenkins.plugins.kubernetes.volumes.ConfigMapVolume
-
- All Implemented Interfaces:
Describable<PodVolume>
,Serializable
public class ConfigMapVolume extends PodVolume
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigMapVolume.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description ConfigMapVolume(String mountPath, String configMapName, Boolean optional)
-
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
getConfigMapName()
String
getMountPath()
Boolean
getOptional()
String
getSubPath()
protected Object
readResolve()
void
setSubPath(String subPath)
-
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
-
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.
-
getConfigMapName
public String getConfigMapName()
-
getMountPath
public String getMountPath()
- Specified by:
getMountPath
in classPodVolume
-
getOptional
public Boolean getOptional()
-
getSubPath
public String getSubPath()
-
setSubPath
@DataBoundSetter public void setSubPath(String subPath)
-
readResolve
protected Object readResolve()
-
-