libvirt

package
v1.99.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 5 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 (
	MachineDriverCommand = "crc-driver-libvirt"
	MachineDriverVersion = "0.13.1"
)
View Source
const (
	NetworkTemplate = `` /* 397-byte string literal not displayed */

)

Variables

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

Functions

func CreateHost

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

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