Documentation ¶
Index ¶
Constants ¶
View Source
const ( RESOURCE resourceType = iota // a resource DATA_SOURCE // a data-source )
View Source
const (
TEST_CONFIG_BASE_DIR = "testdata"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthConfigs ¶
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 ¶
type Config struct { Host string SSHOpts []string Ca string Cert string Key string CertPath string }
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 ¶
DidNotConvergeError is the error returned when a the service does not converge in the defined time
func (*DidNotConvergeError) Error ¶
func (err *DidNotConvergeError) Error() string
Error the custom error if a service does not converge
type ProviderConfig ¶
type ProviderConfig struct { DockerClient *client.Client AuthConfigs *AuthConfigs }
ProviderConfig for the custom registry provider
type TokenResponse ¶
Source Files ¶
- authentication_helpers.go
- config.go
- data_source_docker_image.go
- data_source_docker_logs.go
- data_source_docker_network.go
- data_source_docker_plugin.go
- data_source_docker_registry_image.go
- helpers.go
- provider.go
- resource_docker_config.go
- resource_docker_container.go
- resource_docker_container_funcs.go
- resource_docker_container_migrators.go
- resource_docker_container_structures.go
- resource_docker_image.go
- resource_docker_image_funcs.go
- resource_docker_network.go
- resource_docker_network_funcs.go
- resource_docker_network_migrators.go
- resource_docker_network_structures.go
- resource_docker_plugin.go
- resource_docker_plugin_funcs.go
- resource_docker_registry_image.go
- resource_docker_registry_image_funcs.go
- resource_docker_secret.go
- resource_docker_service.go
- resource_docker_service_funcs.go
- resource_docker_service_migrators.go
- resource_docker_service_structures.go
- resource_docker_tag.go
- resource_docker_tag_funcs.go
- resource_docker_volume.go
- resource_docker_volume_migrators.go
- test_helpers.go
- validators.go
Click to show internal directories.
Click to hide internal directories.