package
0.0.0-20231113155554-3d2dcd121ffc
Repository: https://github.com/crossplane/function-runtime-oci.git
Documentation: pkg.go.dev

# Packages

Package layer extracts OCI image layer tarballs.
Package spec implements OCI runtime spec support.
Package store implements OCI container storage.

# Functions

NewCachingPuller returns an OCI image puller with a local cache.
ParseCertificatesFromPath parses PEM file containing extra x509 certificates(s) and combines them with the built in root CA CertPool.
WithCustomCA adds given root certificates to tls client configuration.
WithPullAuth specifies how a client should authenticate to a remote.
WithPullPolicy specifies whether a client may pull from a remote.

# Constants

ImagePullPolicyAlways always pulls at least the image manifest from the remote.
ImagePullPolicyIfNotPresent only pulls from a remote if the image is not in the local cache.
ImagePullPolicyNever never pulls anything from the remote.

# Structs

A CachingPuller pulls OCI images.
ImageClientOptions configure an ImageClient.
ImagePullAuth configures authentication to a remote registry.
A RemoteClient fetches OCI image manifests.

# Interfaces

A HashCache maps OCI references to hashes.
An ImageCache caches OCI images.
An ImageClient is an OCI registry client.

# Type aliases

An ImageClientOption configures an ImageClient.
An ImagePullPolicy dictates when an image may be pulled from a remote.