auth

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryAuth

type RegistryAuth interface {
	// CredentialFunc returns an authentication mechanism that can be used to access the registry at the provided URL.
	CredentialFunc(scope string) (auth2.CredentialFunc, error)
}

RegistryAuth abstracts over credentials that can be used to access registries.

func NewClientAuthFromToken

func NewClientAuthFromToken(token string) RegistryAuth

Jump to

Keyboard shortcuts

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