DockerCLI/cli/command/system/testdata
Sebastiaan van Stijn 6dfdd1eae9
cli/command/system: fix "docker events" not supporting --format=json
Before this patch:

    docker events --format=json
    json
    json
    json
    ^C

With this patch:

    docker events --format=json
    {"status":"create","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"create","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508190136885}
    {"status":"attach","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"attach","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508192851593}
    {"Type":"network","Action":"connect","Actor":{"ID":"c54920dd5074a73e28bea62007e0334d81cc040a90372be311cf16806403d350","Attributes":{"container":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","name":"bridge","type":"bridge"}},"scope":"local","time":1693168508,"timeNano":1693168508212398802}
    {"status":"start","id":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","from":"hello-world","Type":"container","Action":"start","Actor":{"ID":"4ac3bba8abd68961e627540fed81ad16d55b88e45629d7cdb792126d09b6488d","Attributes":{"image":"hello-world","name":"dreamy_goldstine"}},"scope":"local","time":1693168508,"timeNano":1693168508312969843}
    ^C

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-29 14:48:49 +02:00
..
docker-client-version.golden remove "Experimental" client field from "docker version" 2022-04-08 15:48:00 +02:00
docker-client-version.json.golden cli/command/system: add platformInfo type, and fix "omitempty" 2023-04-11 18:58:39 +02:00
docker-events-default.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-events-json-action.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-events-json-template.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-events-json.golden cli/command/system: fix "docker events" not supporting --format=json 2023-08-29 14:48:49 +02:00
docker-info-badsec-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-badsec.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-badsec.json.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-daemon-warnings.json.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-errors-stderr.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-errors.golden info: print errors to stderr 2021-07-13 11:43:32 +02:00
docker-info-errors.json.golden Separate client and daemon info in `docker system info` 2019-01-25 14:38:04 +00:00
docker-info-legacy-warnings.json.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-no-swarm.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-no-swarm.json.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-plugins-warnings.golden Integrate CLI plugins into `docker info` 2019-01-30 13:45:26 +00:00
docker-info-plugins.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-plugins.json.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-warnings.golden printServerWarningsLegacy: silence "No kernel memory limit support" 2021-05-04 19:17:11 +09:00
docker-info-with-labels-empty.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-with-labels-nil.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-with-swarm.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00
docker-info-with-swarm.json.golden info: add CDI spec directories to output 2023-08-22 14:05:07 +02:00