Class SecretVolume
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<PodVolume>
-
- org.csanchez.jenkins.plugins.kubernetes.volumes.PodVolume
-
- org.csanchez.jenkins.plugins.kubernetes.volumes.SecretVolume
-
- All Implemented Interfaces:
Describable<PodVolume>
,Serializable
- Direct Known Subclasses:
PodVolumes.SecretVolume
public class SecretVolume extends PodVolume
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecretVolume.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description SecretVolume(String mountPath, String secretName)
SecretVolume(String mountPath, String secretName, String defaultMode, 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
getDefaultMode()
String
getMountPath()
Boolean
getOptional()
String
getSecretName()
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
-
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.
-
getSecretName
public String getSecretName()
-
getMountPath
public String getMountPath()
- Specified by:
getMountPath
in classPodVolume
-
getDefaultMode
public String getDefaultMode()
-
getOptional
public Boolean getOptional()
-
-