options

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: 11 Imported by: 0

Documentation

Overview

Package options provides the descheduler flags

Index

Constants

View Source
const (
	DefaultDeschedulerPort = 10258
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeschedulerServer

type DeschedulerServer struct {
	componentconfig.DeschedulerConfiguration

	Client         clientset.Interface
	EventClient    clientset.Interface
	SecureServing  *apiserveroptions.SecureServingOptionsWithLoopback
	DisableMetrics bool
	EnableHTTP2    bool
}

DeschedulerServer configuration

func NewDeschedulerServer

func NewDeschedulerServer() (*DeschedulerServer, error)

NewDeschedulerServer creates a new DeschedulerServer with default parameters

func (*DeschedulerServer) AddFlags

func (rs *DeschedulerServer) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific SchedulerServer to the specified FlagSet

Jump to

Keyboard shortcuts

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