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

Method IsValid

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

Source from the content-addressed store, hash-verified

269}
270
271func (e PipelineExecutionStatus) IsValid() bool {
272 switch e {
273 case PipelineExecutionStatusActive, PipelineExecutionStatusSucceeded, PipelineExecutionStatusFailed, PipelineExecutionStatusPending:
274 return true
275 }
276 return false
277}
278
279func (e PipelineExecutionStatus) String() string {
280 return string(e)

Callers 1

UnmarshalGQLMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected