DockerCLI/cli-plugins
Ian Campbell 1c576e9043 Integrate CLI plugins into `docker info`
Fairly straight forward. It became necessary to wrap `Plugin.Err` with a type
which implements `encoding.MarshalText` in order to have that field rendered
properly in the `docker info -f '{{json}}'` output.

Since I changed the type somewhat I also added a unit test for `formatInfo`.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-01-30 13:45:26 +00:00
..
examples/helloworld Allow plugins to make use of the cobra `PersistentPreRun` hooks. 2019-01-30 13:45:26 +00:00
manager Integrate CLI plugins into `docker info` 2019-01-30 13:45:26 +00:00
plugin Allow plugins to make use of the cobra `PersistentPreRun` hooks. 2019-01-30 13:45:26 +00:00