MCPcopy Create free account
hub / github.com/encoder-run/operator / IsValid

Method IsValid

pkg/graph/model/models_gen.go:183–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183func (e ModelStatus) IsValid() bool {
184 switch e {
185 case ModelStatusNotDeployed, ModelStatusDeploying, ModelStatusReady, ModelStatusError:
186 return true
187 }
188 return false
189}
190
191func (e ModelStatus) String() string {
192 return string(e)

Callers 1

UnmarshalGQLMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected