options

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterCapacityConfig

type ClusterCapacityConfig struct {
	//Schedulers       []*schedapp.SchedulerServer
	Pod              *v1.Pod
	KubeClient       clientset.Interface
	Options          *ClusterCapacityOptions
	DefaultScheduler *schedapp.SchedulerServer
	ResourceStore    store.ResourceStore
}

func NewClusterCapacityConfig

func NewClusterCapacityConfig(opt *ClusterCapacityOptions) *ClusterCapacityConfig

func (*ClusterCapacityConfig) ParseAPISpec

func (s *ClusterCapacityConfig) ParseAPISpec() error

func (*ClusterCapacityConfig) SetDefaultScheduler

func (s *ClusterCapacityConfig) SetDefaultScheduler() error

type ClusterCapacityOptions

type ClusterCapacityOptions struct {
	Kubeconfig string
	//SchedulerConfigFile        []string
	DefaultSchedulerConfigFile string
	MaxLimit                   int
	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