Use environment namespace for power state, don't duplicate them across server
This commit is contained in:
@@ -11,6 +11,13 @@ const (
|
||||
ResourceEvent = "resources"
|
||||
)
|
||||
|
||||
const (
|
||||
ProcessOfflineState = "offline"
|
||||
ProcessStartingState = "starting"
|
||||
ProcessRunningState = "running"
|
||||
ProcessStoppingState = "stopping"
|
||||
)
|
||||
|
||||
// Defines the basic interface that all environments need to implement so that
|
||||
// a server can be properly controlled.
|
||||
type ProcessEnvironment interface {
|
||||
|
||||
Reference in New Issue
Block a user