compose/cli
Djordje Lukic 635ecd7b99 Return a default implementation when nil
Some backends can decide not to implement a whole set of APIs (compose
for example), we now return a default implementation that returns a
`errdefs.ErrNotImplemented` for each action making it easy for the cli
to print a helpful error message. We also remove any possible nil
panics.

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-08-20 14:32:03 +02:00
..
cmd Return a default implementation when nil 2020-08-20 14:32:03 +02:00
config Add license headers 2020-06-18 16:48:03 +02:00
formatter cli: Move to gotest.tools 2020-08-04 14:03:24 +02:00
mobycli Update or add license header which are not valid 2020-08-17 16:55:25 +02:00
options Validate run restart option value. Default value is “none”, instead of “no”, this is more in line with compose values, and changes only the default so should not have too much impact on legacy usage. 2020-08-04 17:11:21 +02:00
main.go Return a default implementation when nil 2020-08-20 14:32:03 +02:00
main_test.go cli: Move to gotest.tools 2020-08-04 14:03:24 +02:00