@Generated(value="org.jsonschema2pojo") public class DockerBuildStrategy extends Object implements KubernetesResource
Constructor and Description |
---|
DockerBuildStrategy()
No args constructor for use in serialization
|
DockerBuildStrategy(List<EnvVar> buildArgs,
String dockerfilePath,
List<EnvVar> env,
Boolean forcePull,
ObjectReference from,
String imageOptimizationPolicy,
Boolean noCache,
LocalObjectReference pullSecret) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
List<EnvVar> |
getBuildArgs() |
String |
getDockerfilePath() |
List<EnvVar> |
getEnv() |
Boolean |
getForcePull() |
ObjectReference |
getFrom() |
String |
getImageOptimizationPolicy() |
Boolean |
getNoCache() |
LocalObjectReference |
getPullSecret() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setBuildArgs(List<EnvVar> buildArgs) |
void |
setDockerfilePath(String dockerfilePath) |
void |
setEnv(List<EnvVar> env) |
void |
setForcePull(Boolean forcePull) |
void |
setFrom(ObjectReference from) |
void |
setImageOptimizationPolicy(String imageOptimizationPolicy) |
void |
setNoCache(Boolean noCache) |
void |
setPullSecret(LocalObjectReference pullSecret) |
public DockerBuildStrategy()
public DockerBuildStrategy(List<EnvVar> buildArgs, String dockerfilePath, List<EnvVar> env, Boolean forcePull, ObjectReference from, String imageOptimizationPolicy, Boolean noCache, LocalObjectReference pullSecret)
forcePull
- imageOptimizationPolicy
- dockerfilePath
- noCache
- from
- env
- buildArgs
- pullSecret
- public String getDockerfilePath()
public void setDockerfilePath(String dockerfilePath)
dockerfilePath
- The dockerfilePathpublic Boolean getForcePull()
public void setForcePull(Boolean forcePull)
forcePull
- The forcePullpublic ObjectReference getFrom()
public void setFrom(ObjectReference from)
from
- The frompublic String getImageOptimizationPolicy()
public void setImageOptimizationPolicy(String imageOptimizationPolicy)
imageOptimizationPolicy
- The imageOptimizationPolicypublic Boolean getNoCache()
public void setNoCache(Boolean noCache)
noCache
- The noCachepublic LocalObjectReference getPullSecret()
public void setPullSecret(LocalObjectReference pullSecret)
pullSecret
- The pullSecretCopyright © 2015–2020 Red Hat. All rights reserved.