client

package
v1.75.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(wrapped registry.Client) *Client

func (*Client) CheckImageExists

func (c *Client) CheckImageExists(ctx context.Context, ref string) error

func (*Client) GetDigest

func (c *Client) GetDigest(ctx context.Context, ref string) (*v1.Hash, error)

func (*Client) GetImage

func (c *Client) GetImage(ctx context.Context, ref string, opts ...registry.ImageGetOption) (registry.Image, error)

func (*Client) GetImageConfig

func (c *Client) GetImageConfig(ctx context.Context, ref string) (*v1.ConfigFile, error)

func (*Client) GetManifest

func (c *Client) GetManifest(ctx context.Context, ref string) (registry.ManifestResult, error)

func (*Client) GetRegistry

func (c *Client) GetRegistry() string

func (*Client) ListRepositories

func (c *Client) ListRepositories(ctx context.Context, opts ...registry.ListRepositoriesOption) ([]string, error)

func (*Client) ListTags

func (c *Client) ListTags(ctx context.Context, opts ...registry.ListTagsOption) ([]string, error)

func (*Client) PushImage

func (c *Client) PushImage(ctx context.Context, ref string, img v1.Image, opts ...registry.ImagePushOption) error

func (*Client) WithSegment

func (c *Client) WithSegment(segments ...string) registry.Client

Jump to

Keyboard shortcuts

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