Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PercentageEvictor ¶
PercentageEvictor is the interface used in advisor policy
func NewPowerLoadEvict ¶
func NewPowerLoadEvict(qosConfig *generic.QoSConfiguration, podFetcher pod.PodFetcher, podEvictor PodEvictor, ) PercentageEvictor
type PodEvictor ¶
type PodEvictor interface {
Init() error
Start() error
Stop() error
Evict(ctx context.Context, pods []*v1.Pod) error
}
PodEvictor is the adapter interface for underlying eviction mechanism
func NewNoopPodEvictor ¶
func NewNoopPodEvictor() PodEvictor
Click to show internal directories.
Click to hide internal directories.