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

Method Valid

pkg/controller/rtctrl/type.go:244–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242)
243
244func (u UserLogType) Valid() bool {
245 if u == UserLogTypePlain || u == UserLogTypeJson {
246 return true
247 }
248 return false
249}
250
251const (
252 userLogSingleFile = "controller-userlog.log"

Callers 1

NewRuntimeClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected