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
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSecretVolume
(String mountPath, String secretName) SecretVolume
(String mountPath, String secretName, String defaultMode, Boolean optional) -
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.api.model.Volume
buildVolume
(String volumeName) It's expected to override at least one ofPodVolume.buildVolume(String, String)
orPodVolume.buildVolume(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
-
Constructor Details
-
SecretVolume
-
SecretVolume
-
-
Method Details
-
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.
-
getSecretName
-
getMountPath
- Specified by:
getMountPath
in classPodVolume
-
getDefaultMode
-
getOptional
-
toString
-