options

package
v0.0.0-...-3dc4fa0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package options provides the descheduler flags

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeschedulerServer

type DeschedulerServer struct {
	componentconfig.DeschedulerConfiguration
	Client                   clientset.Interface
	TopologySchedulingClient versioned.Interface
	Logs                     *logs.Options
}

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

func (*DeschedulerServer) Validate

func (s *DeschedulerServer) Validate() error

Validation checks for DeschedulerServer.

Jump to

Keyboard shortcuts

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