libvirt

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Defaults
	DefaultNetwork   = "crc"
	DefaultCacheMode = "default"
	DefaultIOMode    = "threads"

	// Static addresses
	MACAddress = "52:fd:fc:07:21:82"
	IPAddress  = "192.168.130.11"
)
View Source
const (
	MachineDriverCommand = "crc-driver-libvirt"
	MachineDriverVersion = "0.12.8"
)
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

This section is empty.

Types

type Driver added in v1.14.0

type Driver struct {
	*drivers.BaseDriver

	// Driver specific configuration
	Memory      int
	CPU         int
	Network     string
	DiskPath    string
	CacheMode   string
	IOMode      string
	DiskPathURL string
	SSHKeyPath  string
}

func CreateHost

func CreateHost(machineConfig config.MachineConfig) *Driver

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