auth

package
v0.7.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dockerfile

func Dockerfile(registry, username, password string) ([]byte, error)

Types

type Credentials

type Credentials interface {
	Name() string
	DestinationContext() (*types.SystemContext, error)
	Pulltoken() ([]byte, error)
}

DockerCredentials manages secrets for various docker registries

func ECRCredentials

func ECRCredentials(token string) (Credentials, error)

func GetPushCredentials

func GetPushCredentials(secrets []corev1.Secret) Credentials

Jump to

Keyboard shortcuts

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