Documentation ¶
Index ¶
- func BatchCompile(queue <-chan *policy.CompilationUnit, schemaMgr schema.Manager) error
- func Compile(unit *policy.CompilationUnit, schemaMgr schema.Manager) (rps *runtimev1.RunnablePolicySet, err error)
- func Condition(cond *policyv1.Condition) (*runtimev1.Condition, error)
- type CELCompileError
- type Error
- type ErrorList
- type Manager
- type PolicyCompilationErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchCompile ¶
func BatchCompile(queue <-chan *policy.CompilationUnit, schemaMgr schema.Manager) error
func Compile ¶
func Compile(unit *policy.CompilationUnit, schemaMgr schema.Manager) (rps *runtimev1.RunnablePolicySet, err error)
Types ¶
type CELCompileError ¶ added in v0.9.0
type CELCompileError struct {
// contains filtered or unexported fields
}
CELCompileError holds CEL compilation errors.
func (*CELCompileError) Error ¶ added in v0.9.0
func (cce *CELCompileError) Error() string
func (*CELCompileError) Unwrap ¶ added in v0.9.0
func (cce *CELCompileError) Unwrap() error
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) OnStorageEvent ¶
func (*Manager) SubscriberID ¶
type PolicyCompilationErr ¶ added in v0.9.0
type PolicyCompilationErr struct {
// contains filtered or unexported fields
}
func (PolicyCompilationErr) Error ¶ added in v0.9.0
func (pce PolicyCompilationErr) Error() string
func (PolicyCompilationErr) Unwrap ¶ added in v0.9.0
func (pce PolicyCompilationErr) Unwrap() error
Click to show internal directories.
Click to hide internal directories.