Documentation ¶
Index ¶
- func CreateSecret(secretsClient kcl.SecretsInterface, dockerconfig credentials.DockerConfig) error
- func GetRegistryParams(registryCredLocation string) (credentials.Parameters, error)
- func UpdateSecret(secretsClient kcl.SecretsInterface, dockerconfig credentials.DockerConfig) error
- type AuthInfo
- type AuthsStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSecret ¶
func CreateSecret(secretsClient kcl.SecretsInterface, dockerconfig credentials.DockerConfig) error
CreateSecret creates a imagepull secret if it doesn't exist or updates the existing one
func GetRegistryParams ¶
func GetRegistryParams(registryCredLocation string) (credentials.Parameters, error)
func UpdateSecret ¶
func UpdateSecret(secretsClient kcl.SecretsInterface, dockerconfig credentials.DockerConfig) error
UpdateSecret update the imagepull secret if it exists
Types ¶
type AuthsStruct ¶
Click to show internal directories.
Click to hide internal directories.