Files
sablier/app/instance.go
Alexis Couvreur 4122109349 wip lol
2024-11-16 22:49:35 -05:00

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
}