MCPcopy
hub / github.com/hashicorp/go-memdb / ConditionalIndex

Struct ConditionalIndex

index.go:633–635  ·  view source on GitHub ↗

ConditionalIndex builds an index based on a condition specified by a passed user function. This function may examine the passed object and return a boolean to encapsulate an arbitrarily complex conditional.

Source from the content-addressed store, hash-verified

631// user function. This function may examine the passed object and return a
632// boolean to encapsulate an arbitrarily complex conditional.
633type ConditionalIndex struct {
634 Conditional ConditionalIndexFunc
635}
636
637// ConditionalIndexFunc is the required function interface for a
638// ConditionalIndex.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected