registry

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: Apache-2.0 Imports: 11 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 interface {
	AuthHeader(image string) (string, error)
	TagsURL(image, pagination string) string
	HTTPClient() *http.Client
}

type Registry

type Registry struct {
	Client *http.Client
	// contains filtered or unexported fields
}

func New

func New() *Registry

func (Registry) Tags

func (r Registry) Tags(image string) ([]string, error)

Tags return all tags for an image

type Tags

type Tags struct {
	versioned.Versions
}

Jump to

Keyboard shortcuts

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