Versions in this module Expand all Collapse all v0 v0.7.2 Jul 19, 2019 v0.6.4 Jun 13, 2019 Changes in this version + var ErrSchemaNotFound = errors.New("schema not found") + type ResourceDiscovery interface + ServerGroups func() (*metav1.APIGroupList, error) + ServerResourcesForGroupVersion func(groupVersion string) (*metav1.APIResourceList, error) + type ResourceOpts struct + RequiredVerbs []string + WarnFn func(...interface{}) + type Resources struct + func NewResources(disco ResourceDiscovery, opts ResourceOpts) (*Resources, error) + func (r *Resources) APIResource(gvk schema.GroupVersionKind) *metav1.APIResource + func (r *Resources) CanonicalGroupVersionKind(gvk schema.GroupVersionKind) (schema.GroupVersionKind, error) + func (r *Resources) CanonicalResources() map[schema.GroupKind]metav1.APIResource + func (r *Resources) Dump(println func(...interface{})) + type SchemaDiscovery interface + OpenAPISchema func() (*openapi_v2.Document, error) + type ServerSchema struct + func NewServerSchema(disco SchemaDiscovery) *ServerSchema + func (ss *ServerSchema) OpenAPIResources() (openapi.Resources, error) + func (ss *ServerSchema) ValidatorFor(gvk schema.GroupVersionKind) (Validator, error) + type Validator interface + Validate func(obj *unstructured.Unstructured) []error