Documentation
¶
Index ¶
- type NetworkManager
- func (manager *NetworkManager) AddRoute(net string, iface string) (string, string, error)
- func (manager *NetworkManager) DeleteRoute(net string) (string, string, error)
- func (manager *NetworkManager) ProcessPodmanNetworkCreate(network containerTypes.Network, iface string)
- func (manager *NetworkManager) SetInterfaceAddress(ip string, peerIp string, iface string) (string, string, error)
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) 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.
Click to show internal directories.
Click to hide internal directories.