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