Documentation
¶
Overview ¶
Package options
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerOptions ¶
type ControllerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions FuncletClientOptions *client.FuncletClientOptions DispatcherV2Options *rtctrl.DispatcherV2Options RepositoryOptions *registry.Options HttpTriggerRepositoryOptions *registry.Options RuntimeConfigOptions *rtctrl.RuntimeConfigOptions AliasCacheOptions *function.StorageCacheOptions // Task cycle interval // Units: seconds TaskInterval int // Task cycle interval // Units: seconds MetricsTaskInterval int // Runtime maximum idle time // Units: seconds MaxRuntimeIdle int // The longest expire time after runner disconnect // Units: seconds MaxRunnerDefunct int // The longest expire time after runner last reset // Units: seconds MaxRunnerResetTimeout int // Runtime concurrent mode switch ConcurrentMode bool // HTTP trigger feature switch HTTPEnhanced bool // Setting the proper go process for the best performance GoMaxProcs int EnableCanary bool SimpleAuth bool }
ControllerOptions: options of the controller app
func NewOptions ¶
func NewOptions() *ControllerOptions
func (*ControllerOptions) AddFlags ¶
func (s *ControllerOptions) AddFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.