Documentation ¶
Index ¶
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 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.