Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEnvVar ¶
BuildEnvVar creates the contents to use for authentication environment variable.
Complementary to `ReadEnvVar`.
func EnvKeychain ¶
EnvKeychain creates a keychain augmenting the default keychain with information from an environment variable.
See `ReadEnvVar`.
func ReadEnvVar ¶
ReadEnvVar parses an environment variable to produce a map of 'registry url' to 'authorization header'.
Complementary to `BuildEnvVar`.
Example Input:
{"gcr.io": "Bearer asdf=", "docker.io": "Basic qwerty="}
Example Output:
gcr.io -> Bearer asdf= docker.io -> Basic qwerty=
func ReferenceForRepoName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.