hostport

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeIPTables added in v1.4.0

func NewFakeIPTables() *fakeIPTables

Types

type ActivePod added in v1.4.5

type ActivePod struct {
	Pod *api.Pod
	IP  net.IP
}

type HostportHandler

type HostportHandler interface {
	OpenPodHostportsAndSync(newPod *ActivePod, natInterfaceName string, activePods []*ActivePod) error
	SyncHostports(natInterfaceName string, activePods []*ActivePod) error
}

func NewHostportHandler

func NewHostportHandler() HostportHandler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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