Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNewPlacement ¶
func GetNewPlacement(slices algorithm.SliceInfoArray) (map[string]int, error)
func GetSlicesToSchedule ¶
func GetSlicesToSchedule(namespace *internalcache.Namespace, oldPlacements map[string]int) algorithm.SliceInfoArray
Types ¶
type Engine ¶
type Engine interface { ScheduleNamespace(*internalcache.Namespace) (*internalcache.Namespace, error) EnsureNamespacePlacements(*internalcache.Namespace) error DeScheduleNamespace(key string) error SchedulePod(pod *internalcache.Pod) (*internalcache.Pod, error) DeSchedulePod(key string) error }
func NewSchedulerEngine ¶
func NewSchedulerEngine(schedulerCache internalcache.Cache) Engine
Click to show internal directories.
Click to hide internal directories.