auth

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 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