config

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertGiBToBytes added in v1.20.0

func ConvertGiBToBytes(gib int) uint64

func InitVMDriverFromMachineConfig added in v1.17.0

func InitVMDriverFromMachineConfig(machineConfig MachineConfig, driver *drivers.VMDriver)

Types

type MachineConfig

type MachineConfig struct {
	// CRC system bundle
	BundleName string

	// Virtual machine configuration
	Name            string
	Memory          int
	CPUs            int
	DiskSize        int
	ImageSourcePath string
	ImageFormat     string
	SSHKeyPath      string
	KubeConfig      string

	// HyperKit specific configuration
	KernelCmdLine string
	Initramfs     string
	Kernel        string

	// Experimental features
	NetworkMode network.Mode
}

Jump to

Keyboard shortcuts

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