mig

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortCandidatePods

func SortCandidatePods(candidates []v1.Pod) []v1.Pod

Types

type Actuator

type Actuator struct {
	client.Client
}

func NewActuator

func NewActuator(client client.Client) Actuator

func (Actuator) Apply

func (a Actuator) Apply(ctx context.Context, s state.ClusterSnapshot, desiredState state.PartitioningState) error

type Planner

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

func NewPlanner

func NewPlanner(scheduler framework.Framework) Planner

func (Planner) Plan

func (p Planner) Plan(ctx context.Context, s state.ClusterSnapshot, candidates []v1.Pod) (state.PartitioningState, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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