package lineage
import "github.com/open-policy-agent/opa/topdown/lineage"
Index ¶
- func Fails(trace []*topdown.Event) []*topdown.Event
- func Filter(trace []*topdown.Event, filter func(*topdown.Event) bool) (result []*topdown.Event)
- func Notes(trace []*topdown.Event) []*topdown.Event
Functions ¶
func Fails ¶
Fails returns a filtered trace that contains Fail events and context to understand where the Fail occurred.
func Filter ¶
Filter will filter a given trace using the specified filter function. The filtering function should return true for events that should be kept, false for events that should be filtered out.
func Notes ¶
Notes returns a filtered trace that contains Note events and context to understand where the Note was emitted.
Source Files ¶
- Version
- v0.27.1
- Published
- Mar 12, 2021
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 30 minutes ago –
Tools for package owners.