Help us shape the future of Go! Take the 2026 Go Developer Survey

auth

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeRemoteRegistryRequestOptions

func MakeRemoteRegistryRequestOptions(authProvider authn.Authenticator, insecure, skipTLSVerification bool) ([]name.Option, []remote.Option)

func MakeRemoteRegistryRequestOptionsFromMirrorContext

func MakeRemoteRegistryRequestOptionsFromMirrorContext(mirrorCtx *contexts.BaseContext) ([]name.Option, []remote.Option)

func ValidateReadAccessForImage

func ValidateReadAccessForImage(imageTag string, authProvider authn.Authenticator, insecure, skipVerifyTLS bool) error

func ValidateReadAccessForImageContext added in v0.6.0

func ValidateReadAccessForImageContext(
	ctx context.Context,
	imageTag string,
	authProvider authn.Authenticator,
	insecure, skipVerifyTLS bool,
) error

func ValidateWriteAccessForRepo

func ValidateWriteAccessForRepo(repo string, authProvider authn.Authenticator, insecure, skipVerifyTLS bool) error

func ValidateWriteAccessForRepoContext added in v0.6.0

func ValidateWriteAccessForRepoContext(
	ctx context.Context,
	repo string,
	authProvider authn.Authenticator,
	insecure, skipVerifyTLS bool,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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