hostport

package
v0.18.2-0...-866293b Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeIPTables

func NewFakeIPTables() *fakeIPTables

Types

type ActivePod

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