apiserver/pkg/apis/config
Stephen Augustus 58544edbdf apiserver/pkg/apis/config/validation: Add invalidURLErrFmt
In go1.14, the following change to 'net/url' was made:
"When parsing of a URL fails (for example by Parse or ParseRequestURI),
the resulting Error message will now quote the unparsable URL. This
provides clearer structure and consistency with other parsing errors."

Here we add a new const, 'invalidURLErrFmt' to properly handle the now
quoted string in validation_test.go.

ref: https://golang.org/doc/go1.14#net/url

Signed-off-by: Stephen Augustus <saugustus@vmware.com>

Kubernetes-commit: b0f17c2918fe0d099fc59f17788ca60202a5ae1a
2020-04-18 04:37:22 -04:00
..
v1 kms: use negative cachesize value to disable caching 2019-12-15 23:30:36 -05:00
validation apiserver/pkg/apis/config/validation: Add invalidURLErrFmt 2020-04-18 04:37:22 -04:00
doc.go move apiserver Configuration to k8s.io/apiserver/pkg/apis/config 2018-07-12 17:37:52 +08:00
register.go Introduce kubeapiserver.config.k8s.io/v1 with EncryptionConfiguration and use a standard method for parsing config file. 2018-05-02 18:21:38 +02:00
types.go kms: use negative cachesize value to disable caching 2019-12-15 23:30:36 -05:00
zz_generated.deepcopy.go Add defaulting logic for EncryptionConfiguration. 2019-11-14 22:53:18 -08:00