netdump

package
v0.0.0-...-5fb8a3f Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump() (*netapi.Net, []error, error)

Dump dumps the network configuration of the current network namespace into a osbase.net.proto.Net structure. This is currently only expected to work for systems which do not use a dynamic routing protocol to establish basic internet connectivity. The second return value is a list of warnings, i.e. things which might be problematic, but might still result in a working (though less complete) configuration. The Net in the first return value is set to a non-nil value even if there are warnings. The third return value is for a hard error, the Net value will be nil in that case.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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