github.com/leowmjw/otto@v0.2.1-0.20160126165905-6400716cf085/directory/dev_state.go (about) 1 package directory 2 3 //go:generate stringer -type=DevState dev_state.go 4 5 // DevState is used to track the state of an infrastructure. 6 // 7 // This is required because the state of an infrastructure isn't binary. 8 // It can be not created at all, partially created, or fully created. We 9 // need to represent this in the directory. 10 type DevState byte 11 12 const ( 13 DevStateInvalid DevState = 0 14 DevStateNew DevState = iota 15 DevStateReady 16 )