spiegel_podman/pkg
Ed Santiago 2a411bcbfa Swagger: fix inconsistencies (try #2)
As I've mentioned once or twice, hand-maintained swagger docs
are evil. This commit attempts to fix:

  * Inconsistent methods (swagger says POST but code signature
    says GET)

  * Inconsistent capitalization

  * Typos ("Mounter", "pood")

  * Completely wrong paths (/inspect vs /json)

  * Missing .Method() registrations

  * Missing /libpod in some /volumes paths

  * Incorrect method declaration: /libpod/containers/.../kill
    was correct (POST) in swagger but wrong in the code itself
    (http.MethodGet). Correct the latter to MethodPost

This is two hours' work, even with a script I have that
tries to cross-check everything.

Swagger docs should not be human-maintained.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-18 11:07:07 -07:00
..
adapter Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
apparmor apparmor: allow receiving of signals from 'podman kill' 2020-01-24 15:34:47 +01:00
bindings add caching for binding tests 2020-02-14 12:11:23 -06:00
capabilities add pkg/capabilities 2020-02-14 12:00:45 +01:00
cgroups stats: add SystemUsage 2020-02-12 11:58:29 +01:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks make lint: include unit tests 2020-01-14 10:51:59 +01:00
inspect inspect image healthchecks 2020-01-27 08:36:25 -06:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup execuser: look at the source for /etc/{passwd,group} overrides 2019-09-21 22:11:09 +02:00
namespaces namespaces: by default create cgroupns on cgroups v2 2019-11-05 17:29:01 +01:00
netns network: hide EPERM warning when rootless 2019-10-01 08:51:58 +02:00
network display file name of bad cni conf 2020-01-28 16:21:59 -06:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries podman: mirror information 2019-12-12 19:53:46 -03:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: check if the conmon process is valid 2020-02-17 19:11:41 +01:00
rootlessport rootlessport: drop Pdeathsig in favor of Kill 2020-02-12 18:48:42 +01:00
seccomp add pkg/seccomp 2020-02-12 17:10:18 +01:00
signal add pkg/signal 2020-02-14 15:04:14 +01:00
spec add pkg/capabilities 2020-02-14 12:00:45 +01:00
specgen [CI:DOCS]addition of specgen package 2020-02-04 13:46:51 -06:00
sysinfo Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
systemd Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust codespell: spelling corrections 2019-11-13 08:15:00 +11:00
util add pkg/signal 2020-02-14 15:04:14 +01:00
varlinkapi Refactor image tree for API usage 2020-02-17 11:12:35 +01:00