Class SecretEnvVar
java.lang.Object
hudson.model.AbstractDescribableImpl<TemplateEnvVar>
org.csanchez.jenkins.plugins.kubernetes.model.TemplateEnvVar
org.csanchez.jenkins.plugins.kubernetes.model.SecretEnvVar
- All Implemented Interfaces:
ExtensionPoint
,Describable<TemplateEnvVar>
,Serializable
Environment variables created from kubernetes secrets.
- Since:
- 0.13
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionSecretEnvVar
(String key, String secretName, String secretKey, Boolean optional) -
Method Summary
Modifier and TypeMethodDescriptionio.fabric8.kubernetes.api.model.EnvVar
void
setOptional
(Boolean optional) void
setSecretKey
(String secretKey) void
setSecretName
(String secretName) toString()
Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.model.TemplateEnvVar
equals, getKey, hashCode, setKey
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SecretEnvVar
-
-
Method Details
-
buildEnvVar
public io.fabric8.kubernetes.api.model.EnvVar buildEnvVar()- Specified by:
buildEnvVar
in classTemplateEnvVar
-
getSecretName
-
setSecretName
-
getSecretKey
-
setSecretKey
-
getOptional
-
setOptional
-
toString
- Overrides:
toString
in classTemplateEnvVar
-