Package io.fabric8.openshift.api.model
Class ImageManifest
- java.lang.Object
-
- io.fabric8.openshift.api.model.ImageManifest
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageManifestBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageManifest extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageManifestBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageManifest represents sub-manifests of a manifest list. The Digest field points to a regular Image object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageManifest()No args constructor for use in serializationImageManifest(String architecture, String digest, Long manifestSize, String mediaType, String os, String variant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageManifestBuilderedit()Map<String,Object>getAdditionalProperties()StringgetArchitecture()architecture specifies the supported CPU architecture, for example `amd64` or `ppc64le`.StringgetDigest()digest is the unique identifier for the manifest.LonggetManifestSize()manifestSize represents the size of the raw object contents, in bytes.StringgetMediaType()mediaType defines the type of the manifest, possible values are application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json or application/vnd.docker.distribution.manifest.v1+json.StringgetOs()os specifies the operating system, for example `linux`.StringgetVariant()variant is an optional field repreenting a variant of the CPU, for example v6 to specify a particular CPU variant of the ARM CPU.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArchitecture(String architecture)architecture specifies the supported CPU architecture, for example `amd64` or `ppc64le`.voidsetDigest(String digest)digest is the unique identifier for the manifest.voidsetManifestSize(Long manifestSize)manifestSize represents the size of the raw object contents, in bytes.voidsetMediaType(String mediaType)mediaType defines the type of the manifest, possible values are application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json or application/vnd.docker.distribution.manifest.v1+json.voidsetOs(String os)os specifies the operating system, for example `linux`.voidsetVariant(String variant)variant is an optional field repreenting a variant of the CPU, for example v6 to specify a particular CPU variant of the ARM CPU.ImageManifestBuildertoBuilder()
-
-
-
Method Detail
-
getArchitecture
public String getArchitecture()
architecture specifies the supported CPU architecture, for example `amd64` or `ppc64le`.
-
setArchitecture
public void setArchitecture(String architecture)
architecture specifies the supported CPU architecture, for example `amd64` or `ppc64le`.
-
getDigest
public String getDigest()
digest is the unique identifier for the manifest. It refers to an Image object.
-
setDigest
public void setDigest(String digest)
digest is the unique identifier for the manifest. It refers to an Image object.
-
getManifestSize
public Long getManifestSize()
manifestSize represents the size of the raw object contents, in bytes.
-
setManifestSize
public void setManifestSize(Long manifestSize)
manifestSize represents the size of the raw object contents, in bytes.
-
getMediaType
public String getMediaType()
mediaType defines the type of the manifest, possible values are application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json or application/vnd.docker.distribution.manifest.v1+json.
-
setMediaType
public void setMediaType(String mediaType)
mediaType defines the type of the manifest, possible values are application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json or application/vnd.docker.distribution.manifest.v1+json.
-
getOs
public String getOs()
os specifies the operating system, for example `linux`.
-
setOs
public void setOs(String os)
os specifies the operating system, for example `linux`.
-
getVariant
public String getVariant()
variant is an optional field repreenting a variant of the CPU, for example v6 to specify a particular CPU variant of the ARM CPU.
-
setVariant
public void setVariant(String variant)
variant is an optional field repreenting a variant of the CPU, for example v6 to specify a particular CPU variant of the ARM CPU.
-
edit
public ImageManifestBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageManifestBuilder>
-
toBuilder
public ImageManifestBuilder toBuilder()
-
-