Versions in this module Expand all Collapse all v1 v1.0.1 Jun 25, 2024 Changes in this version + const IPv4 + const IPv6 + 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 + func NewMetaHostportManager() HostPortManager + func NewNoopHostportManager() HostPortManager + type PodPortMapping struct + HostNetwork bool + IP net.IP + Name string + Namespace string + PortMappings []*PortMapping + type PortMapping struct + ContainerPort int32 + HostIP string + HostPort int32 + Protocol v1.Protocol