MCPcopy 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
55func NewEmptyOption() *Options {
56 return &Options{
57 Endpoint: "",
58 Version: "",
59 AuthTransfer: false,
60 Auth: &AuthOption{},
61 }
62}
63func (o *Options) IsEmpty() bool {
64 return o.Endpoint == ""
65}

Callers 1

NewOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected