type REST … // NewREST returns a RESTStorage object that will work against validatingWebhookConfiguration. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { … } var _ … // Categories implements the CategoriesProvider interface. Returns a list of categories a resource is part of. func (r *REST) Categories() []string { … }