Documentation
¶
Index ¶
Constants ¶
View Source
const ( DockerAPIVersion = "1.24" SwarmAPIVersion = "1.24" )
Docker API versions.
Variables ¶
This section is empty.
Functions ¶
func CreateDockerClient ¶
func CreateDockerClient(dcOps DockerClientOpts) (*client.Client, error)
CreateDockerClient creates Docker client.
Types ¶
type ClientTLS ¶
ClientTLS holds TLS specific configurations as client CA, Cert and Key can be either path or file contents.
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
Docker is a Docker client.
type DockerClientOpts ¶
type DockerClientOpts struct { HTTPClientTimeout time.Duration Endpoint string SwarmMode bool TLSClientConfig *ClientTLS }
DockerClientOpts Docker client.
type DockerSwarm ¶
type DockerSwarm struct {
// contains filtered or unexported fields
}
DockerSwarm is a DockerSwarm client.
func NewDockerSwarm ¶
func NewDockerSwarm(dockerClient client.APIClient, traefikHost string, interval time.Duration) *DockerSwarm
NewDockerSwarm creates DockerSwarm.
Click to show internal directories.
Click to hide internal directories.