Command returns's the container's command. If the trunc option is set, the returned command is truncated (ellipsized).
()
| 215 | // Command returns's the container's command. If the trunc option is set, the |
| 216 | // returned command is truncated (ellipsized). |
| 217 | func (c *ContainerContext) Command() string { |
| 218 | command := c.c.Command |
| 219 | if c.trunc { |
| 220 | command = Ellipsis(command, 20) |
| 221 | } |
| 222 | return strconv.Quote(command) |
| 223 | } |
| 224 | |
| 225 | // CreatedAt returns the formatted string representing the container's creation date/time. |
| 226 | // The format may include nanoseconds if present. |
nothing calls this directly
no test coverage detected