Package io.fabric8.openshift.api.model
Class ConfigMapBuildSource
- java.lang.Object
-
- io.fabric8.openshift.api.model.ConfigMapBuildSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConfigMapBuildSourceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConfigMapBuildSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConfigMapBuildSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time. The content of the configmap referenced here will be copied into the destination directory instead of mounting.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigMapBuildSource()No args constructor for use in serializationConfigMapBuildSource(io.fabric8.kubernetes.api.model.LocalObjectReference configMap, String destinationDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigMapBuildSourceBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.LocalObjectReferencegetConfigMap()ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time.StringgetDestinationDir()destinationDir is the directory where the files from the configmap should be available for the build time.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfigMap(io.fabric8.kubernetes.api.model.LocalObjectReference configMap)ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time.voidsetDestinationDir(String destinationDir)destinationDir is the directory where the files from the configmap should be available for the build time.ConfigMapBuildSourceBuildertoBuilder()
-
-
-
Constructor Detail
-
ConfigMapBuildSource
public ConfigMapBuildSource()
No args constructor for use in serialization
-
ConfigMapBuildSource
public ConfigMapBuildSource(io.fabric8.kubernetes.api.model.LocalObjectReference configMap, String destinationDir)
-
-
Method Detail
-
getConfigMap
public io.fabric8.kubernetes.api.model.LocalObjectReference getConfigMap()
ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time. The content of the configmap referenced here will be copied into the destination directory instead of mounting.
-
setConfigMap
public void setConfigMap(io.fabric8.kubernetes.api.model.LocalObjectReference configMap)
ConfigMapBuildSource describes a configmap and its destination directory that will be used only at the build time. The content of the configmap referenced here will be copied into the destination directory instead of mounting.
-
getDestinationDir
public String getDestinationDir()
destinationDir is the directory where the files from the configmap should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. For the container image build strategy, these will be copied into the build directory, where the Dockerfile is located, so users can ADD or COPY them during container image build.
-
setDestinationDir
public void setDestinationDir(String destinationDir)
destinationDir is the directory where the files from the configmap should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. For the container image build strategy, these will be copied into the build directory, where the Dockerfile is located, so users can ADD or COPY them during container image build.
-
edit
public ConfigMapBuildSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConfigMapBuildSourceBuilder>
-
toBuilder
public ConfigMapBuildSourceBuilder toBuilder()
-
-