spiegel_podman/pkg/bindings/manifests
Vladimir Kochnev cfdca82938
Mark some of the option fields as ignored in pkg/bindings
I realized that `params.Del("SkipTLSVerify")` doesn't have any
effect because keys are always lowercased. So it should really
be `params.Del("skiptlsverify")`.

There's also a little bug introduced by 3bf52aa and b1d1248: if
one passes `ProgressWriter` object having `Stringer` interface
i.e. `bytes.Buffer` it ends up been serialized in query with
`util.ToParams()`.

To circumvent both problems I propose to mark non-serializable
parameters with `schema:"-"` so there's no need to delete them from
resulting `url.Values`.

Signed-off-by: Vladimir Kochnev <hashtable@yandex.ru>
2022-08-26 09:55:17 +03:00
..
manifests.go Mark some of the option fields as ignored in pkg/bindings 2022-08-26 09:55:17 +03:00
types.go Mark some of the option fields as ignored in pkg/bindings 2022-08-26 09:55:17 +03:00
types_add_options.go Resolves #13629 Add RegistryAuthHeader to manifest push 2022-03-26 16:39:11 -04:00
types_create_options.go podman manifest create: accept --amend and --insecure flags 2022-08-16 19:45:36 -04:00
types_exists_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_inspect_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00
types_modify_options.go bindings: add manifest should follow es_model while marshalling OSVersion and OSFeatures 2022-06-02 18:06:27 +05:30
types_remove_options.go bump go module to version 4 2022-01-18 12:47:07 +01:00