func NewQueryParamVerifier(dynamicClient dynamic.Interface, openAPIGetter discovery.OpenAPISchemaInterface, queryParam VerifiableQueryParam) *QueryParamVerifier { … }
type QueryParamVerifier …
type Verifier …
type VerifiableQueryParam …
const QueryParamFieldValidation …
func (v *QueryParamVerifier) HasSupport(gvk schema.GroupVersionKind) error { … }
type paramUnsupportedError …
func NewParamUnsupportedError(gvk schema.GroupVersionKind, param VerifiableQueryParam) error { … }
func (e *paramUnsupportedError) Error() string { … }
func IsParamUnsupportedError(err error) bool { … }
func hasGVKExtension(extensions []*openapi_v2.NamedAny, gvk schema.GroupVersionKind) bool { … }
func supportsQueryParam(doc *openapi_v2.Document, gvk schema.GroupVersionKind, queryParam VerifiableQueryParam) (bool, error) { … }