profile

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProfile

func NewProfile(config api.DeschedulerProfile, reg pluginregistry.Registry, opts ...Option) (*profileImpl, error)

Types

type Option

type Option func(*handleImplOpts)

Option for the handleImpl.

func WithClientSet

func WithClientSet(clientSet clientset.Interface) Option

WithClientSet sets clientSet for the scheduling frameworkImpl.

func WithGetPodsAssignedToNodeFnc

func WithGetPodsAssignedToNodeFnc(getPodsAssignedToNodeFunc podutil.GetPodsAssignedToNodeFunc) Option

func WithMetricsCollector added in v0.32.0

func WithMetricsCollector(metricsCollector *metricscollector.MetricsCollector) Option

func WithPodEvictor

func WithPodEvictor(podEvictor *evictions.PodEvictor) Option

func WithSharedInformerFactory

func WithSharedInformerFactory(sharedInformerFactory informers.SharedInformerFactory) Option

Jump to

Keyboard shortcuts

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