kubernetes/staging/src/k8s.io/apiserver/pkg/cel/common/maplist.go

type MapList

type keyStrategy

type singleKeyStrategy

// CompositeKeyFor directly returns the value of the single key  to
// use as a composite key.
func (ks *singleKeyStrategy) CompositeKeyFor(obj map[string]interface{}

type multiKeyStrategy

// CompositeKeyFor returns a composite key computed from the values of all
// keys.
func (ks *multiKeyStrategy) CompositeKeyFor(obj map[string]interface{}

type emptyMapList

func (emptyMapList) Get(interface{}

type mapListImpl

func (a *mapListImpl) Get(obj interface{}

func makeKeyStrategy(sts Schema) keyStrategy {}

// MakeMapList returns a queryable interface over the provided x-kubernetes-list-type=map
// keyedItems. If the provided schema is _not_ an array with x-kubernetes-list-type=map, returns an
// empty mapList.
func MakeMapList(sts Schema, items []interface{}