Module oci_client::client
source · Expand description
OCI distribution client for fetching oci images from an OCI compliant remote store
Structs§
- A x509 certificate
- The OCI client connects to an OCI registry and fetches OCI images.
- A client configuration
- The data and media type for a configuration object
- The data for an image or module.
- The data and media type for an image layer
- Layer descriptor required to pull a layer
- The data returned by an OCI registry after a successful push operation is completed
- Stream response of a blob with optional content length if available
- The data returned by a successful tags/list Request
Enums§
- The response of a partial blob request
- The encoding of the certificate
- The protocol that the client should use to connect
Constants§
- Default value for
ClientConfig::max_concurrent_download
- Default value for
ClientConfig::max_concurrent_upload
- Default value for
ClientConfig:default_token_expiration_secs
Traits§
- A trait for converting any type into a
LayerDescriptor
- A source that can provide a
ClientConfig
. If you are using this crate in your own application, you can implement this trait on your configuration type so that it can be passed toClient::from_source
.
Functions§
- A platform resolver that chooses the first variant matching the running OS/Arch, if present. Doesn’t currently handle platform.variants.
- A platform resolver that chooses the first linux/amd64 variant, if present
- A platform resolver that chooses the first windows/amd64 variant, if present