parallels

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoNetworkAvailable = errors.New("no network available")

Functions

This section is empty.

Types

type Config

type Config struct {
	ImageDirectory   string `json:"image_directory"`
	WorkingDirectory string `json:"working_directory"`
	LicenseKey       string `json:"license_key"`
}

type Network

type Network string

type Parallels

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

func New

func New(config []byte) (*Parallels, error)

func (*Parallels) Create

func (hv *Parallels) Create(ctx context.Context, name string) (vm hypervisor.VirtualMachine, err error)

func (*Parallels) Delete

func (hv *Parallels) Delete(ctx context.Context, id string) error

func (*Parallels) Init

func (hv *Parallels) Init(ctx context.Context, config []byte) error

func (*Parallels) List

func (*Parallels) Shutdown

func (hv *Parallels) Shutdown(ctx context.Context) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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