hyperkit

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LeasesPath       = "/var/db/dhcpd_leases"
	VMNetDomain      = "/Library/Preferences/SystemConfiguration/com.apple.vmnet"
	SharedNetAddrKey = "Shared_Net_Address"
)

Variables

This section is empty.

Functions

func ExtractFile

func ExtractFile(isoPath, srcPath, destPath string) error

func GetIPAddressByMACAddress

func GetIPAddressByMACAddress(mac string) (string, error)

func GetNetAddr added in v0.25.0

func GetNetAddr() (net.IP, error)

func ReadFile

func ReadFile(isoPath, srcPath string) (string, error)

Types

type DHCPEntry

type DHCPEntry struct {
	Name      string
	IPAddress string
	HWAddress string
	ID        string
	Lease     string
}

Jump to

Keyboard shortcuts

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