login

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAuthentication

func ConfigureAuthentication(authConfig *registry.AuthConfig, username, password string) error

func GetDefaultAuthConfig

func GetDefaultAuthConfig(checkCredStore bool, serverAddress string, isDefaultRegistry bool) (*registry.AuthConfig, error)

GetDefaultAuthConfig gets the default auth config given a serverAddress. If credentials for given serverAddress exists in the credential store, the configuration will be populated with values in it. Code from github.com/docker/cli/cli/command (v20.10.3).

func Login

func Login(ctx context.Context, options types.LoginCommandOptions, stdout io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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