Documentation ¶
Index ¶
- Constants
- func DeleteEgressGwRoutes(server string)
- func Init() (func(), error)
- func ProcessAclRules(server string, fwUpdate *models.FwUpdate)
- func ProcessIngressUpdate(server string, ingressUpdate map[string]models.IngressInfo) error
- func RemoveIngressRoutingRules(server string)
- func SetEgressRoutes(server string, egressUpdate map[string]models.EgressInfo) error
Constants ¶
View Source
const ( TestIPv4 = "1.1.1.1" TestIPv6 = "2606:4700:4700::1111" IPv4Network = "0.0.0.0/0" IPv6Network = "::/0" )
Variables ¶
This section is empty.
Functions ¶
func DeleteEgressGwRoutes ¶
func DeleteEgressGwRoutes(server string)
DeleteEgressGwRoutes - deletes egress routes for the gateway
func Init ¶
func Init() (func(), error)
Init - initialises the firewall controller,return a close func to flush all rules
func ProcessAclRules ¶
func ProcessIngressUpdate ¶
func ProcessIngressUpdate(server string, ingressUpdate map[string]models.IngressInfo) error
func RemoveIngressRoutingRules ¶
func RemoveIngressRoutingRules(server string)
func SetEgressRoutes ¶
func SetEgressRoutes(server string, egressUpdate map[string]models.EgressInfo) error
SetEgressRoutes - sets the egress route for the gateway
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.