mac

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForIP

func ForIP(ip string, exec executor.Executor) (net.HardwareAddr, error)

ForIP returns the MAC address of a given IP.

func MatchNode

func MatchNode(nodes []corev1.Node, mac net.HardwareAddr, exec executor.Executor) (*corev1.Node, error)

MatchNode returns the node with the given MAC address.

func UpdateNodeCache

func UpdateNodeCache(nodes []corev1.Node, exec executor.Executor) error

UpdateNodeCache pings all the nodes to update the address resolution cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

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