libvirt

package
v2.36.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Defaults
	DefaultNetwork     = "crc"
	DefaultStoragePool = "crc"

	// Static addresses
	MACAddress = "52:fd:fc:07:21:82"
	IPAddress  = "192.168.130.11"
)
View Source
const (
	MachineDriverVersion = "0.13.7"
)
View Source
const (
	NetworkTemplate = `` /* 397-byte string literal not displayed */

)

Variables

View Source
var (
	MachineDriverDownloadURL = fmt.Sprintf("https://github.com/crc-org/machine-driver-libvirt/releases/download/%s/%s", MachineDriverVersion, machineDriverCommand)
)

Functions

func CreateHost

func CreateHost(machineConfig config.MachineConfig) *libvirt.Driver

func MachineDriverPath

func MachineDriverPath() string

Types

type NetworkConfig

type NetworkConfig struct {
	NetworkName string
	MAC         string
	IP          string
}

Jump to

Keyboard shortcuts

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