Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultClusternetSchedulerPort is the default port for the scheduler status server. // May be overridden by a flag at startup. DefaultClusternetSchedulerPort = 10659 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchedulerOptions ¶
type SchedulerOptions struct { SecureServing *apiserveroptions.SecureServingOptionsWithLoopback // DebuggingOptions holds the Debugging options. DebuggingOptions *controllermanageroptions.DebuggingOptions *utils.ControllerOptions FrameworkOutOfTreeRegistry frameworkruntime.Registry SchedulerConfiguration *apis.SchedulerConfiguration Metrics *metrics.Options // ConfigFile is the location of the scheduler server's configuration file. ConfigFile string // Flags hold the parsed CLI flags. Flags *cliflag.NamedFlagSets }
SchedulerOptions has all the params needed to run a Scheduler
func NewSchedulerOptions ¶
func NewSchedulerOptions() (*SchedulerOptions, error)
NewSchedulerOptions returns a new SchedulerOptions
func (*SchedulerOptions) Complete ¶
func (o *SchedulerOptions) Complete() error
Complete fills in fields required to have valid data
func (*SchedulerOptions) Config ¶ added in v0.15.0
func (o *SchedulerOptions) Config() error
func (*SchedulerOptions) Validate ¶
func (o *SchedulerOptions) Validate() error
Validate validates SchedulerOptions
Click to show internal directories.
Click to hide internal directories.