Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageTagOrDigest ¶ added in v0.7.0
func GetRegistry ¶
func ResolveAuth ¶
ResolveAuth resolves the auth username and password for the provided registry name
Types ¶
type DockerConfig ¶
type DockerConfig struct {
Auths map[string]DockerConfigAuth `json:"auths,omitempty"`
}
Docker config represents the docker config.json format. We only consider the "auths" part
func GenDockerConfig ¶
func GenDockerConfig(auths map[string]types.DockerRegistryAuth, images []string) (*DockerConfig, error)
type DockerConfigAuth ¶
type DockerConfigAuth struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Auth string `json:"auth,omitempty"` }
Docker config represents the docker config.json auth part. We only consider the "auth" token part
Click to show internal directories.
Click to hide internal directories.