Class BuildInputs
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1alpha1.BuildInputs
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BuildInputsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BuildInputs extends Object implements io.fabric8.kubernetes.api.builder.Editable<BuildInputsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BuildInputs holds all of the information needed to trigger a build- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildInputs()No args constructor for use in serializationBuildInputs(ImageSecretObjectReference baseImagePullSecret, String baseOSExtensionsImagePullspec, String baseOSImagePullspec, List<MachineOSContainerfile> containerFile, MachineOSImageBuilder imageBuilder, String releaseVersion, ImageSecretObjectReference renderedImagePushSecret, String renderedImagePushspec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildInputsBuilderedit()Map<String,Object>getAdditionalProperties()ImageSecretObjectReferencegetBaseImagePullSecret()BuildInputs holds all of the information needed to trigger a buildStringgetBaseOSExtensionsImagePullspec()baseOSExtensionsImagePullspec is the base Extensions image used in the build process the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf.StringgetBaseOSImagePullspec()baseOSImagePullspec is the base OSImage we use to build our custom image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf.List<MachineOSContainerfile>getContainerFile()containerFile describes the custom data the user has specified to build into the image. this is also commonly called a Dockerfile and you can treat it as such.MachineOSImageBuildergetImageBuilder()BuildInputs holds all of the information needed to trigger a buildStringgetReleaseVersion()releaseVersion is associated with the base OS Image.ImageSecretObjectReferencegetRenderedImagePushSecret()BuildInputs holds all of the information needed to trigger a buildStringgetRenderedImagePushspec()renderedImagePushspec describes the location of the final image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBaseImagePullSecret(ImageSecretObjectReference baseImagePullSecret)BuildInputs holds all of the information needed to trigger a buildvoidsetBaseOSExtensionsImagePullspec(String baseOSExtensionsImagePullspec)baseOSExtensionsImagePullspec is the base Extensions image used in the build process the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf.voidsetBaseOSImagePullspec(String baseOSImagePullspec)baseOSImagePullspec is the base OSImage we use to build our custom image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf.voidsetContainerFile(List<MachineOSContainerfile> containerFile)containerFile describes the custom data the user has specified to build into the image. this is also commonly called a Dockerfile and you can treat it as such.voidsetImageBuilder(MachineOSImageBuilder imageBuilder)BuildInputs holds all of the information needed to trigger a buildvoidsetReleaseVersion(String releaseVersion)releaseVersion is associated with the base OS Image.voidsetRenderedImagePushSecret(ImageSecretObjectReference renderedImagePushSecret)BuildInputs holds all of the information needed to trigger a buildvoidsetRenderedImagePushspec(String renderedImagePushspec)renderedImagePushspec describes the location of the final image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf.BuildInputsBuildertoBuilder()
-
-
-
Constructor Detail
-
BuildInputs
public BuildInputs()
No args constructor for use in serialization
-
BuildInputs
public BuildInputs(ImageSecretObjectReference baseImagePullSecret, String baseOSExtensionsImagePullspec, String baseOSImagePullspec, List<MachineOSContainerfile> containerFile, MachineOSImageBuilder imageBuilder, String releaseVersion, ImageSecretObjectReference renderedImagePushSecret, String renderedImagePushspec)
-
-
Method Detail
-
getBaseImagePullSecret
public ImageSecretObjectReference getBaseImagePullSecret()
BuildInputs holds all of the information needed to trigger a build
-
setBaseImagePullSecret
public void setBaseImagePullSecret(ImageSecretObjectReference baseImagePullSecret)
BuildInputs holds all of the information needed to trigger a build
-
getBaseOSExtensionsImagePullspec
public String getBaseOSExtensionsImagePullspec()
baseOSExtensionsImagePullspec is the base Extensions image used in the build process the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
-
setBaseOSExtensionsImagePullspec
public void setBaseOSExtensionsImagePullspec(String baseOSExtensionsImagePullspec)
baseOSExtensionsImagePullspec is the base Extensions image used in the build process the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
-
getBaseOSImagePullspec
public String getBaseOSImagePullspec()
baseOSImagePullspec is the base OSImage we use to build our custom image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
-
setBaseOSImagePullspec
public void setBaseOSImagePullspec(String baseOSImagePullspec)
baseOSImagePullspec is the base OSImage we use to build our custom image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pullspec is: host[:port][/namespace]/name@sha256:<digest>
-
getContainerFile
public List<MachineOSContainerfile> getContainerFile()
containerFile describes the custom data the user has specified to build into the image. this is also commonly called a Dockerfile and you can treat it as such. The content is the content of your Dockerfile.
-
setContainerFile
public void setContainerFile(List<MachineOSContainerfile> containerFile)
containerFile describes the custom data the user has specified to build into the image. this is also commonly called a Dockerfile and you can treat it as such. The content is the content of your Dockerfile.
-
getImageBuilder
public MachineOSImageBuilder getImageBuilder()
BuildInputs holds all of the information needed to trigger a build
-
setImageBuilder
public void setImageBuilder(MachineOSImageBuilder imageBuilder)
BuildInputs holds all of the information needed to trigger a build
-
getReleaseVersion
public String getReleaseVersion()
releaseVersion is associated with the base OS Image. This is the version of Openshift that the Base Image is associated with. This field is populated from the machine-config-osimageurl configmap in the openshift-machine-config-operator namespace. It will come in the format: 4.16.0-0.nightly-2024-04-03-065948 or any valid release. The MachineOSBuilder populates this field and validates that this is a valid stream. This is used as a label in the dockerfile that builds the OS image.
-
setReleaseVersion
public void setReleaseVersion(String releaseVersion)
releaseVersion is associated with the base OS Image. This is the version of Openshift that the Base Image is associated with. This field is populated from the machine-config-osimageurl configmap in the openshift-machine-config-operator namespace. It will come in the format: 4.16.0-0.nightly-2024-04-03-065948 or any valid release. The MachineOSBuilder populates this field and validates that this is a valid stream. This is used as a label in the dockerfile that builds the OS image.
-
getRenderedImagePushSecret
public ImageSecretObjectReference getRenderedImagePushSecret()
BuildInputs holds all of the information needed to trigger a build
-
setRenderedImagePushSecret
public void setRenderedImagePushSecret(ImageSecretObjectReference renderedImagePushSecret)
BuildInputs holds all of the information needed to trigger a build
-
getRenderedImagePushspec
public String getRenderedImagePushspec()
renderedImagePushspec describes the location of the final image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pushspec is: host[:port][/namespace]/name:<tag> or svc_name.namespace.svc[:port]/repository/name:<tag>
-
setRenderedImagePushspec
public void setRenderedImagePushspec(String renderedImagePushspec)
renderedImagePushspec describes the location of the final image. the MachineOSConfig object will use the in cluster image registry configuration. if you wish to use a mirror or any other settings specific to registries.conf, please specify those in the cluster wide registries.conf. The format of the image pushspec is: host[:port][/namespace]/name:<tag> or svc_name.namespace.svc[:port]/repository/name:<tag>
-
edit
public BuildInputsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildInputsBuilder>
-
toBuilder
public BuildInputsBuilder toBuilder()
-
-