vmdocker

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Spawn

func Spawn(env vmmSchema.Env) (vm vmmSchema.Vm, err error)

Types

type VmDocker

type VmDocker struct {
	Env vmmSchema.Env
	// contains filtered or unexported fields
}

func New

func New(env vmmSchema.Env, nodeAddr string, tags []goarSchema.Tag) (*VmDocker, error)

todo: add cpu, mem

func (*VmDocker) Apply

func (v *VmDocker) Apply(from string, meta vmmSchema.Meta) vmmSchema.Result

func (*VmDocker) Checkpoint

func (v *VmDocker) Checkpoint() (string, error)

func (*VmDocker) Close

func (v *VmDocker) Close() error

func (*VmDocker) Restore

func (v *VmDocker) Restore(snapshot string) error

func (*VmDocker) Run

func (v *VmDocker) Run(cuAddr string, data []byte, tags []goarSchema.Tag) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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