networkmanager

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkManager

type NetworkManager struct {
	PodmanNetworks map[string]containerTypes.Network
}

func New

func New() NetworkManager

func (*NetworkManager) AddRoute

func (manager *NetworkManager) AddRoute(net string, iface string) (string, string, error)

Add a route to the macOS routing table.

func (*NetworkManager) DeleteRoute

func (manager *NetworkManager) DeleteRoute(net string) (string, string, error)

Delete a route from the macOS routing table.

func (*NetworkManager) ProcessPodmanNetworkCreate

func (manager *NetworkManager) ProcessPodmanNetworkCreate(network containerTypes.Network, iface string)

func (*NetworkManager) SetInterfaceAddress

func (manager *NetworkManager) SetInterfaceAddress(ip string, peerIp string, iface string) (string, string, error)

Set the point-to-point IP address configuration on a network interface.

Jump to

Keyboard shortcuts

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