Documentation
¶
Index ¶
- type Engine
- func (e *Engine) AppendPosition(ctx context.Context, snapshot filter.Snapshot, rule filter.FirewallRule) (int64, error)
- func (e *Engine) AppendUnverified(ctx context.Context, rule filter.FirewallRule, comment string) error
- func (e *Engine) Capabilities(ctx context.Context) (filter.Capabilities, error)
- func (e *Engine) CheckRule(ctx context.Context, rule filter.FirewallRule) error
- func (e *Engine) CompileDesired(ctx context.Context, policyUUID string, origin filter.RuleOrigin, ...) ([]filter.DesiredRule, error)
- func (e *Engine) Execute(ctx context.Context, snapshot filter.Snapshot, changes []filter.DesiredChange) (filter.BackendPlan, filter.VerifyResult, error)
- func (e *Engine) MaxPosition(ctx context.Context, snapshot filter.Snapshot, rule filter.FirewallRule) (int64, error)
- func (e *Engine) NativeDetail(ctx context.Context, name string, permanent bool) (string, error)
- func (e *Engine) Observe(ctx context.Context, scope filter.Scope) (filter.Snapshot, error)
- func (e *Engine) ObserveMutation(ctx context.Context, scope filter.Scope) (filter.Snapshot, error)
- func (e *Engine) ObserveScopes(ctx context.Context, scopes []filter.Scope) ([]filter.Snapshot, error)
- func (e *Engine) Prepare(rule filter.FirewallRule) (filter.FirewallRule, error)
- func (e *Engine) Provider() filter.Provider
- func (e *Engine) Rollback(ctx context.Context, plan filter.BackendPlan) error
- func (e *Engine) ValidatePosition(ctx context.Context, snapshot filter.Snapshot, rule filter.FirewallRule, ...) error
- type Registry
- type SnapshotPolicy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) AppendPosition ¶
func (*Engine) AppendUnverified ¶
func (*Engine) Capabilities ¶
func (*Engine) CompileDesired ¶
func (e *Engine) CompileDesired( ctx context.Context, policyUUID string, origin filter.RuleOrigin, rules []filter.FirewallRule, ) ([]filter.DesiredRule, error)
func (*Engine) Execute ¶
func (e *Engine) Execute(ctx context.Context, snapshot filter.Snapshot, changes []filter.DesiredChange) (filter.BackendPlan, filter.VerifyResult, error)
func (*Engine) MaxPosition ¶
func (*Engine) NativeDetail ¶
func (*Engine) ObserveMutation ¶
func (*Engine) ObserveScopes ¶
func (*Engine) Prepare ¶
func (e *Engine) Prepare(rule filter.FirewallRule) (filter.FirewallRule, error)
type Registry ¶
func NewRegistry ¶
func NewRegistry(policy SnapshotPolicy) Registry
Click to show internal directories.
Click to hide internal directories.