Documentation
¶
Overview ¶
Package remotebuild runs read-only build commands in reusable, worktree-owned builder Jobs. Cluster names, images and credentials belong to desk configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Job ¶
Job gives each worktree/toolchain a warm workspace without cluster credentials. Exiting the watchdog lets the TTL controller delete both Job and pod.
Types ¶
type Config ¶
type Config struct {
Enabled bool `yaml:"enabled"`
Kubeconfig string `yaml:"kubeconfig"`
Context string `yaml:"context"`
Namespace string `yaml:"namespace"`
Images map[string]string `yaml:"images"`
CPU string `yaml:"cpu"`
Memory string `yaml:"memory"`
MaxPods int `yaml:"maxPods"`
PlacementTimeout time.Duration `yaml:"placementTimeout"`
IdleTimeout time.Duration `yaml:"idleTimeout"`
}
Config is opt-in; no Kubernetes call is made while Enabled is false.