Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchToTraces ¶ added in v0.52.0
func BatchToTraces(batch *enginev1.TraceBatch) []*enginev1.Trace
func NewZapSink ¶
func TracesToBatch ¶ added in v0.52.0
func TracesToBatch(traces []*enginev1.Trace) *enginev1.TraceBatch
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector() *Collector
type Context ¶
type Context interface {
StartAction(action string) Context
StartConditionAll() Context
StartConditionAny() Context
StartConditionNone() Context
StartCondition() Context
StartDerivedRole(name string) Context
StartExpr(expr string) Context
StartNthCondition(index int) Context
StartPolicy(name string) Context
StartResource(kind string) Context
StartRole(role string) Context
StartRule(name string) Context
StartScope(scope string) Context
StartVariable(name, expr string) Context
StartVariables() Context
StartOutput(ruleName string) Context
StartRolePolicyScope(scope string) Context
Activated()
AppliedEffect(effect effectv1.Effect, message string)
ComputedBoolResult(result bool, err error, message string)
ComputedOutput(output *enginev1.OutputEntry)
ComputedResult(result any)
Failed(err error, message string)
Skipped(err error, message string)
}
Click to show internal directories.
Click to hide internal directories.