Documentation ¶
Index ¶
- Constants
- func DockerClientFromConfig(c *Config) (*client.Client, error)
- func DockerClientFromConfigFile(path string) (*client.Client, error)
- func DockerClientFromEnv() (*client.Client, error)
- func GetDockerClient() (*client.Client, error)
- func LoadAuthConfig() map[string]types.AuthConfig
- type Config
- type ConfigError
Constants ¶
View Source
const ( DefaultAPIVersion = "1.39" EnvConfigPath = "DODO_DOCKER_CONFIG" EnvAPIVersion = "DOCKER_API_VERSION" EnvHost = "DOCKER_HOST" EnvCertPath = "DOCKER_CERT_PATH" )
Variables ¶
This section is empty.
Functions ¶
func DockerClientFromEnv ¶
func GetDockerClient ¶
func LoadAuthConfig ¶
func LoadAuthConfig() map[string]types.AuthConfig
Types ¶
type ConfigError ¶
type ConfigError string
const ErrInvalidAuthConfig ConfigError = "invalid auth config"
func (ConfigError) Error ¶
func (e ConfigError) Error() string
Click to show internal directories.
Click to hide internal directories.