quickvm

package module
v0.0.0-...-2676610 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(opt CreateOpt) error

func Run

func Run(opt RunOpt) error

Types

type CreateOpt

type CreateOpt struct {
	Name string
}

type PortForward

type PortForward struct {
	Protocol string
	Port     int
	HostPort int
}

func ParserOptPublish

func ParserOptPublish(ports []string) ([]PortForward, error)

type RunOpt

type RunOpt struct {
	Name           string
	Cpu            int
	Memory         string
	PortForward    []PortForward
	AdditionalArgs []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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