containers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: Unlicense Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrContainerNotFound = errors.New("container not found")

Functions

This section is empty.

Types

type Driver

type Driver interface {
	WatchEvents(ctx context.Context, types ...v1.ContainerEventType) (EventsChannel, error)
	GetContainers(ctx context.Context) ([]*v1.ContainerInfo, error)
	GetContainer(ctx context.Context, name string) (*v1.ContainerInfo, error)
}

type EventsChannel

type EventsChannel interface {
	GetChannel() <-chan *v1.ContainerEvent
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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