Documentation
¶
Index ¶
Constants ¶
View Source
const (
NetIPv6Forwarding = "net/ipv6/conf/all/forwarding"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // GetSysctl returns the value for the specified sysctl setting GetSysctl(sysctl string) (int, error) // SetSysctl modifies the specified sysctl flag to the new value SetSysctl(sysctl string, newVal int) error }
Interface is an injectable interface for running sysctl commands.
Click to show internal directories.
Click to hide internal directories.