mock

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2013 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int
const (
	// A container has been started.
	Started Action = iota
	// A container has been stopped.
	Stopped
)

func (Action) String

func (action Action) String() string

type Container

type Container interface {
	//golxc.ContainerFactory
	New(string) docker.Container
	AddListener(chan<- Event)
	RemoveListener(chan<- Event)
}

func MockFactory

func MockFactory() Container

func MockFactory() ContainerFactory {

type Event

type Event struct {
	Action     Action
	InstanceId string
}

Jump to

Keyboard shortcuts

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