Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContainerFromTUI ¶
func CreateContainerFromTUI(taskDescription, branchNameOverride string, skipConnect, exact bool) error
CreateContainerFromTUI creates a new container with the given parameters (called from TUI)
Types ¶
type Config ¶
type Config struct {
Claude struct {
ConfigPath string `mapstructure:"config_path"`
AuthPath string `mapstructure:"auth_path"`
DefaultMode string `mapstructure:"default_mode"`
} `mapstructure:"claude"`
Containers struct {
Prefix string `mapstructure:"prefix"`
Image string `mapstructure:"image"`
Resources struct {
Memory string `mapstructure:"memory"`
CPUs string `mapstructure:"cpus"`
} `mapstructure:"resources"`
} `mapstructure:"containers"`
Tmux struct {
DefaultSession string `mapstructure:"default_session"`
Prefix string `mapstructure:"prefix"`
} `mapstructure:"tmux"`
Firewall struct {
AllowedDomains []string `mapstructure:"allowed_domains"`
} `mapstructure:"firewall"`
Sync struct {
AdditionalFolders []string `mapstructure:"additional_folders"`
} `mapstructure:"sync"`
GitHub struct {
Enabled bool `mapstructure:"enabled"`
ConfigPath string `mapstructure:"config_path"`
} `mapstructure:"github"`
Daemon struct {
CheckInterval string `mapstructure:"check_interval"`
ShowNag bool `mapstructure:"show_nag"`
TokenRefresh struct {
Enabled bool `mapstructure:"enabled"`
Threshold string `mapstructure:"threshold"`
} `mapstructure:"token_refresh"`
Notifications struct {
Enabled bool `mapstructure:"enabled"`
AttentionThreshold string `mapstructure:"attention_threshold"`
NotifyOn []string `mapstructure:"notify_on"`
QuietHours struct {
Start string `mapstructure:"start"`
End string `mapstructure:"end"`
} `mapstructure:"quiet_hours"`
} `mapstructure:"notifications"`
} `mapstructure:"daemon"`
Apps map[string]string `mapstructure:"apps"` // name -> source path
}
Config represents the maestro configuration
Click to show internal directories.
Click to hide internal directories.