Documentation ¶
Index ¶
Constants ¶
View Source
const ( RUNNING = "Running" STOPPED = "Stopped" NOTFOUND = "NotFound" BUSY = "Busy" )
View Source
const ( MULTIPASS_PATH = "MULTIPASS_PATH" MULTIPASS_IMAGE = "MULTIPASS_IMAGE" MULTIPASS_CPUS = "MULTIPASS_CPUS" MULTIPASS_DISK_SIZE = "MULTIPASS_DISK_SIZE" MULTIPASS_MEMORY = "MULTIPASS_MEMORY" MULTIPASS_MOUNTS = "MULTIPASS_MOUNTS" )
Variables ¶
This section is empty.
Functions ¶
func Command ¶
func Command() error
devpod uses this to inject itself into the environment and route all communication through the commands standard output and input.
func Init ¶
func Init() error
devpod calls this when the provider is being added, here we are just invoking the 'multipass version' command as a way to ensure that multipass is reachable
Types ¶
type Options ¶
type Options struct { Path string // Path to multipass executable Image string // --image arg passed into multipass launch command Cpus int // --cpus arg passed into multipass launch command DiskSize string // --disk arg passed into multipass launch command Memory string // --memory arg passed into multipass launch command Mounts string // host to multipass instance mounts }
func OptsFromEnv ¶
Click to show internal directories.
Click to hide internal directories.