Class BinaryBuildSource

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BinaryBuildSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BinaryBuildSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BinaryBuildSource describes a binary file to be used for the Docker and Source build strategies, where the file will be extracted and used as the build source.
    See Also:
    Serialized Form
    • Constructor Detail

      • BinaryBuildSource

        public BinaryBuildSource()
        No args constructor for use in serialization
      • BinaryBuildSource

        public BinaryBuildSource​(String asFile)
    • Method Detail

      • getAsFile

        public String getAsFile()
        asFile indicates that the provided binary input should be considered a single file within the build input. For example, specifying "webapp.war" would place the provided binary as `/webapp.war` for the builder. If left empty, the Docker and Source build strategies assume this file is a zip, tar, or tar.gz file and extract it as the source. The custom strategy receives this binary as standard input. This filename may not contain slashes or be '..' or '.'.
      • setAsFile

        public void setAsFile​(String asFile)
        asFile indicates that the provided binary input should be considered a single file within the build input. For example, specifying "webapp.war" would place the provided binary as `/webapp.war` for the builder. If left empty, the Docker and Source build strategies assume this file is a zip, tar, or tar.gz file and extract it as the source. The custom strategy receives this binary as standard input. This filename may not contain slashes or be '..' or '.'.
      • getAdditionalProperties

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

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

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