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

Function NewOption

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

Source from the content-addressed store, hash-verified

41}
42
43func NewOption() *Options {
44 return &Options{
45 Endpoint: "http://127.0.0.1:8080",
46 Version: "v1",
47 AuthTransfer: false,
48 Auth: &AuthOption{
49 Name: NOAuthType,
50 ParamStr: "",
51 },
52 }
53}
54
55func NewEmptyOption() *Options {
56 return &Options{

Calls

no outgoing calls