statedir

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Populate

func Populate(dirPath string, hostnameMap map[string]net.IP) error

Populate populates the state dir. When the dir path is empty, it is interpreted as "~/.norouter/agent". The dir path is expanded using ../filepathutil.Expand .

The following files are created in the directory: "hosts", "hostaliases", "README.md"

Types

This section is empty.

Jump to

Keyboard shortcuts

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