multipass

package
v0.4.0 Latest Latest
Warning

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

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

README


title: Multipass description: Multpass provider weight: 20

The Multipass provider is a simple wrapper around the Multipass executable. If Multipass is installed this provider will allow Carbon to interact with them. Since Multipass is on the local machine there is only one Profile returned (local) and one Environment returned (local).

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