Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppPlacementManager ¶
type AppPlacementManager struct {
// contains filtered or unexported fields
}
func NewPlacementManager ¶
func NewPlacementManager(info *cache.PartitionInfo) *AppPlacementManager
func (*AppPlacementManager) IsInitialised ¶
func (m *AppPlacementManager) IsInitialised() bool
Return the state of the placement manager
func (*AppPlacementManager) PlaceApplication ¶
func (m *AppPlacementManager) PlaceApplication(app *cache.ApplicationInfo) 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.