pub struct ImageProxy { /* private fields */ }
Expand description

Manage a child process proxy to fetch container images.

Implementations

Create an image proxy that fetches the target image, using default configuration.

Create an image proxy that fetches the target image

Fetch the manifest as raw bytes, converted to OCI if necessary. The original digest of the unconverted manifest is also returned. For more information on OCI manifests, see https://github.com/opencontainers/image-spec/blob/main/manifest.md

Fetch the manifest. For more information on OCI manifests, see https://github.com/opencontainers/image-spec/blob/main/manifest.md

Fetch the config. For more information on OCI config, see https://github.com/opencontainers/image-spec/blob/main/config.md

Fetch the config. For more information on OCI config, see https://github.com/opencontainers/image-spec/blob/main/config.md

Fetch a blob identified by e.g. sha256:<digest>. https://github.com/opencontainers/image-spec/blob/main/descriptor.md

The requested size and digest are verified (by the proxy process).

Close the connection and wait for the child process to exit successfully.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more