options

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterCapacityConfig

type ClusterCapacityConfig struct {
	Pod        *v1.Pod
	KubeClient clientset.Interface
	RestConfig *restclient.Config
	Options    *ClusterCapacityOptions
}

func NewClusterCapacityConfig

func NewClusterCapacityConfig(opt *ClusterCapacityOptions) *ClusterCapacityConfig

func (*ClusterCapacityConfig) ParseAPISpec

func (s *ClusterCapacityConfig) ParseAPISpec(schedulerName string) error

type ClusterCapacityOptions

type ClusterCapacityOptions struct {
	Kubeconfig                 string
	DefaultSchedulerConfigFile string
	MaxLimit                   int
	ExcludeNodes               []string
	Verbose                    bool
	PodSpecFile                string
	OutputFormat               string
}

func NewClusterCapacityOptions

func NewClusterCapacityOptions() *ClusterCapacityOptions

func (*ClusterCapacityOptions) AddFlags

func (s *ClusterCapacityOptions) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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