Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedInsecureServingOptions ¶ added in v1.3.0
type CombinedInsecureServingOptions struct { Healthz *apiserveroptions.DeprecatedInsecureServingOptionsWithLoopback BindPort int BindAddress string }
CombinedInsecureServingOptions sets up to two insecure listeners for healthz and metrics. The flags override the ComponentConfig and DeprecatedInsecureServingOptions values for both.
func (*CombinedInsecureServingOptions) AddFlags ¶ added in v1.3.0
func (o *CombinedInsecureServingOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for the insecure serving options.
func (*CombinedInsecureServingOptions) ApplyTo ¶ added in v1.3.0
func (o *CombinedInsecureServingOptions) ApplyTo(c *schedulerappconfig.Config, componentConfig *schedulerconfig.KubeSchedulerConfiguration) error
ApplyTo applies the insecure serving options to the given scheduler app configuration, and updates the componentConfig.
func (*CombinedInsecureServingOptions) Validate ¶ added in v1.3.0
func (o *CombinedInsecureServingOptions) Validate() []error
Validate validates the insecure serving options.
type Options ¶
type Options struct { *scheduleroptions.Options CombinedInsecureServing *CombinedInsecureServingOptions }
Options has all the params needed to run a Scheduler
Click to show internal directories.
Click to hide internal directories.