MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / NewDispatcherV2Options

Function NewDispatcherV2Options

pkg/controller/rtctrl/options.go:36–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func NewDispatcherV2Options() *DispatcherV2Options {
37 return &DispatcherV2Options{
38 RuntimeServerAddress: defaultRuntimeServerAddress,
39 RunnerServerAddress: defaultRunnerServerAddress,
40 UserLogFileDir: defaultUserLogFilePath,
41 UserLogType: defaultUserLogType,
42 }
43}
44func (s *DispatcherV2Options) AddFlags(fs *pflag.FlagSet) {
45 fs.StringVar(&s.RuntimeServerAddress, "dispatcher-address",
46 s.RuntimeServerAddress, "runtime server address (log and invoke)")

Callers 2

NewOptionsFunction · 0.92

Calls

no outgoing calls

Tested by 1