Files
docker-cli/cli/command/plugin/testdata/plugin-inspect-single-without-format.golden
Sebastiaan van Stijn c6f935eba5 cli/command/plugin: fix linting issues, and assorted cleanups
- fix various unhandled errors
- remove some locally defined option-types in favor of option-types
  defined by the client / api
- don't use unkeyed structs in tests, and add docs for some subtests
- fix some values in tests that triggered "spellcheck" warnings
- inline vars / functions that only had a single use.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-26 16:45:04 +02:00

55 lines
1.4 KiB
Plaintext

[
{
"Config": {
"Args": {
"Description": "",
"Name": "",
"Settable": null,
"Value": null
},
"Description": "plugin foo description",
"DockerVersion": "17.12.1-ce",
"Documentation": "plugin foo documentation",
"Entrypoint": [
"/foo"
],
"Env": null,
"Interface": {
"Socket": "plugin-foo.sock",
"Types": null
},
"IpcHost": false,
"Linux": {
"AllowAllDevices": false,
"Capabilities": [
"CAP_SYS_ADMIN"
],
"Devices": null
},
"Mounts": null,
"Network": {
"Type": ""
},
"PidHost": false,
"PropagatedMount": "",
"User": {},
"WorkDir": "workdir-foo",
"rootfs": {
"diff_ids": [
"sha256:deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
],
"type": "layers"
}
},
"Enabled": false,
"Id": "id-foo",
"Name": "name-foo",
"Settings": {
"Args": null,
"Devices": null,
"Env": null,
"Mounts": null
}
}
]