hostport

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 added in v1.4.0

func NewFakeIPTables() *fakeIPTables

Types

type HostportHandler

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

func NewHostportHandler

func NewHostportHandler() HostportHandler

type RunningPod

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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