MarshalJSON makes ContainerContext implement json.Marshaler
()
| 132 | |
| 133 | // MarshalJSON makes ContainerContext implement json.Marshaler |
| 134 | func (c *ContainerContext) MarshalJSON() ([]byte, error) { |
| 135 | return formatter.MarshalJSON(c) |
| 136 | } |
| 137 | |
| 138 | // ID returns the container's ID as a string. Depending on the `--no-trunc` |
| 139 | // option being set, the full or truncated ID is returned. |
no outgoing calls
no test coverage detected