Documentation ¶
Index ¶
- func GetAllAuthConfigs() (map[string]types.AuthConfig, error)
- func GetAuthConfig(client client.CommonAPIClient, registryURL string, checkCredentialsStore bool) (*types.AuthConfig, error)
- func GetRegistryEndpoint(client client.CommonAPIClient, registryURL string) (bool, string, error)
- func Login(client client.CommonAPIClient, registryURL, user, password string, ...) (*types.AuthConfig, error)
- func NewClient(preferMinikube bool) (client.CommonAPIClient, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllAuthConfigs ¶
func GetAllAuthConfigs() (map[string]types.AuthConfig, error)
GetAllAuthConfigs returns every auth config found in the docker config
func GetAuthConfig ¶
func GetAuthConfig(client client.CommonAPIClient, registryURL string, checkCredentialsStore bool) (*types.AuthConfig, error)
GetAuthConfig returns the AuthConfig for a Docker registry from the Docker credential helper
func GetRegistryEndpoint ¶
GetRegistryEndpoint retrieves the correct registry url
func Login ¶
func Login(client client.CommonAPIClient, registryURL, user, password string, checkCredentialsStore, saveAuthConfig bool) (*types.AuthConfig, error)
Login logs the user into docker
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.