containerregistry

package
v0.0.0-...-51fdc63 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 14 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 {
}

func (*Client) Head

func (c *Client) Head(imageName string) error

func (*Client) ListTagsWithConstraint

func (c *Client) ListTagsWithConstraint(repoName string, constraint string) ([]string, error)

func (*Client) ManifestOrIndex

func (c *Client) ManifestOrIndex(image string) ([]byte, error)

func (*Client) VersionFromSbom

func (c *Client) VersionFromSbom(mainPkg string, imageRef string) (string, error)

type Interface

type Interface interface {
	Head(imageName string) error
	ManifestOrIndex(repoName string) ([]byte, error)
	ListTagsWithConstraint(repoName, constraint string) ([]string, error)
	VersionFromSbom(mainPkg, repo string) (string, error)
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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