docker

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidPortError = errors.New("Invalid port")
View Source
var (
	MissingDockerUrlError = errors.New("docker url not specified")
)

Functions

func NewDockerSource

func NewDockerSource(
	opt shared.OptionMap,
	cce chan *shared.ChangeEvent,
	wg *sync.WaitGroup,
	sc chan bool,
) (
	sources.Source,
	error,
)

Types

type ContainerData

type ContainerData struct {
	Endpoint  shared.Endpoint
	Hostnames []shared.Host
}

func NewContainerData

func NewContainerData(e shared.Endpoint, h []shared.Host) *ContainerData

type ContainerMap

type ContainerMap map[shared.ContainerID]*ContainerData

type DockerSource

type DockerSource struct {
	Containers ContainerMap
	// contains filtered or unexported fields
}

func (DockerSource) Initialise

func (ds DockerSource) Initialise() error

func (*DockerSource) Start

func (ds *DockerSource) Start()

func (DockerSource) Stop

func (ds DockerSource) Stop()

Jump to

Keyboard shortcuts

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