mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Emit events for building images
Signed-off-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
799ab842a0
commit
a9de9abcfb
3 changed files with 17 additions and 5 deletions
|
|
@ -153,6 +153,16 @@ func RemovedEvent(id string) Event {
|
|||
return NewEvent(id, Done, "Removed")
|
||||
}
|
||||
|
||||
// BuildingEvent creates a new Building in progress Event
|
||||
func BuildingEvent(id string) Event {
|
||||
return NewEvent(id, Working, "Building")
|
||||
}
|
||||
|
||||
// BuiltEvent creates a new built (done) Event
|
||||
func BuiltEvent(id string) Event {
|
||||
return NewEvent(id, Done, "Built")
|
||||
}
|
||||
|
||||
// SkippedEvent creates a new Skipped Event
|
||||
func SkippedEvent(id string, reason string) Event {
|
||||
return Event{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue