Crate wick_oci_utils

Source
Expand description

OCI fetch and utility package

Re-exports§

pub use error::OciError as Error;
pub use utils::get_cache_directory;
pub use utils::is_oci_reference;
pub use utils::is_wick_package_reference;
pub use utils::parse_reference;
pub use utils::parse_reference_and_protocol;

Modules§

error
This crate’s error module.
package
OCI utilities related to pushing and pulling Wick packages.
utils

Structs§

AssetManifest
OciDescriptor
The OCI descriptor is a generic object used to describe other objects.
OciImageIndex
The image index is a higher-level manifest which points to specific image manifest.
OciImageManifest
The OCI image manifest describes an OCI image.
OciOptions
WickOciConfig
This is the oci manifest config for Wick packages.

Enums§

ClientProtocol
The protocol that the client should use to connect
OciManifest
An image, or image index, OCI manifest
OnExisting
WickPackageKind
Represents the kind of Wick package. This is used to determine how to handle the package.

Constants§

OCI_VAR_PASSWORD
The ENV variable holding the OCI password.
OCI_VAR_USER
The ENV variable holding the OCI username.

Functions§

fetch_image_manifest
Retrieve a manifest from an OCI url.
pull
push