registry

package
v0.0.0-...-9dfe280 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	Protocol string
	BaseUrl  string
	SubPath  string
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(protocol, baseUrl, subPath string) Registry

func (*Registry) ListRepositories

func (r *Registry) ListRepositories() ([]string, error)

func (*Registry) Tags

func (r *Registry) Tags(name string) ([]string, error)

type TokenTransport

type TokenTransport struct {
	Transport http.RoundTripper
}

func (*TokenTransport) RoundTrip

func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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