@Generated(value="org.jsonschema2pojo") public class BuildSource extends Object
| Constructor and Description |
|---|
BuildSource()
No args constructor for use in serialization
|
BuildSource(BinaryBuildSource binary,
String contextDir,
String dockerfile,
GitBuildSource git,
List<ImageSource> images,
List<SecretBuildSource> secrets,
LocalObjectReference sourceSecret,
String type) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
BinaryBuildSource |
getBinary() |
String |
getContextDir()
specifies sub-directory where the source code for the application exists
|
String |
getDockerfile()
the contents of a Dockerfile to build; FROM may be overridden by your strategy source
|
GitBuildSource |
getGit() |
List<ImageSource> |
getImages()
optional images for build source.
|
List<SecretBuildSource> |
getSecrets()
list of build secrets and destination directories
|
LocalObjectReference |
getSourceSecret() |
String |
getType()
type of build input to accept
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setBinary(BinaryBuildSource binary) |
void |
setContextDir(String contextDir)
specifies sub-directory where the source code for the application exists
|
void |
setDockerfile(String dockerfile)
the contents of a Dockerfile to build; FROM may be overridden by your strategy source
|
void |
setGit(GitBuildSource git) |
void |
setImages(List<ImageSource> images)
optional images for build source.
|
void |
setSecrets(List<SecretBuildSource> secrets)
list of build secrets and destination directories
|
void |
setSourceSecret(LocalObjectReference sourceSecret) |
void |
setType(String type)
type of build input to accept
|
public BuildSource()
public BuildSource(BinaryBuildSource binary, String contextDir, String dockerfile, GitBuildSource git, List<ImageSource> images, List<SecretBuildSource> secrets, LocalObjectReference sourceSecret, String type)
sourceSecret - images - git - binary - dockerfile - type - secrets - contextDir - public BinaryBuildSource getBinary()
public void setBinary(BinaryBuildSource binary)
binary - The binarypublic String getContextDir()
public void setContextDir(String contextDir)
contextDir - The contextDirpublic String getDockerfile()
public void setDockerfile(String dockerfile)
dockerfile - The dockerfilepublic GitBuildSource getGit()
public void setGit(GitBuildSource git)
git - The gitpublic List<ImageSource> getImages()
public void setImages(List<ImageSource> images)
images - The imagespublic List<SecretBuildSource> getSecrets()
public void setSecrets(List<SecretBuildSource> secrets)
secrets - The secretspublic LocalObjectReference getSourceSecret()
public void setSourceSecret(LocalObjectReference sourceSecret)
sourceSecret - The sourceSecretpublic String getType()
public void setType(String type)
type - The typeCopyright © 2011–2016 Red Hat. All rights reserved.