Documentation ¶
Index ¶
Constants ¶
View Source
const (
ServiceName = "docker.service"
)
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
Types ¶
type AuthConfig ¶
type AuthConfig struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Auth string `json:"auth"` Email string `json:"email"` ServerAddress string `json:"serveraddress,omitempty"` RegistryToken string `json:"registrytoken,omitempty"` }
AuthConfig contains authorization information for connecting to a Registry Taken from https://github.com/docker/engine-api/blob/master/types/auth.go
type ConfigFile ¶
type ConfigFile struct {
AuthConfigs map[string]AuthConfig `json:"auths"`
}
ConfigFile ~/.docker/config.json file info Taken from https://github.com/docker/docker/blob/master/cliconfig/config.go
Click to show internal directories.
Click to hide internal directories.