placement

package
v1.5.0-1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 11 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 {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewPlacementManager

func NewPlacementManager(rules []configs.PlacementRule, queueFunc func(string) *objects.Queue) *AppPlacementManager

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.

type Filter

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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