iptables

package
v1.24.0-1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetfilterRoute

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

NetfilterRoute implements the engine.credentialsProxyRoute interface by running the external 'iptables' command

func NewNetfilterRoute

func NewNetfilterRoute(cmdExec exec.Exec) (*NetfilterRoute, error)

NewNetfilterRoute creates a new NetfilterRoute object

func (*NetfilterRoute) Create

func (route *NetfilterRoute) Create() error

Create creates the credentials proxy endpoint route in the netfilter table

func (*NetfilterRoute) Remove

func (route *NetfilterRoute) Remove() error

Remove removes the route for the credentials endpoint from the netfilter table

Jump to

Keyboard shortcuts

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