Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkAPIs ¶
type NetworkAPIs interface { SetupNS(hostVethName string, contVethName string, netnsPath string, addr *net.IPNet, deviceNumber int, vpcCIDRs []string, useExternalSNAT bool, mtu int, log logger.Logger) error TeardownNS(addr *net.IPNet, deviceNumber int, log logger.Logger) error SetupPodENINetwork(hostVethName string, contVethName string, netnsPath string, addr *net.IPNet, vlanID int, eniMAC string, subnetGW string, parentIfIndex int, mtu int, log logger.Logger) error TeardownPodENINetwork(vlanID int, log logger.Logger) error }
NetworkAPIs defines network API calls
Click to show internal directories.
Click to hide internal directories.