sysctl

package
v0.32.12 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(this common.Package, that common.Package) bool

func Enable

func Enable(pkg *common.Package, property SysctlPropery)

Types

type Installer

type Installer interface {
	nodeagent.Installer
	// contains filtered or unexported methods
}

func New

func New(monitor mntr.Monitor) Installer

type SysctlPropery

type SysctlPropery string
const (
	IpForward             SysctlPropery = "net.ipv4.ip_forward"
	NonLocalBind          SysctlPropery = "net.ipv4.ip_nonlocal_bind"
	BridgeNfCallIptables  SysctlPropery = "net.bridge.bridge-nf-call-iptables"
	BridgeNfCallIp6tables SysctlPropery = "net.bridge.bridge-nf-call-ip6tables"
)

Jump to

Keyboard shortcuts

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