moby/cli/command/image
Sebastiaan van Stijn bbbddeebba
Add version annotation to various flags added in 1.13
Pull request https://github.com/docker/docker/pull/27745 added support for the
client to talk to older versions of the daemon. Various flags were added to
docker 1.13 that are not compatible with older daemons.

This PR adds annotations to those flags, so that they are automatically hidden
if the daemon is older than docker 1.13 (API 1.25).

Not all new flags affect the API (some are client-side only). The following
PR's added new flags to docker 1.13 that affect the API;

- https://github.com/docker/docker/pull/23430 added `--cpu-rt-period`and `--cpu-rt-runtime`
- https://github.com/docker/docker/pull/27800 / https://github.com/docker/docker/pull/25317 added `--group` / `--group-add` / `--group-rm`
- https://github.com/docker/docker/pull/27702 added `--network` to `docker build`
- https://github.com/docker/docker/pull/25962 added `--attachable` to `docker network create`
- https://github.com/docker/docker/pull/27998 added `--compose-file` to `docker stack deploy`
- https://github.com/docker/docker/pull/22566 added `--stop-timeout` to `docker run` and `docker create`
- https://github.com/docker/docker/pull/26061 added `--init` to `docker run` and `docker create`
- https://github.com/docker/docker/pull/26941 added `--init-path` to `docker run` and `docker create`
- https://github.com/docker/docker/pull/27958 added `--cpus` on `docker run` / `docker create`
- https://github.com/docker/docker/pull/27567 added `--dns`, `--dns-opt`, and `--dns-search` to `docker service create`
- https://github.com/docker/docker/pull/27596 added `--force` to `docker service update`
- https://github.com/docker/docker/pull/27857 added `--hostname` to `docker service create`
- https://github.com/docker/docker/pull/28031 added `--hosts`, `--host-add` / `--host-rm` to `docker service create` and `docker service update`
- https://github.com/docker/docker/pull/28076 added `--tty` on `docker service create` / `docker service update`
- https://github.com/docker/docker/pull/26421 added `--update-max-failure-ratio`, `--update-monitor` and `--rollback` on `docker service update`
- https://github.com/docker/docker/pull/27369 added `--health-cmd`, `--health-interval`, `--health-retries`, `--health-timeout` and `--no-healthcheck` options to `docker service create` and `docker service update`

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-01-16 18:21:20 +01:00
..
build Move builder cli helper functions to own pkg 2016-12-26 18:53:22 -08:00
build.go Add version annotation to various flags added in 1.13 2017-01-16 18:21:20 +01:00
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
history.go Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
import.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
inspect.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
list.go Add reference filter and deprecated filter param… 2016-11-11 15:34:01 +01:00
load.go Windows: Use sequential file access 2016-11-14 17:41:52 -08:00
prune.go Add --filter until=<timestamp> for docker container/image prune 2017-01-04 14:16:42 -08:00
pull.go Abstract distribution interfaces from image specific types 2016-12-19 10:55:00 -08:00
push.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
remove.go Move canonical image and container commands into a command group 2016-09-19 13:28:02 -04:00
save.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
tag.go Change the docker-tag usage text to be clearer 2016-11-18 10:34:02 +02:00
trust.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
trust_test.go cli: Split out GetNotaryRepository and associated functions 2016-12-14 10:49:32 -08:00