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)
Click to show internal directories.
Click to hide internal directories.