Documentation
¶
Overview ¶
Package oci contains the OCI client interface and implementation.
Index ¶
Constants ¶
View Source
const Scheme = "oci://"
Scheme is the URI scheme for an OCI registry.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an interface for interacting with an OCI registry.
func NewOCIClient ¶
NewOCIClient creates a new OCI client with the given options.
func (Client) PullChart ¶
func (c Client) PullChart(opts ImageOptions) error
PullChart pulls a Helm chart from the given ImageOptions.
func (Client) WriteLayer ¶
WriteLayer writes a layer to the filesystem.
type ImageOptions ¶
ImageOptions defines the options for pulling an image.
type Option ¶
type Option func(*Client)
Option is a functional option for configuring the OCI client.
func WithMultiAuth ¶
func WithMultiAuth() Option
WithMultiAuth configures the OCI client with multiple authentication keychains.
func WithTLSConfig ¶
WithTLSConfig configures the OCI client with the given TLS options.
Click to show internal directories.
Click to hide internal directories.