Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct {
Auth string `json:"auth,omitempty"`
}
Credential represents credential entry.
type File ¶
type File struct {
Auths map[string]Credential `json:"auths,omitempty"`
}
File is a partial representation of the full docker configuration file, containing a map => Credential which contains credentials for registry authentication.
func LoadCredentials ¶
LoadCredentials takes in a docker configuration file and obtains all the credentials for it and returns a valid structure to be saved as a docker file to be sent to ce-aws environments.
Click to show internal directories.
Click to hide internal directories.