Class BuildSource

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<BuildSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BuildSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BuildSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BuildSource is the SCM used for the build.
    See Also:
    Serialized Form
    • Method Detail

      • getBinary

        public BinaryBuildSource getBinary()
        BuildSource is the SCM used for the build.
      • setBinary

        public void setBinary​(BinaryBuildSource binary)
        BuildSource is the SCM used for the build.
      • getConfigMaps

        public List<ConfigMapBuildSource> getConfigMaps()
        configMaps represents a list of configMaps and their destinations that will be used for the build.
      • setConfigMaps

        public void setConfigMaps​(List<ConfigMapBuildSource> configMaps)
        configMaps represents a list of configMaps and their destinations that will be used for the build.
      • getContextDir

        public String getContextDir()
        contextDir specifies the sub-directory where the source code for the application exists. This allows to have buildable sources in directory other than root of repository.
      • setContextDir

        public void setContextDir​(String contextDir)
        contextDir specifies the sub-directory where the source code for the application exists. This allows to have buildable sources in directory other than root of repository.
      • getDockerfile

        public String getDockerfile()
        dockerfile is the raw contents of a Dockerfile which should be built. When this option is specified, the FROM may be modified based on your strategy base image and additional ENV stanzas from your strategy environment will be added after the FROM, but before the rest of your Dockerfile stanzas. The Dockerfile source type may be used with other options like git - in those cases the Git repo will have any innate Dockerfile replaced in the context dir.
      • setDockerfile

        public void setDockerfile​(String dockerfile)
        dockerfile is the raw contents of a Dockerfile which should be built. When this option is specified, the FROM may be modified based on your strategy base image and additional ENV stanzas from your strategy environment will be added after the FROM, but before the rest of your Dockerfile stanzas. The Dockerfile source type may be used with other options like git - in those cases the Git repo will have any innate Dockerfile replaced in the context dir.
      • getGit

        public GitBuildSource getGit()
        BuildSource is the SCM used for the build.
      • setGit

        public void setGit​(GitBuildSource git)
        BuildSource is the SCM used for the build.
      • getImages

        public List<ImageSource> getImages()
        images describes a set of images to be used to provide source for the build
      • setImages

        public void setImages​(List<ImageSource> images)
        images describes a set of images to be used to provide source for the build
      • getSecrets

        public List<SecretBuildSource> getSecrets()
        secrets represents a list of secrets and their destinations that will be used only for the build.
      • setSecrets

        public void setSecrets​(List<SecretBuildSource> secrets)
        secrets represents a list of secrets and their destinations that will be used only for the build.
      • getSourceSecret

        public io.fabric8.kubernetes.api.model.LocalObjectReference getSourceSecret()
        BuildSource is the SCM used for the build.
      • setSourceSecret

        public void setSourceSecret​(io.fabric8.kubernetes.api.model.LocalObjectReference sourceSecret)
        BuildSource is the SCM used for the build.
      • getType

        public String getType()
        type of build input to accept
      • setType

        public void setType​(String type)
        type of build input to accept
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)