credentials

package
v0.0.0-...-31b96a6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChooseCredentialHelperCallback

type ChooseCredentialHelperCallback func(available []string) (string, error)

type CredentialsCallback

type CredentialsCallback func(registry string) (pusher.Credentials, error)

type Opt

type Opt func(opts *credentialsProvider)

func WithPromptForCredentialStore

func WithPromptForCredentialStore(cbk ChooseCredentialHelperCallback) Opt

func WithPromptForCredentials

func WithPromptForCredentials(cbk CredentialsCallback) Opt

func WithTransport

func WithTransport(transport http.RoundTripper) Opt

func WithVerifyCredentials

func WithVerifyCredentials(cbk VerifyCredentialsCallback) Opt

type VerifyCredentialsCallback

type VerifyCredentialsCallback func(ctx context.Context, image string, credentials pusher.Credentials) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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