Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotParseDockercfg = errors.New("Failed to read authentication from dockercfg")
ErrCannotParseDockercfg is the error returned by NewAuthConfigurations when the dockercfg cannot be parsed.
Functions ¶
Types ¶
type AuthConfigs ¶ added in v1.0.0
type AuthConfigs struct {
Configs map[string]types.AuthConfig `json:"configs"`
}
AuthConfigs represents authentication options to use for the PushImage method accommodating the new X-Registry-Config header
type Config ¶
Config is the structure that stores the configuration to talk to a Docker API compatible host.
type Data ¶
type Data struct {
DockerImages map[string]*types.ImageSummary
}
Data structure for holding data that we fetch from Docker.
type DidNotConvergeError ¶ added in v1.0.0
DidNotConvergeError is the error returned when a the service does not converge in the defined time
func (*DidNotConvergeError) Error ¶ added in v1.0.0
func (err *DidNotConvergeError) Error() string
Error the custom error if a service does not converge
type ProviderConfig ¶ added in v0.1.1
type ProviderConfig struct { DockerClient *client.Client AuthConfigs *AuthConfigs }
ProviderConfig for the custom registry provider
type TokenResponse ¶
type TokenResponse struct {
Token string
}
Source Files ¶
- config.go
- data_source_docker_network.go
- data_source_docker_registry_image.go
- provider.go
- resource_docker_config.go
- resource_docker_container.go
- resource_docker_container_funcs.go
- resource_docker_container_migrate.go
- resource_docker_image.go
- resource_docker_image_funcs.go
- resource_docker_network.go
- resource_docker_network_funcs.go
- resource_docker_secret.go
- resource_docker_service.go
- resource_docker_service_funcs.go
- resource_docker_volume.go
- structures_service.go
- validators.go
Click to show internal directories.
Click to hide internal directories.