Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 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 + func ConstructPodPortMapping(pod *v1.Pod, podIP net.IP) *PodPortMapping + type PortMapping struct + ContainerPort int32 + HostIP string + HostPort int32 + Name string + Protocol v1.Protocol