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