Versions in this module Expand all Collapse all v0 v0.1442.0 Feb 27, 2024 Changes in this version + var ErrCellIdMismatch = errors.New("workload cell ID does not match this cell") + var ErrCellUnhealthy = errors.New("internal cell healthcheck failed") + var ErrNotEnoughMemory = errors.New("not enough memory for container and additional memory allocation") + func GenerateGuid() (string, error) + type AuctionCellClient interface + Perform func(logger lager.Logger, traceID string, work rep.Work) (rep.Work, error) + Reset func() error + State func(logger lager.Logger) (rep.CellState, bool, error) + type AuctionCellRep struct + func New(cellID string, cellIndex int, repURL string, ...) *AuctionCellRep + func (a *AuctionCellRep) Metrics(logger lager.Logger) (*rep.ContainerMetricsCollection, error) + func (a *AuctionCellRep) Perform(logger lager.Logger, traceID string, work rep.Work) (rep.Work, error) + func (a *AuctionCellRep) Reset() error + func (a *AuctionCellRep) State(logger lager.Logger) (rep.CellState, bool, error) + type BatchContainerAllocator interface + BatchLRPAllocationRequest func(lager.Logger, string, bool, int, []rep.LRP) []rep.LRP + BatchTaskAllocationRequest func(lager.Logger, string, []rep.Task) []rep.Task + func NewContainerAllocator(instanceGuidGenerator func() (string, error), stackPathMap rep.StackPathMap, ...) BatchContainerAllocator