Documentation ¶
Index ¶
- func ConfigureAuthentication(authConfig *dockerapitypes.AuthConfig, username, password string) error
- func GetDefaultAuthConfig(checkCredStore bool, serverAddress string, isDefaultRegistry bool) (*dockerapitypes.AuthConfig, error)
- func Login(ctx context.Context, options types.LoginCommandOptions, stdout io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAuthentication ¶
func ConfigureAuthentication(authConfig *dockerapitypes.AuthConfig, username, password string) error
func GetDefaultAuthConfig ¶
func GetDefaultAuthConfig(checkCredStore bool, serverAddress string, isDefaultRegistry bool) (*dockerapitypes.AuthConfig, error)
Code from github.com/docker/cli/cli/command (v20.10.3) 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.