Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialsProvider ¶
func NewCredentialsProvider(configPath string, opts ...Opt) pusher.CredentialsProvider
func RegistryEquals ¶
Types ¶
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
Click to show internal directories.
Click to hide internal directories.