package hostport

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

Index

Functions

func NewFakeIPTables

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
}

Source Files

fake_iptables.go hostport.go

Directories

PathSynopsis
pkg/kubelet/network/hostport/testing
Version
v1.4.0
Published
Sep 26, 2016
Platform
js/wasm
Imports
14 packages
Last checked
1 minute ago

Tools for package owners.