numachine

package
v0.0.0-...-847bbec Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Instance1 model.LocalInstance = model.LocalInstance{
	Id:     model.NewUUIDString(),
	Name:   "Machine1",
	Memory: 4096,
	Disks: []model.Disk{
		{
			Id:   model.NewUUIDString(),
			Name: "dev0",
			Size: 50,
			Type: 0,
		},
	},
	Cpus:      2,
	Driver:    "virtualbox",
	Hostname:  "machine1",
	OSType:    "rancheros",
	OSVersion: "1.0.0",
	NoShare:   true,
	Roles:     []string{"rancher", "server"},
}
View Source
var Instance2 model.LocalInstance = model.LocalInstance{
	Id:     model.NewUUIDString(),
	Name:   "Machine2",
	Memory: 4096,
	Disks: []model.Disk{
		{
			Id:   model.NewUUIDString(),
			Name: "dev0",
			Size: 50,
			Type: 0,
		},
	},
	Cpus:      2,
	Driver:    "virtualbox",
	Hostname:  "machine2",
	OSType:    "rancheros",
	OSVersion: "1.0.0",
	NoShare:   true,
	Roles:     []string{"rancher", "server"},
}
View Source
var Machine1 model.LocalMachine = model.LocalMachine{
	Id:        model.NewUUIDString(),
	Name:      "Machine1",
	Memory:    4096,
	DiskSize:  50,
	Cpus:      2,
	Driver:    "vmwarefusion",
	Hostname:  "machine1",
	OSType:    "rancheros",
	OSVersion: "1.0.0",
	NoShare:   true,
	Roles:     []string{"rancher", "server"},
	Options:   [][]string{},
}
View Source
var Machine2 model.LocalMachine = model.LocalMachine{
	Id:        model.NewUUIDString(),
	Name:      "Machine2",
	Memory:    4096,
	DiskSize:  50,
	Cpus:      2,
	Driver:    "virtualbox",
	Hostname:  "machine2",
	OSType:    "rancheros",
	OSVersion: "1.0.0",
	NoShare:   false,
	Roles:     []string{"rancher", "server"},
	Options:   [][]string{},
	Engine: model.ProjectEngineOpt{
		StorageDriver: "overlay",
	},
}

Functions

func TestVMFusionDockerMachineCreation

func TestVMFusionDockerMachineCreation()

func TestVirtualBoxDockerMachineCreation

func TestVirtualBoxDockerMachineCreation()

Types

This section is empty.

Jump to

Keyboard shortcuts

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