-
Notifications
You must be signed in to change notification settings - Fork 0
/
PipelineState.go
40 lines (33 loc) · 1.16 KB
/
PipelineState.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package fbtypes
import "strconv"
/// state of a calculation pipeline
type PipelineState int32
const (
/// the pipeline has been changed and validation was not successful
PipelineStateUNVALIDATED PipelineState = 0
/// the pipeline is currently being edited
PipelineStateIN_EDIT PipelineState = 1
/// the pipeline has been successfully validated and can be used now
PipelineStateVALIDATED PipelineState = 2
/// the pipeline is currently in use and may not be changed
PipelineStateIN_USE PipelineState = 3
)
var EnumNamesPipelineState = map[PipelineState]string{
PipelineStateUNVALIDATED: "UNVALIDATED",
PipelineStateIN_EDIT: "IN_EDIT",
PipelineStateVALIDATED: "VALIDATED",
PipelineStateIN_USE: "IN_USE",
}
var EnumValuesPipelineState = map[string]PipelineState{
"UNVALIDATED": PipelineStateUNVALIDATED,
"IN_EDIT": PipelineStateIN_EDIT,
"VALIDATED": PipelineStateVALIDATED,
"IN_USE": PipelineStateIN_USE,
}
func (v PipelineState) String() string {
if s, ok := EnumNamesPipelineState[v]; ok {
return s
}
return "PipelineState(" + strconv.FormatInt(int64(v), 10) + ")"
}