Versions in this module Expand all Collapse all v1 v1.16.3 Oct 23, 2019 Changes in this version + func NewFakeIPTables() *fakeIPTables + type HostPortManager interface + Add func(id string, podPortMapping *PodPortMapping, natInterfaceName string) error + Remove func(id string, podPortMapping *PodPortMapping) error + func NewHostportManager(iptables utiliptables.Interface) HostPortManager + type HostportSyncer interface + OpenPodHostportsAndSync func(newPortMapping *PodPortMapping, natInterfaceName string, ...) error + SyncHostports func(natInterfaceName string, activePodPortMappings []*PodPortMapping) error + func NewHostportSyncer(iptables utiliptables.Interface) HostportSyncer + type PodPortMapping struct + HostNetwork bool + IP net.IP + Name string + Namespace string + PortMappings []*PortMapping + type PortMapping struct + ContainerPort int32 + HostIP string + HostPort int32 + Name string + Protocol v1.Protocol