Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeviceSpec ¶
type DeviceSpec = runtime.DeviceSpec
type LaunchOpts ¶
type LaunchOpts struct {
ProfileName string
Args []string
Command string
Workspace string
ProfileDir string
ExtraTools []string
DryRun bool
Verbose bool
Runtime runtime.Runtime
// Progress receives status lines during Prepare (image pull, mise
// install). If nil, progress goes to stderr. Set to a no-op writer
// to silence progress entirely.
Progress runtime.ProgressWriter
// PortAllocator reserves host ports for auto-allocated bindings. If
// nil, an ephemeral socket bind is used. Injectable for deterministic
// tests.
PortAllocator PortAllocator
}
type PortAllocator ¶
PortAllocator reserves an unused host port for a published binding. protocol is "tcp", "udp", or "sctp"; hostIP is the requested bind address ("" = all interfaces). Returns the allocated port as a string.
type Result ¶
func LaunchWithWriter ¶
type WorkspaceSpec ¶
type WorkspaceSpec = runtime.WorkspaceSpec
Click to show internal directories.
Click to hide internal directories.