ContainerEvent notify an event has been collected on source container implementing Service
| 712 | |
| 713 | // ContainerEvent notify an event has been collected on source container implementing Service |
| 714 | type ContainerEvent struct { |
| 715 | Type int |
| 716 | Time int64 |
| 717 | Container *ContainerSummary |
| 718 | // Source is the name of the container _without the project prefix_. |
| 719 | // |
| 720 | // This is only suitable for display purposes within Compose, as it's |
| 721 | // not guaranteed to be unique across services. |
| 722 | Source string |
| 723 | ID string |
| 724 | Service string |
| 725 | Line string |
| 726 | // ExitCode is only set on ContainerEventExited events |
| 727 | ExitCode int |
| 728 | Restarting bool |
| 729 | } |
| 730 | |
| 731 | const ( |
| 732 | // ContainerEventLog is a ContainerEvent of type log on stdout. Line is set |
nothing calls this directly
no outgoing calls
no test coverage detected