Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLCache ¶
type ACLCache struct {
// contains filtered or unexported fields
}
ACLCache holds all the ACLS in an internal DB map[prefixes][subnets] -> list of ports with their actions
func (*ACLCache) AddRuleList ¶
func (c *ACLCache) AddRuleList(rules policy.IPRuleList) (err error)
AddRuleList adds a list of rules to the cache
func (*ACLCache) GetMatchingAction ¶
GetMatchingAction gets the matching action
type PortAction ¶
type PortAction struct {
// contains filtered or unexported fields
}
PortAction captures the minimum and maximum ports for an action
Click to show internal directories.
Click to hide internal directories.