authenticator

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelmSecret

func NewHelmSecret() *helmSecret

Types

type Authenticator

type Authenticator interface {
	// AuthFilename Gets Authentication File Path for OCI Registry
	AuthFilename() (string, error)
}

Authenticator is an interface for creating an authentication file with credentials to private registries

Currently this is used with the Helm Driver which takes credentials in this way For this first implementation, kubernetes secrets will be used to pass in a token

type DockerAuth

type DockerAuth struct {
	Auths map[string]DockerAuthRegistry `json:"auths,omitempty"`
}

DockerAuth Structure for the authentication file

type DockerAuthRegistry

type DockerAuthRegistry struct {
	Auth string `json:"auth"`
}

Jump to

Keyboard shortcuts

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