Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOptions ¶
func ValidateOptions(options *YurtAppOptions) error
ValidateOptions validates YurtAppOptions
Types ¶
type YurtAppOptions ¶
type YurtAppOptions struct { MetricsAddr string PprofAddr string HealthProbeAddr string EnableLeaderElection bool EnablePprof bool LeaderElectionNamespace string Namespace string CreateDefaultPool bool Version bool }
YurtAppOptions is the main settings for the yurtapp-manger
func NewYurtAppOptions ¶
func NewYurtAppOptions() *YurtAppOptions
NewYurtAppOptions creates a new YurtAppOptions with a default config.
func (*YurtAppOptions) AddFlags ¶
func (o *YurtAppOptions) AddFlags(fs *pflag.FlagSet)
AddFlags returns flags for a specific yurthub by section name
Click to show internal directories.
Click to hide internal directories.