Class MachineOSConfigSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1.MachineOSConfigSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineOSConfigSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineOSConfigSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineOSConfigSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineOSConfigSpec describes user-configurable options as well as information about a build process.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineOSConfigSpec()No args constructor for use in serializationMachineOSConfigSpec(ImageSecretObjectReference baseImagePullSecret, List<MachineOSContainerfile> containerFile, MachineOSImageBuilder imageBuilder, MachineConfigPoolReference machineConfigPool, ImageSecretObjectReference renderedImagePushSecret, String renderedImagePushSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineOSConfigSpecBuilderedit()Map<String,Object>getAdditionalProperties()ImageSecretObjectReferencegetBaseImagePullSecret()MachineOSConfigSpec describes user-configurable options as well as information about a build process.List<MachineOSContainerfile>getContainerFile()containerFile describes the custom data the user has specified to build into the image.MachineOSImageBuildergetImageBuilder()MachineOSConfigSpec describes user-configurable options as well as information about a build process.MachineConfigPoolReferencegetMachineConfigPool()MachineOSConfigSpec describes user-configurable options as well as information about a build process.ImageSecretObjectReferencegetRenderedImagePushSecret()MachineOSConfigSpec describes user-configurable options as well as information about a build process.StringgetRenderedImagePushSpec()renderedImagePushSpec describes the location of the final image.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBaseImagePullSecret(ImageSecretObjectReference baseImagePullSecret)MachineOSConfigSpec describes user-configurable options as well as information about a build process.voidsetContainerFile(List<MachineOSContainerfile> containerFile)containerFile describes the custom data the user has specified to build into the image.voidsetImageBuilder(MachineOSImageBuilder imageBuilder)MachineOSConfigSpec describes user-configurable options as well as information about a build process.voidsetMachineConfigPool(MachineConfigPoolReference machineConfigPool)MachineOSConfigSpec describes user-configurable options as well as information about a build process.voidsetRenderedImagePushSecret(ImageSecretObjectReference renderedImagePushSecret)MachineOSConfigSpec describes user-configurable options as well as information about a build process.voidsetRenderedImagePushSpec(String renderedImagePushSpec)renderedImagePushSpec describes the location of the final image.MachineOSConfigSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
MachineOSConfigSpec
public MachineOSConfigSpec()
No args constructor for use in serialization
-
MachineOSConfigSpec
public MachineOSConfigSpec(ImageSecretObjectReference baseImagePullSecret, List<MachineOSContainerfile> containerFile, MachineOSImageBuilder imageBuilder, MachineConfigPoolReference machineConfigPool, ImageSecretObjectReference renderedImagePushSecret, String renderedImagePushSpec)
-
-
Method Detail
-
getBaseImagePullSecret
public ImageSecretObjectReference getBaseImagePullSecret()
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
setBaseImagePullSecret
public void setBaseImagePullSecret(ImageSecretObjectReference baseImagePullSecret)
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
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. See https://github.com/containers/common/blob/main/docs/Containerfile.5.md for the spec reference. This is a list indexed by architecture name (e.g. AMD64), and allows specifying one containerFile per arch, up to 4.
-
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. See https://github.com/containers/common/blob/main/docs/Containerfile.5.md for the spec reference. This is a list indexed by architecture name (e.g. AMD64), and allows specifying one containerFile per arch, up to 4.
-
getImageBuilder
public MachineOSImageBuilder getImageBuilder()
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
setImageBuilder
public void setImageBuilder(MachineOSImageBuilder imageBuilder)
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
getMachineConfigPool
public MachineConfigPoolReference getMachineConfigPool()
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
setMachineConfigPool
public void setMachineConfigPool(MachineConfigPoolReference machineConfigPool)
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
getRenderedImagePushSecret
public ImageSecretObjectReference getRenderedImagePushSecret()
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
setRenderedImagePushSecret
public void setRenderedImagePushSecret(ImageSecretObjectReference renderedImagePushSecret)
MachineOSConfigSpec describes user-configurable options as well as information about a build process.
-
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 via the cluster image.config, ImageContentSourcePolicies, ImageDigestMirrorSet, or ImageTagMirrorSet objects. The format of the image push spec is: host[:port][/namespace]/name:<tag> or svc_name.namespace.svc[:port]/repository/name:<tag>. The length of the push spec must be between 1 to 447 characters.
-
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 via the cluster image.config, ImageContentSourcePolicies, ImageDigestMirrorSet, or ImageTagMirrorSet objects. The format of the image push spec is: host[:port][/namespace]/name:<tag> or svc_name.namespace.svc[:port]/repository/name:<tag>. The length of the push spec must be between 1 to 447 characters.
-
edit
public MachineOSConfigSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineOSConfigSpecBuilder>
-
toBuilder
public MachineOSConfigSpecBuilder toBuilder()
-
-