hyperkit

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DHCPLeasesFile = "/var/db/dhcpd_leases"
)

Variables

This section is empty.

Functions

func ExtractFile

func ExtractFile(isoPath, srcPath, destPath string) error

func GetIPAddressByMACAddress

func GetIPAddressByMACAddress(mac string) (string, 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