Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PortMapping ¶
PortMapping represents a port forwarding configuration
type UpConfig ¶
type UpConfig struct {
// The absolute path to the service's project directory (the one containing .devcontainer).
ProjectDirectory string
// An optional account override from the workspace file. If empty, the account
// from the devcontainer.json file will be used.
AccountOverride string
// A flag to force a rebuild of the container image.
ForceRebuild bool
// An optional map of labels to apply to the container (for workspace tracking).
Labels map[string]string
// An optional name prefix for the container (e.g., "reactor-ws-api-").
NamePrefix string
// CLI-provided port mappings that override devcontainer.json ports
CLIPortMappings []string
// Enable discovery mode (no mounts)
DiscoveryMode bool
// Enable Docker host integration (dangerous)
DockerHostIntegration bool
// Enable verbose output
Verbose bool
}
UpConfig contains all necessary, pre-resolved parameters for an 'up' operation.
Click to show internal directories.
Click to hide internal directories.