portmanager

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortManager

type PortManager struct {
	// contains filtered or unexported fields
}

func NewPortManager

func NewPortManager(ipt iptables.Interface) *PortManager

func (*PortManager) AddPodPortMappings

func (pm *PortManager) AddPodPortMappings(podIp string, cps []v1.ContainerPort) error

func (*PortManager) RemovePodPortMappings

func (pm *PortManager) RemovePodPortMappings(podIp string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL