()
| 499 | } |
| 500 | |
| 501 | func (e Event) String() string { |
| 502 | t := e.Timestamp.Format("2006-01-02 15:04:05.000000") |
| 503 | var attr []string |
| 504 | for k, v := range e.Attributes { |
| 505 | attr = append(attr, fmt.Sprintf("%s=%s", k, v)) |
| 506 | } |
| 507 | return fmt.Sprintf("%s container %s %s (%s)\n", t, e.Status, e.Container, strings.Join(attr, ", ")) |
| 508 | } |
| 509 | |
| 510 | // ListOptions group options of the ls API |
| 511 | type ListOptions struct { |
no outgoing calls