credentials

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CloudAuthRegistry = &cloudauth.Registry{}

Functions

func LoadCloudProviders

func LoadCloudProviders(ctx context.Context, log logr.Logger) error

LoadCloudProviders adds all cloud authentication providers to the CloudAuthRegistry.

func Persist

func Persist(
	ctx context.Context,
	logger logr.Logger,
	cfg *rest.Config,
	credentials []hephv1.RegistryCredentials,
) (string, []string, error)

func Verify added in v0.1.10

func Verify(ctx context.Context, configDir string, insecureRegistries []string, helpMessage []string) error

Types

type AuthConfigs

type AuthConfigs map[string]types.AuthConfig

AuthConfigs is a map of registry urls to authentication credentials.

type DockerConfigJSON

type DockerConfigJSON struct {
	Auths AuthConfigs `json:"auths"`
}

DockerConfigJSON models the structure of .dockerconfigjson data.

Directories

Path Synopsis
acr
ecr
gcr

Jump to

Keyboard shortcuts

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