fake

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 7 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
}

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) bool

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) NodeLimitExceeded

func (hi *HandleImpl) NodeLimitExceeded(node *v1.Node) bool

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