auction_cell_rep

package
v0.0.0-...-b61a845 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCellUnhealthy = errors.New("internal cell healthcheck failed")
View Source
var ErrPreloadedRootFSNotFound = errors.New("preloaded rootfs path not found")

Functions

func PathForRootFS

func PathForRootFS(rootFS string, stackPathMap rep.StackPathMap) (string, error)

Types

type AuctionCellRep

type AuctionCellRep struct {
	// contains filtered or unexported fields
}

func New

func New(
	cellID string,
	preloadedStackPathMap rep.StackPathMap,
	arbitraryRootFSes []string,
	zone string,
	generateInstanceGuid func() (string, error),
	client executor.Client,
	evacuationReporter evacuation_context.EvacuationReporter,
	logger lager.Logger,
) *AuctionCellRep

func (*AuctionCellRep) Perform

func (a *AuctionCellRep) Perform(work rep.Work) (rep.Work, error)

func (*AuctionCellRep) State

func (a *AuctionCellRep) State() (rep.CellState, error)

State currently does not return tasks or lrp rootfs, because the auctioneer currently does not need them.

Jump to

Keyboard shortcuts

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