lrp_bbs

package
v0.0.0-...-5c6e8b3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2014 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LRPBBS

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

func New

func New(store storeadapter.StoreAdapter, timeProvider timeprovider.TimeProvider, logger lager.Logger) *LRPBBS

func (*LRPBBS) ChangeDesiredLRP

func (bbs *LRPBBS) ChangeDesiredLRP(change models.DesiredLRPChange) error

func (*LRPBBS) ConvergeLRPs

func (bbs *LRPBBS) ConvergeLRPs()

func (*LRPBBS) DesireLRP

func (bbs *LRPBBS) DesireLRP(lrp models.DesiredLRP) error

func (*LRPBBS) GetActualLRPsByProcessGuid

func (bbs *LRPBBS) GetActualLRPsByProcessGuid(processGuid string) ([]models.ActualLRP, error)

func (*LRPBBS) GetAllActualLRPs

func (bbs *LRPBBS) GetAllActualLRPs() ([]models.ActualLRP, error)

func (*LRPBBS) GetAllDesiredLRPs

func (bbs *LRPBBS) GetAllDesiredLRPs() ([]models.DesiredLRP, error)

func (*LRPBBS) GetAllStopLRPInstances

func (bbs *LRPBBS) GetAllStopLRPInstances() ([]models.StopLRPInstance, error)

func (*LRPBBS) GetDesiredLRPByProcessGuid

func (bbs *LRPBBS) GetDesiredLRPByProcessGuid(processGuid string) (models.DesiredLRP, error)

func (*LRPBBS) GetRunningActualLRPs

func (bbs *LRPBBS) GetRunningActualLRPs() ([]models.ActualLRP, error)

func (*LRPBBS) GetRunningActualLRPsByProcessGuid

func (bbs *LRPBBS) GetRunningActualLRPsByProcessGuid(processGuid string) ([]models.ActualLRP, error)

func (*LRPBBS) RemoveActualLRP

func (bbs *LRPBBS) RemoveActualLRP(lrp models.ActualLRP) error

func (*LRPBBS) RemoveActualLRPForIndex

func (bbs *LRPBBS) RemoveActualLRPForIndex(processGuid string, index int, instanceGuid string) error

func (*LRPBBS) RemoveDesiredLRPByProcessGuid

func (bbs *LRPBBS) RemoveDesiredLRPByProcessGuid(processGuid string) error

func (*LRPBBS) ReportActualLRPAsRunning

func (bbs *LRPBBS) ReportActualLRPAsRunning(lrp models.ActualLRP, executorID string) error

func (*LRPBBS) ReportActualLRPAsStarting

func (bbs *LRPBBS) ReportActualLRPAsStarting(lrp models.ActualLRP, executorID string) error

func (*LRPBBS) RequestStopLRPInstance

func (bbs *LRPBBS) RequestStopLRPInstance(stopInstance models.StopLRPInstance) error

func (*LRPBBS) RequestStopLRPInstances

func (bbs *LRPBBS) RequestStopLRPInstances(stopInstances []models.StopLRPInstance) error

func (*LRPBBS) ResolveStopLRPInstance

func (bbs *LRPBBS) ResolveStopLRPInstance(stopInstance models.StopLRPInstance) error

func (*LRPBBS) WatchForActualLRPChanges

func (bbs *LRPBBS) WatchForActualLRPChanges() (<-chan models.ActualLRPChange, chan<- bool, <-chan error)

func (*LRPBBS) WatchForDesiredLRPChanges

func (bbs *LRPBBS) WatchForDesiredLRPChanges() (<-chan models.DesiredLRPChange, chan<- bool, <-chan error)

func (*LRPBBS) WatchForStopLRPInstance

func (bbs *LRPBBS) WatchForStopLRPInstance() (<-chan models.StopLRPInstance, chan<- bool, <-chan error)

Jump to

Keyboard shortcuts

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