cluster

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotRunning = errors.New("not running")

Functions

This section is empty.

Types

type Cluster

type Cluster interface {
	Reserve(types.OrderID, *types.DeploymentGroup) (Reservation, error)
}

type Reservation

type Reservation interface {
	OrderID() types.OrderID
	Group() *types.DeploymentGroup
}

type Service

type Service interface {
	Cluster
	Close() error
	Done() <-chan struct{}
}

func NewService

func NewService(log log.Logger, ctx context.Context, bus event.Bus) (Service, error)

Directories

Path Synopsis
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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