Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + type AbstractMatchResult interface + Action func() int + Cli func() string + FromPort func() api.Port + Name func() string + OutPort func() api.Port + type MatchResult struct + func (r *MatchResult) Action() int + func (r *MatchResult) Cli() string + func (r *MatchResult) FromPort() api.Port + func (r *MatchResult) Name() string + func (r *MatchResult) OutPort() api.Port + func (r *MatchResult) SetAction(action int) + func (r *MatchResult) SetCli(cli string) + func (r *MatchResult) SetFromPort(fromPort api.Port) + func (r *MatchResult) SetName(name string) + func (r *MatchResult) SetOutPort(outPort api.Port) + type NodeProcessor struct + func (np *NodeProcessor) GetInEntry() policy.PolicyEntryInf + func (np *NodeProcessor) GetLogger() zap.Logger + func (np *NodeProcessor) GetNode() api.Node + func (np *NodeProcessor) GetSteps() map[string]*ProcessStep + func (np *NodeProcessor) Iterator() *StepIterator + func (np *NodeProcessor) SetInEntry(inEntry policy.PolicyEntryInf) + func (np *NodeProcessor) SetLogger(logger zap.Logger) + func (np *NodeProcessor) SetNode(node api.Node) + func (np *NodeProcessor) SetStepList(list []string) error + func (np *NodeProcessor) SetSteps(steps map[string]*ProcessStep) + type PhaseProcessAction int + const PHASE_GENERATED + const PHASE_MATCHED + type ProcessStep struct + func NewProcessStep(phase int) *ProcessStep + func (step *ProcessStep) WithCli(cli string) *ProcessStep + func (step *ProcessStep) WithCmdList(cmdList interface{}) *ProcessStep + func (step *ProcessStep) WithMatchResult(result AbstractMatchResult) *ProcessStep + func (step *ProcessStep) WithPhaseAction(action PhaseProcessAction) *ProcessStep + func (step *ProcessStep) WithRule(rule string) *ProcessStep + func (step ProcessStep) GetCli() string + func (step ProcessStep) GetCmdList() interface{} + func (step ProcessStep) GetPhase() int + func (step ProcessStep) GetPhaseAction() PhaseProcessAction + func (step ProcessStep) GetResult() AbstractMatchResult + func (step ProcessStep) GetRule() string + type StepIterator struct + func (it *StepIterator) HasNext() bool + func (it *StepIterator) Next() (string, *ProcessStep)