nat

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller represents the controller of nat

func NewController

func NewController(
	cfg *config.Config,
	fwNat *nat.FwNat,
	blendedset blended.Interface,
	informer informerv1.NATInformer,
	commit chan bool) *Controller

NewController creates an instance of the nat controller

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, threadiness int) error

Run serves the nat controller

func (*Controller) Stop

func (c *Controller) Stop()

Stop stops the nat controller

Jump to

Keyboard shortcuts

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