networkd

package
v0.0.0-...-e749f68 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyNetworkdConfiguration

func ApplyNetworkdConfiguration(currentConfig config.Config, pendingConfig config.Config) error

func RemoveContents

func RemoveContents(dir string) error

Types

type BondMembership

type BondMembership struct {
	Name     string
	BondName string
}

type BridgeMembership

type BridgeMembership struct {
	Name       string
	BridgeName string
}

type InterfaceWithName

type InterfaceWithName struct {
	Name string
	network.Interface
	Vlans        []string
	StaticRoutes []network.StaticRoute
}

type NameAndConfig

type NameAndConfig struct {
	Name   string
	Config config.Config
}

type NetworkdConfigFile

type NetworkdConfigFile struct {
	Name    string
	Content string
}

func GenerateNetworkdConfiguration

func GenerateNetworkdConfiguration(conf config.Config) ([]NetworkdConfigFile, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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