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) ProcessDockerNetworkCreate(network types.NetworkResource, iface string)
- func (manager *NetworkManager) ProcessDockerNetworkDestroy(network types.NetworkResource)
- 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 {
DockerNetworks map[string]types.NetworkResource
}
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) ProcessDockerNetworkCreate ¶
func (manager *NetworkManager) ProcessDockerNetworkCreate(network types.NetworkResource, iface string)
func (*NetworkManager) ProcessDockerNetworkDestroy ¶
func (manager *NetworkManager) ProcessDockerNetworkDestroy(network types.NetworkResource)
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.