Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ NewEmptyOption
Function
NewEmptyOption
pkg/controller/registry/options.go:55–62 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
}
54
55
func
NewEmptyOption() *Options {
56
return
&Options{
57
Endpoint:
""
,
58
Version:
""
,
59
AuthTransfer: false,
60
Auth: &AuthOption{},
61
}
62
}
63
func
(o *Options) IsEmpty() bool {
64
return
o.Endpoint ==
""
65
}
Callers
1
NewOptions
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected