Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppPlacementManager ¶
func NewPlacementManager ¶
func NewPlacementManager(rules []configs.PlacementRule, queueFunc func(string) *objects.Queue) *AppPlacementManager
func (*AppPlacementManager) IsInitialised ¶
func (m *AppPlacementManager) IsInitialised() bool
Return the state of the placement manager
func (*AppPlacementManager) PlaceApplication ¶
func (m *AppPlacementManager) PlaceApplication(app *objects.Application) error
func (*AppPlacementManager) UpdateRules ¶
func (m *AppPlacementManager) UpdateRules(rules []configs.PlacementRule) error
Update the rules for an active placement manager Note that this will only be called when the manager is created earlier and the config is updated.
Click to show internal directories.
Click to hide internal directories.