networkd

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoPubInterface = errors.New("no public interface configured for this node")

ErrNoPubInterface is the error returns by ReadPubIface when no public interface is configured

View Source
var Module cli.Command = cli.Command{
	Name:  "networkd",
	Usage: "handles network resources and user networks",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:  "root",
			Usage: "`ROOT` working directory of the module",
			Value: "/var/cache/modules/networkd",
		},
		&cli.StringFlag{
			Name:  "broker",
			Usage: "connection string to the message `BROKER`",
			Value: "unix:///var/run/redis.sock",
		},
	},
	Action: action,
}

Module is entry point for module

Functions

This section is empty.

Types

type WatchedLinks struct {
	// contains filtered or unexported fields
}
func NewWatchedLinks(dmz ndmz.DMZ, linkNames []string, nodeID pkg.Identifier, dir client.Directory) WatchedLinks

func (WatchedLinks) Forever

func (w WatchedLinks) Forever(ctx context.Context) error

Jump to

Keyboard shortcuts

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