Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFlags ¶
func BindFlags(l *schedulerconfig.SchedulerLeaderElectionConfiguration, fs *pflag.FlagSet)
BindFlags binds the LeaderElectionConfiguration struct fields to a flagset
Types ¶
type SchedulerOptions ¶
type SchedulerOptions struct { // The syncer configuration. ComponentConfig schedulerconfig.SchedulerConfiguration MetaCluster string MetaClusterKubeconfig string }
func NewSchedulerOptions ¶
func NewSchedulerOptions() (*SchedulerOptions, error)
NewSchedulerOptions creates new scheduler options with a default config.
func (*SchedulerOptions) Config ¶
func (o *SchedulerOptions) Config() (*schedulerappconfig.Config, error)
Config return a syncer config object
func (*SchedulerOptions) Flags ¶
func (o *SchedulerOptions) Flags() cliflag.NamedFlagSets
Click to show internal directories.
Click to hide internal directories.