udev

package
v0.0.0-...-6b33121 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: MIT-0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// in a future version of systemd (v258+?) the network manager reads udev
	// properties to tell if the interface link should be managed. by default it
	// assumes they should be, but if the 'ID_NET_MANAGED_BY' property exists
	// and its value is not equal to 'io.systemd.Network', systemd is forced to
	// stop managing the link.
	//
	// see: https://github.com/systemd/systemd/pull/29782
	// see: https://github.com/systemd/systemd/blob/9709deba913c9c2c2e9764bcded35c6081b05197/src/network/networkd-link.c#L1372-L1396
	ManagerSystemd = "io.systemd.Network"

	ManagerCNI = "cni"
)
View Source
const NetworkManagerCacheDir = "/etc/eks/nodeadm/udev-net-manager"

Variables

This section is empty.

Functions

func NewFSBroker

func NewFSBroker(instanceID string) *fsBroker

func NewNetManagerCommand

func NewNetManagerCommand() cli.Command

Types

type NetworkInterfaceBroker

type NetworkInterfaceBroker interface {
	ManagerFor(interfaceName string) (string, error)
}

Jump to

Keyboard shortcuts

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