func (e SimpleCategoryExpander) Expand(category string) ([]schema.GroupResource, bool) {
	ret, ok := e.Expansions[category]
	return ret, ok
}
Expand fulfills CategoryExpander
package restmapper
import (
	"k8s.io/apimachinery/pkg/runtime/schema"
	"k8s.io/client-go/discovery"
)
type CategoryExpander interface {
	Expand(category string) ([]schema.GroupResource, bool)
}
type SimpleCategoryExpander struct {
	Expansions map[string][]schema.GroupResource
}