mirror of
https://github.com/docker/compose.git
synced 2025-07-24 06:04:57 +02:00
Fix lint issues
Signed-off-by: aiordache <anca.iordache@docker.com>
This commit is contained in:
parent
02be463fd7
commit
b75ad3473d
@ -56,20 +56,22 @@ type ServiceStatus struct {
|
|||||||
Ports []string
|
Ports []string
|
||||||
Publishers []PortPublisher
|
Publishers []PortPublisher
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// State of a compose stack
|
||||||
type State string
|
type State string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Starting indicates that stack is being deployed
|
// STARTING indicates that stack is being deployed
|
||||||
STARTING State = "starting"
|
STARTING State = "starting"
|
||||||
// Runnning indicates that stack is deployed and services are running
|
// RUNNING indicates that stack is deployed and services are running
|
||||||
RUNNING State = "running"
|
RUNNING State = "running"
|
||||||
// Updating indicates that some stack resources are being recreated
|
// UPDATING indicates that some stack resources are being recreated
|
||||||
UPDATING State = "updating"
|
UPDATING State = "updating"
|
||||||
// Removing indicates that stack is being deleted
|
// REMOVING indicates that stack is being deleted
|
||||||
REMOVING State = "removing"
|
REMOVING State = "removing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// StackStatus hold status about a compose application/stack
|
// Stack holds the name and state of a compose application/stack
|
||||||
type Stack struct {
|
type Stack struct {
|
||||||
ID string
|
ID string
|
||||||
Name string
|
Name string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user