simpleauth

package
v0.8.7-303-g16b77529 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package simpleauth implements a basic pass-by-reference of credentials for the authn.Authenticator interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleAuthenticator

type SimpleAuthenticator struct {
	Auth *authn.AuthConfig
}

SimpleAuthenticator is used to handle looking up the already populated user configuration that is used when speaking with the remote registry.

func (*SimpleAuthenticator) Authorization

func (auth *SimpleAuthenticator) Authorization() (*authn.AuthConfig, error)

Authorization implements authn.Authenticator.

Jump to

Keyboard shortcuts

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