manager

package
v0.0.0-...-4297e01 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// trackerHost        = "http://tracker.shipyard-project.com"
	EngineHealthUp   = "up"
	EngineHealthDown = "down"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	StoreKey string
	// contains filtered or unexported fields
}

func NewManager

func NewManager(addr string, database string, version string, disableUsageInfo bool) (*Manager, error)

func (*Manager) ClusterInfo

func (m *Manager) ClusterInfo() *cluster.ClusterInfo

func (*Manager) ClusterManager

func (m *Manager) ClusterManager() *cluster.Cluster

func (*Manager) Container

func (m *Manager) Container(id string) (*cluster.Container, error)

func (*Manager) Containers

func (m *Manager) Containers(all bool) []*cluster.Container

func (*Manager) ContainersByImage

func (m *Manager) ContainersByImage(name string, all bool) ([]*cluster.Container, error)

func (*Manager) Destroy

func (m *Manager) Destroy(container *cluster.Container) error

func (*Manager) Engine

func (m *Manager) Engine(id string) *dockerMan.Engine

func (*Manager) Engines

func (m *Manager) Engines() []*dockerMan.Engine

func (*Manager) IdenticalContainers

func (m *Manager) IdenticalContainers(container *cluster.Container, all bool) ([]*cluster.Container, error)

func (*Manager) Run

func (m *Manager) Run(image *cluster.Image, count int, pull bool) ([]*cluster.Container, error)

func (*Manager) Store

func (m *Manager) Store() *sessions.CookieStore

Jump to

Keyboard shortcuts

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