api

package
v0.0.0-...-bbf327f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithPlatforms

func WithPlatforms(v1Platforms ...*v1.Platform) func(*PullOption)

Types

type AuthLookupKeychain

type AuthLookupKeychain struct {
	// contains filtered or unexported fields
}

func NewAuthLookupKeychain

func NewAuthLookupKeychain(lookup LookupValue) *AuthLookupKeychain

func (*AuthLookupKeychain) Resolve

func (ak *AuthLookupKeychain) Resolve(target authn.Resource) (authn.Authenticator, error)

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cacheDir string) *Client

func (*Client) Pull

func (c *Client) Pull(ctx context.Context, ref name.Reference, opts ...func(*PullOption)) (string, error)

type LookupValue

type LookupValue func(key string) (string, bool)

type PullOption

type PullOption struct {
	Platforms []platforms.Platform
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL