docker

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2017 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Types

type Data

type Data struct {
	DockerImages map[string]*dc.APIImages
}

Data structure for holding data that we fetch from Docker.

type DockerConfig added in v0.1.1

type DockerConfig struct {
	Host     string
	Ca       string
	Cert     string
	Key      string
	CertPath string
}

DockerConfig is the structure that stores the configuration to talk to a Docker API compatible host.

func (*DockerConfig) NewClient added in v0.1.1

func (c *DockerConfig) NewClient() (*dc.Client, error)

NewClient() returns a new Docker client.

type ProviderConfig added in v0.1.1

type ProviderConfig struct {
	DockerClient *dc.Client
	AuthConfigs  *dc.AuthConfigurations
}

ProviderConfig for the custom registry provider

type TokenResponse

type TokenResponse struct {
	Token string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL