fake

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleImpl

type HandleImpl struct {
	ClientsetImpl                 clientset.Interface
	GetPodsAssignedToNodeFuncImpl podutil.GetPodsAssignedToNodeFunc
	SharedInformerFactoryImpl     informers.SharedInformerFactory
	EvictorFilterImpl             frameworktypes.EvictorPlugin
	PodEvictorImpl                *evictions.PodEvictor
	MetricsCollectorImpl          *metricscollector.MetricsCollector
}

func (*HandleImpl) ClientSet

func (hi *HandleImpl) ClientSet() clientset.Interface

func (*HandleImpl) Evict

func (hi *HandleImpl) Evict(ctx context.Context, pod *v1.Pod, opts evictions.EvictOptions) error

func (*HandleImpl) Evictor

func (hi *HandleImpl) Evictor() frameworktypes.Evictor

func (*HandleImpl) Filter

func (hi *HandleImpl) Filter(pod *v1.Pod) bool

func (*HandleImpl) GetPodsAssignedToNodeFunc

func (hi *HandleImpl) GetPodsAssignedToNodeFunc() podutil.GetPodsAssignedToNodeFunc

func (*HandleImpl) MetricsCollector added in v0.32.0

func (hi *HandleImpl) MetricsCollector() *metricscollector.MetricsCollector

func (*HandleImpl) PreEvictionFilter added in v0.26.0

func (hi *HandleImpl) PreEvictionFilter(pod *v1.Pod) bool

func (*HandleImpl) SharedInformerFactory

func (hi *HandleImpl) SharedInformerFactory() informers.SharedInformerFactory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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