Expand description
OCI distribution client for fetching oci images from an OCI compliant remote store
Structs§
- Certificate
- A x509 certificate
- Client
- The OCI client connects to an OCI registry and fetches OCI images.
- Client
Config - A client configuration
- Config
- The data and media type for a configuration object
- Image
Data - The data for an image or module.
- Image
Layer - The data and media type for an image layer
- Layer
Descriptor - Layer descriptor required to pull a layer
- Push
Response - The data returned by an OCI registry after a successful push operation is completed
- Sized
Stream - Stream response of a blob with optional content length if available
- TagResponse
- The data returned by a successful tags/list Request
Enums§
- Blob
Response - The response of a partial blob request
- Certificate
Encoding - The encoding of the certificate
- Client
Protocol - The protocol that the client should use to connect
Constants§
- DEFAULT_
MAX_ CONCURRENT_ DOWNLOAD - Default value for
ClientConfig::max_concurrent_download
- DEFAULT_
MAX_ CONCURRENT_ UPLOAD - Default value for
ClientConfig::max_concurrent_upload
- DEFAULT_
TOKEN_ EXPIRATION_ SECS - Default value for
ClientConfig:default_token_expiration_secs
Traits§
- AsLayer
Descriptor - A trait for converting any type into a
LayerDescriptor
- Client
Config Source - 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§
- current_
platform_ resolver - A platform resolver that chooses the first variant matching the running OS/Arch, if present. Doesn’t currently handle platform.variants.
- linux_
amd64_ resolver - A platform resolver that chooses the first linux/amd64 variant, if present
- windows_
amd64_ resolver - A platform resolver that chooses the first windows/amd64 variant, if present