Package io.fabric8.openshift.api.model
Class SecretSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.SecretSpec
-
- All Implemented Interfaces:
Editable<SecretSpecBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SecretSpec extends Object implements Editable<SecretSpecBuilder>, KubernetesResource
SecretSpec specifies a secret to be included in a build pod and its corresponding mount point- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecretSpec()No args constructor for use in serializationSecretSpec(String mountPath, LocalObjectReference secretSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMountPath()mountPath is the path at which to mount the secretLocalObjectReferencegetSecretSource()SecretSpec specifies a secret to be included in a build pod and its corresponding mount pointvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMountPath(String mountPath)mountPath is the path at which to mount the secretvoidsetSecretSource(LocalObjectReference secretSource)SecretSpec specifies a secret to be included in a build pod and its corresponding mount pointSecretSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
SecretSpec
public SecretSpec()
No args constructor for use in serialization
-
SecretSpec
public SecretSpec(String mountPath, LocalObjectReference secretSource)
-
-
Method Detail
-
getMountPath
public String getMountPath()
mountPath is the path at which to mount the secret
-
setMountPath
public void setMountPath(String mountPath)
mountPath is the path at which to mount the secret
-
getSecretSource
public LocalObjectReference getSecretSource()
SecretSpec specifies a secret to be included in a build pod and its corresponding mount point
-
setSecretSource
public void setSecretSource(LocalObjectReference secretSource)
SecretSpec specifies a secret to be included in a build pod and its corresponding mount point
-
edit
public SecretSpecBuilder edit()
- Specified by:
editin interfaceEditable<SecretSpecBuilder>
-
toBuilder
public SecretSpecBuilder toBuilder()
-
-