pkg

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2017 License: MIT Imports: 8 Imported by: 1

Documentation

Index

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 AuthInfo

type AuthInfo struct {
	Auth  string `json:"auth"`
	Email string `json:"email"`
}

type AuthsStruct

type AuthsStruct struct {
	Auths map[string]AuthInfo `json:"auths"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL