registries

package
v2.21.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthEntry added in v2.9.0

type AuthEntry struct {
	Registry      string
	Username      string
	Password      string
	Auth          string
	CABundle      []byte
	Insecure      bool
	SkipTlsVerify bool
}

type RegistryHelper added in v2.9.0

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

func NewRegistryHelper added in v2.9.0

func NewRegistryHelper(ctx context.Context) *RegistryHelper

func (*RegistryHelper) AddAuthEntry added in v2.9.0

func (rh *RegistryHelper) AddAuthEntry(e AuthEntry)

func (*RegistryHelper) ListImageTags added in v2.9.0

func (rh *RegistryHelper) ListImageTags(image string) ([]string, error)

func (*RegistryHelper) ParseAuthEntriesFromEnv added in v2.9.0

func (rh *RegistryHelper) ParseAuthEntriesFromEnv() error

func (*RegistryHelper) Resolve added in v2.9.0

func (rh *RegistryHelper) Resolve(resource authn.Resource) (authn.Authenticator, error)

func (*RegistryHelper) RoundTrip added in v2.9.0

func (rh *RegistryHelper) RoundTrip(req *http.Request) (*http.Response, error)

func (*RegistryHelper) RoundTripAuth added in v2.9.0

func (rh *RegistryHelper) RoundTripAuth(req *http.Request) (*http.Response, error)

func (*RegistryHelper) RoundTripCached added in v2.9.0

func (rh *RegistryHelper) RoundTripCached(req *http.Request, extraKey string, onNew func(res *http.Response) error) (*http.Response, error)

func (*RegistryHelper) RoundTripInfoReq added in v2.9.0

func (rh *RegistryHelper) RoundTripInfoReq(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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