Class MachineOSContainerfile

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MachineOSContainerfile
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MachineOSContainerfileBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MachineOSContainerfile contains all custom content the user wants built into the image
    See Also:
    Serialized Form
    • Constructor Detail

      • MachineOSContainerfile

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

        public MachineOSContainerfile​(String containerfileArch,
                                      String content)
    • Method Detail

      • getContainerfileArch

        public String getContainerfileArch()
        containerfileArch describes the architecture this containerfile is to be built for. This arch is optional. If the user does not specify an architecture, it is assumed that the content can be applied to all architectures, or in a single arch cluster: the only architecture.


        Possible enum values:

        - `"AMD64"` describes the amd64 architecture

        - `"ARM64"` describes the arm64 architecture

        - `"NoArch"` describes a containerfile that can be applied to any arch

        - `"PPC64LE"` describes the ppc64le architecture

        - `"S390X"` describes the s390x architecture

      • setContainerfileArch

        public void setContainerfileArch​(String containerfileArch)
        containerfileArch describes the architecture this containerfile is to be built for. This arch is optional. If the user does not specify an architecture, it is assumed that the content can be applied to all architectures, or in a single arch cluster: the only architecture.


        Possible enum values:

        - `"AMD64"` describes the amd64 architecture

        - `"ARM64"` describes the arm64 architecture

        - `"NoArch"` describes a containerfile that can be applied to any arch

        - `"PPC64LE"` describes the ppc64le architecture

        - `"S390X"` describes the s390x architecture

      • getContent

        public String getContent()
        content is an embedded Containerfile/Dockerfile that defines the contents to be built into your image. See https://github.com/containers/common/blob/main/docs/Containerfile.5.md for the spec reference. for example, this would add the tree package to your hosts:

        FROM configs AS final

        RUN rpm-ostree install tree && \

        ostree container commit

        This is a required field and can have a maximum length of **4096** characters.

      • setContent

        public void setContent​(String content)
        content is an embedded Containerfile/Dockerfile that defines the contents to be built into your image. See https://github.com/containers/common/blob/main/docs/Containerfile.5.md for the spec reference. for example, this would add the tree package to your hosts:

        FROM configs AS final

        RUN rpm-ostree install tree && \

        ostree container commit

        This is a required field and can have a maximum length of **4096** characters.

      • getAdditionalProperties

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

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

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