package hostport

import "k8s.io/kubernetes/pkg/kubelet/network/hostport"

Index

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

Source Files

fake_iptables.go hostport.go

Directories

PathSynopsis
pkg/kubelet/network/hostport/testing
Version
v1.5.6
Published
Mar 28, 2017
Platform
js/wasm
Imports
14 packages
Last checked
18 seconds ago

Tools for package owners.