client

package
v1.75.2 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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