auth

package
v0.0.0-...-ae8f9ef Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegistryAuthFor

func RegistryAuthFor(a Authenticator, image string) (string, error)

Types

type Authenticator

type Authenticator interface {
	GetAuthConfig(registryHostname string) (types.AuthConfig, error)
}
var EmptyAuthenticator Authenticator = emptyAuthenticator{}

func FromConfigFile

func FromConfigFile(c *configfile.ConfigFile) Authenticator

func FromReader

func FromReader(r io.Reader) (Authenticator, error)

Jump to

Keyboard shortcuts

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