kubernetes/staging/src/k8s.io/apiserver/pkg/quota/v1/generic/registry.go

type simpleRegistry

// NewRegistry creates a simple registry with initial list of evaluators
func NewRegistry(evaluators []quota.Evaluator) quota.Registry {}

func (r *simpleRegistry) Add(e quota.Evaluator) {}

func (r *simpleRegistry) Remove(e quota.Evaluator) {}

func (r *simpleRegistry) Get(gr schema.GroupResource) quota.Evaluator {}

func (r *simpleRegistry) List() []quota.Evaluator {}

// evaluatorsByGroupResource converts a list of evaluators to a map by group resource.
func evaluatorsByGroupResource(items []quota.Evaluator) map[schema.GroupResource]quota.Evaluator {}

// evaluatorsList converts a map of evaluators to list
func evaluatorsList(input map[schema.GroupResource]quota.Evaluator) []quota.Evaluator {}