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

Function NewRuntimeConfigOptions

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

Source from the content-addressed store, hash-verified

59}
60
61func NewRuntimeConfigOptions() *RuntimeConfigOptions {
62 return &RuntimeConfigOptions{
63 WaitRuntimeAliveTimeout: 3,
64 }
65}
66func (s *RuntimeConfigOptions) AddFlags(fs *pflag.FlagSet) {
67 fs.IntVar(&s.WaitRuntimeAliveTimeout, "runtime-alive-timeout",
68 s.WaitRuntimeAliveTimeout, "Timeout(s) to wait runtime alive")

Callers 4

NewOptionsFunction · 0.92
TestInvocationFunction · 0.85
TestInvocationWithStreamFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestInvocationFunction · 0.68
TestInvocationWithStreamFunction · 0.68