mirror of
https://github.com/docker/compose.git
synced 2026-10-08 21:21:10 +00:00
attach to log stream by default on up
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
809c2bc45a
commit
39e4107e12
15 changed files with 256 additions and 61 deletions
|
|
@ -58,6 +58,21 @@ func CreatingEvent(ID string) Event {
|
|||
return NewEvent(ID, Working, "Creating")
|
||||
}
|
||||
|
||||
// StartingEvent creates a new Starting in progress Event
|
||||
func StartingEvent(ID string) Event {
|
||||
return NewEvent(ID, Working, "Starting")
|
||||
}
|
||||
|
||||
// StartedEvent creates a new Started in progress Event
|
||||
func StartedEvent(ID string) Event {
|
||||
return NewEvent(ID, Done, "Started")
|
||||
}
|
||||
|
||||
// RunningEvent creates a new Running in progress Event
|
||||
func RunningEvent(ID string) Event {
|
||||
return NewEvent(ID, Done, "Running")
|
||||
}
|
||||
|
||||
// CreatedEvent creates a new Created (done) Event
|
||||
func CreatedEvent(ID string) Event {
|
||||
return NewEvent(ID, Done, "Created")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue