sysctl

package
v1.12.2-1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ipv4RouteLocalnet

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

Ipv4RouteLocalnet implements the engine.loopbackRouting interface by running the external 'sysctl' command

func NewIpv4RouteLocalNet

func NewIpv4RouteLocalNet(cmdExec exec.Exec) (*Ipv4RouteLocalnet, error)

NewIpv4RouteLocalNet creates a new Ipv4RouteLocalnet object

func (*Ipv4RouteLocalnet) Enable

func (ipv4RouteLocalnet *Ipv4RouteLocalnet) Enable() error

Enable enables routing to loopback addresses

func (*Ipv4RouteLocalnet) RestoreDefault

func (ipv4RouteLocalnet *Ipv4RouteLocalnet) RestoreDefault() error

Restore restores the default value for loopback addresses

Jump to

Keyboard shortcuts

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