Documentation ¶
Overview ¶
Package login defines helpers functions used to login to OCI registries using different authentication mechanisms.
Index ¶
- func PerformAuthsFromConfig(ctx context.Context, client *auth.Client, credStore credentials.Store, ...) error
- func PerformAuthsFromConfigWithMap(ctx context.Context, client *auth.Client, credStore credentials.Store, ...) error
- func PerformBasicAuthsLogin(ctx context.Context, client *auth.Client, credStore credentials.Store, ...) error
- func PerformGcpAuthsLogin(ctx context.Context, auths []config.GcpAuth, registrySet map[string]bool) error
- func PerformOauthAuths(ctx context.Context, auths []config.OauthAuth, registrySet map[string]bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformAuthsFromConfig ¶
func PerformAuthsFromConfig(ctx context.Context, client *auth.Client, credStore credentials.Store, registries []string) error
PerformAuthsFromConfig logins to the specified registries and stores credentials in local stores.
func PerformAuthsFromConfigWithMap ¶
func PerformAuthsFromConfigWithMap(ctx context.Context, client *auth.Client, credStore credentials.Store, registrySet map[string]bool) error
PerformAuthsFromConfigWithMap logins to the specified registry set and stores credentials in local stores.
func PerformBasicAuthsLogin ¶
func PerformBasicAuthsLogin( ctx context.Context, client *auth.Client, credStore credentials.Store, auths []config.BasicAuth, registrySet map[string]bool, ) error
PerformBasicAuthsLogin logins to the registries using basic auth and stores the credentials in a local store.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package basic implements basic auth login functionality.
|
Package basic implements basic auth login functionality. |
Package gcp implements gcp credentials login functionality.
|
Package gcp implements gcp credentials login functionality. |
Package oauth implements oauth client credentials login functionality.
|
Package oauth implements oauth client credentials login functionality. |
Click to show internal directories.
Click to hide internal directories.