Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
}
Click to show internal directories.
Click to hide internal directories.