spiegel_podman/pkg/bindings/test
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
..
fixture Add guard for BuildOptions.CommonBuildOpts 2021-09-30 14:30:06 -07:00
attach_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
auth_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
common_test.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
connection_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
containers_test.go enable gocritic linter 2022-04-26 18:12:22 +02:00
create_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
exec_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
generator_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
images_test.go Add ProgressWriter to PullOptions 2022-08-19 00:41:22 +03:00
info_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
manifests_test.go Add ProgressWriter to PullOptions 2022-08-19 00:41:22 +03:00
networks_test.go Add version guard to libpod API endpoints 2022-02-09 14:22:42 -07:00
pods_test.go enable gocritic linter 2022-04-26 18:12:22 +02:00
resource_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
secrets_test.go enable staticcheck linter 2022-04-22 12:51:29 +02:00
system_test.go bump go module to version 4 2022-01-18 12:47:07 +01:00
test_suite_test.go e2e tests: enable golint 2021-11-29 08:30:00 -07:00
types_test.go Mark some of the option fields as ignored in pkg/bindings 2022-08-26 09:55:17 +03:00
volumes_test.go enable gocritic linter 2022-04-26 18:12:22 +02:00