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-beta.5
Published
Sep 15, 2016
Platform
linux/amd64
Imports
14 packages
Last checked
3 minutes ago

Tools for package owners.