MCPcopy Create free account
hub / github.com/containers/image / UpdatedImage

Method UpdatedImage

types/types.go:436–436  ·  view source on GitHub ↗

UpdatedImage returns a types.Image modified according to options. Everything in options.InformationOnly should be provided, other fields should be set only if a modification is desired. This does not change the state of the original Image object. The returned error will be a manifest.ManifestLayerCo

(ctx context.Context, options ManifestUpdateOptions)

Source from the content-addressed store, hash-verified

434 // options.ManifestMIMEType or with different CompressionOperation+CompressionAlgorithm
435 // values might succeed.
436 UpdatedImage(ctx context.Context, options ManifestUpdateOptions) (Image, error)
437 // SupportsEncryption returns an indicator that the image supports encryption
438 //
439 // Deprecated: Initially used to determine if a manifest can be copied from a source manifest type since

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected