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

Function NewControllerClientOptions

pkg/controller/client/options.go:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func NewControllerClientOptions() *ControllerClientOptions {
28 return &ControllerClientOptions{
29 Host: "127.0.0.1:8001",
30 }
31}
32
33func (o *ControllerClientOptions) AddFlags(fs *pflag.FlagSet) {
34 fs.StringVar(&o.Host, "controller-host", o.Host, "The host to access controller")

Callers 2

TestNewControllerClientFunction · 0.85
TestInvokeFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestNewControllerClientFunction · 0.68
TestInvokeFunction · 0.68