placement

package
v0.0.0-...-67dc25f Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 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 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.

type Filter

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

Jump to

Keyboard shortcuts

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