mcndockerclient

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerClient

func DockerClient(host DockerHost) (*dockerclient.DockerClient, error)

func DockerVersion

func DockerVersion(host DockerHost) (string, error)

Types

type AuthOptionser

type AuthOptionser interface {
	AuthOptions() *auth.Options
}

type DockerHost

type DockerHost interface {
	URLer
	AuthOptionser
}

type DockerVersioner

type DockerVersioner interface {
	DockerVersion(host DockerHost) (string, error)
}
var CurrentDockerVersioner DockerVersioner = &defaultDockerVersioner{}

type FakeDockerVersioner

type FakeDockerVersioner struct {
	Version string
	Err     error
}

func (*FakeDockerVersioner) DockerVersion

func (dv *FakeDockerVersioner) DockerVersion(host DockerHost) (string, error)

type URLer

type URLer interface {
	URL() (string, error)
}

Jump to

Keyboard shortcuts

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