@Generated(value="org.jsonschema2pojo") public class DockerBuildStrategy extends Object
| Constructor and Description |
|---|
DockerBuildStrategy()
No args constructor for use in serialization
|
DockerBuildStrategy(List<EnvVar> env,
Boolean forcePull,
ObjectReference from,
Boolean noCache,
LocalObjectReference pullSecret) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
List<EnvVar> |
getEnv()
additional environment variables you want to pass into a builder container
|
Boolean |
getForcePull()
forces the source build to pull the image if true
|
ObjectReference |
getFrom() |
Boolean |
getNoCache()
if true
|
LocalObjectReference |
getPullSecret() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setEnv(List<EnvVar> env)
additional environment variables you want to pass into a builder container
|
void |
setForcePull(Boolean forcePull)
forces the source build to pull the image if true
|
void |
setFrom(ObjectReference from) |
void |
setNoCache(Boolean noCache)
if true
|
void |
setPullSecret(LocalObjectReference pullSecret) |
public DockerBuildStrategy()
public DockerBuildStrategy(List<EnvVar> env, Boolean forcePull, ObjectReference from, Boolean noCache, LocalObjectReference pullSecret)
noCache - forcePull - from - env - pullSecret - public List<EnvVar> getEnv()
public void setEnv(List<EnvVar> env)
env - The envpublic Boolean getForcePull()
public void setForcePull(Boolean forcePull)
forcePull - The forcePullpublic ObjectReference getFrom()
public void setFrom(ObjectReference from)
from - The frompublic Boolean getNoCache()
public void setNoCache(Boolean noCache)
noCache - The noCachepublic LocalObjectReference getPullSecret()
public void setPullSecret(LocalObjectReference pullSecret)
pullSecret - The pullSecretCopyright © 2011–2015 Red Hat. All rights reserved.