Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewECRSecret ¶ added in v0.2.0
Types ¶
type Authenticator ¶
type Authenticator interface { // AuthFilename Gets Authentication File Path for OCI Registry AuthFilename() string // AddToConfigMap Adds Namespace to config map AddToConfigMap(ctx context.Context, name string, namespace string) error // DelFromConfigMap Removes Namespace from config map DelFromConfigMap(ctx context.Context, name string, namespace string) error // GetSecretValues Retrieves ImagePullSecrets data to pass to helm chart GetSecretValues(ctx context.Context, namespace string) (map[string]interface{}, 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"`
}
Click to show internal directories.
Click to hide internal directories.