Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IterablePolicyLoader ¶ added in v0.54.0
type IterablePolicyLoader interface {
Iter(ctx context.Context) iter.Seq2[*runtimev1.RunnablePolicySet, error]
}
IterablePolicyLoader is an optional interface for loaders that can yield compiled policy sets one at a time.
type PolicyLoader ¶
type PolicyLoader interface {
GetFirstMatch(context.Context, []namer.ModuleID) (*runtimev1.RunnablePolicySet, error)
GetAll(context.Context) ([]*runtimev1.RunnablePolicySet, error)
GetAllMatching(context.Context, []namer.ModuleID) ([]*runtimev1.RunnablePolicySet, error)
Source() *auditv1.PolicySource
}
Click to show internal directories.
Click to hide internal directories.