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

A client for /v2/<name>/ API endpoint

Implementations

Get tags of <name> repository.

GET /v2/<name>/tags/list

See corresponding OCI distribution spec document for detail.

Get manifest for given repository

GET /v2/<name>/manifests/<reference>

See corresponding OCI distribution spec document for detail.

Push manifest to registry

PUT /v2/<name>/manifests/<reference>

Manifest must be pushed after blobs are updated.

See corresponding OCI distribution spec document for detail.

Get blob for given digest

GET /v2/<name>/blobs/<digest>

See corresponding OCI distribution spec document for detail.

Push blob to registry

POST /v2/<name>/blobs/uploads/

and following PUT to URL obtained by POST.

See corresponding OCI distribution spec document for detail.

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.

Calls U::from(self).

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

Should always be Self

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.