virtualbox

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 8 Imported by: 0

README


title: VirtualBox description: VirtualBox Provider weight: 20

VirtualBox is an easy-to-use virtualization solution. It is also free. It is typically installed on your computer and allows you to create virtual machines for testing. Because of this, certain Carbon features will be static.

This provider is a simple wrapper around vbox-manage. If that is installed, it will allow you to interact with your VMs using Carbon.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() types.Provider

Types

type Environment added in v0.4.0

type Environment struct {
	// contains filtered or unexported fields
}

func (*Environment) CreateVM added in v0.4.0

func (e *Environment) CreateVM(options types.MachineLaunchOptions) error

func (*Environment) DestroyImage added in v0.4.0

func (e *Environment) DestroyImage(imageID string) error

func (*Environment) DestroyVM added in v0.4.0

func (e *Environment) DestroyVM(id string) error

func (*Environment) ImageBuilds added in v0.4.0

func (e *Environment) ImageBuilds() ([]types.ImageBuild, error)

func (*Environment) Images added in v0.4.0

func (e *Environment) Images() ([]types.Image, error)

func (*Environment) Name added in v0.4.0

func (e *Environment) Name() string

func (*Environment) Profile added in v0.4.0

func (e *Environment) Profile() types.Profile

func (*Environment) RestartVM added in v0.4.0

func (e *Environment) RestartVM(id string) error

func (*Environment) StartVM added in v0.4.0

func (e *Environment) StartVM(id string) error

func (*Environment) StopVM added in v0.4.0

func (e *Environment) StopVM(id string) error

func (*Environment) VMs added in v0.4.0

func (e *Environment) VMs() []types.VM

type Profile added in v0.4.0

type Profile struct {
	types.Profile
}

func NewProfile added in v0.3.0

func NewProfile(name string, providerInstance *Provider, config common.ProfileConfig) *Profile

func (*Profile) Environments added in v0.4.0

func (p *Profile) Environments() []types.Environment

type Provider added in v0.4.0

type Provider struct {
	types.Provider
	// contains filtered or unexported fields
}

func (*Provider) IsAvailable added in v0.4.0

func (p *Provider) IsAvailable() bool

func (*Provider) Profiles added in v0.4.0

func (p *Provider) Profiles() []types.Profile

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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