mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-24 22:39:25 +01:00
18 lines
412 B
Go
18 lines
412 B
Go
package app
|
|
|
|
type InstanceStatus string
|
|
|
|
const (
|
|
InstanceStarting InstanceStatus = "starting"
|
|
InstanceRunning InstanceStatus = "running"
|
|
InstanceError InstanceStatus = "error"
|
|
)
|
|
|
|
// Instance holds the data representing an instance status
|
|
type Instance struct {
|
|
// The Name of the targeted container, service, deployment
|
|
// of which the state is being represented
|
|
Name string
|
|
Status InstanceStatus
|
|
}
|