()
| 1218 | } |
| 1219 | |
| 1220 | func (e *Event) String() string { |
| 1221 | str, sep := "", "" |
| 1222 | if e.Pod != "" { |
| 1223 | str = e.Pod |
| 1224 | sep = ":" |
| 1225 | } |
| 1226 | if e.Ctr != "" { |
| 1227 | str += sep + e.Ctr |
| 1228 | sep = "/" |
| 1229 | } |
| 1230 | return str + sep + string(e.Type) |
| 1231 | } |
| 1232 | |
| 1233 | type eventQ struct { |
| 1234 | sync.Mutex |
no outgoing calls
no test coverage detected