MCPcopy
hub / github.com/openfga/openfga / Select

Method Select

internal/planner/interface.go:11–11  ·  view source on GitHub ↗
(resolvers map[string]*PlanConfig)

Source from the content-addressed store, hash-verified

9// Selector defines the interface for managing strategy selection and stats for a single key.
10type Selector interface {
11 Select(resolvers map[string]*PlanConfig) *PlanConfig
12 UpdateStats(plan *PlanConfig, duration time.Duration)
13}
14

Callers 15

readMethod · 0.65
ReadUserTupleMethod · 0.65
ReadUsersetTuplesMethod · 0.65
ReadStartingWithUserMethod · 0.65
GetStoreMethod · 0.65
ListStoresMethod · 0.65
ReadAssertionsMethod · 0.65
ReadChangesMethod · 0.65

Implementers 3

keyPlaninternal/planner/plan.go
MockSelectorinternal/mocks/mock_planner.go
MockSelectorMockRecorderinternal/mocks/mock_planner.go

Calls

no outgoing calls

Tested by 7

TestProfiler_UpdateFunction · 0.52
TestTTUFunction · 0.52
TestResolveCheckFunction · 0.52