Versions in this module Expand all Collapse all v0 v0.1.2 Jul 15, 2026 v0.1.1 Jul 13, 2026 v0.1.0 Jul 13, 2026 Changes in this version + type ClaimRetryToml struct + Enabled *bool + Jitter *float64 + MaxAge string + Schedule []string + type Config struct + Containerd ContainerdConfig + Dind DindConfig + Forgejo ForgejoConfig + GitHub GitHubConfig + GitLab GitLabConfig + Gitea GiteaConfig + Log LogConfig + Metrics MetricsConfig + ModuleProxy ModuleProxyConfig + Network NetworkConfig + Runner RunnerConfig + Runtime RuntimeConfig + VM VMConfig + Webhook WebhookConfig + Woodpecker WoodpeckerConfig + func Load(path string) (*Config, error) + func (c *Config) Logger() *slog.Logger + func (c *Config) Provider() string + func (c *Config) Providers() []string + type ContainerdConfig struct + type DindConfig struct + AllowPrivileged *bool + CacheMaxAge time.Duration + CachePruneInterval time.Duration + Enabled bool + func (d *DindConfig) DindCacheMaxAge() time.Duration + func (d *DindConfig) DindCachePruneInterval() time.Duration + func (d *DindConfig) ResolvedAllowPrivileged() bool + type ForgejoConfig struct + DefaultImage string + DefaultImageLinux string + DefaultImageWindows string + InstanceURL string + JobImage string + Labels []string + Owner string + Repos []string + Token string + func (f *ForgejoConfig) DefaultImageFor(os string) string + type GitHubConfig struct + AppID int64 + DefaultImage string + DefaultImageLinux string + DefaultImageWindows string + InstallationID int64 + Owner string + PollInterval string + PrivateKeyPath string + Repos []string + Token string + func (g *GitHubConfig) DefaultImageFor(os string) string + func (g *GitHubConfig) ParsedPollInterval() time.Duration + type GitLabConfig struct + DefaultImage string + DefaultImageLinux string + DefaultImageWindows string + InstanceURL string + Tags []string + Token string + func (g *GitLabConfig) DefaultImageFor(os string) string + type GiteaConfig struct + DefaultImage string + DefaultImageLinux string + DefaultImageWindows string + InstanceURL string + JobImage string + Labels []string + Owner string + Repos []string + Token string + func (g *GiteaConfig) DefaultImageFor(os string) string + type LinuxVMToml struct + CPUs uint + DiskSizeGB uint64 + Enabled bool + MemoryMB uint64 + type LogConfig struct + Format string + Level string + LogRetention string + Writer io.Writer + func (lc LogConfig) LogRetentionDuration() time.Duration + type MacOSRunnerConfig struct + MaxNative int + MaxProcesses *int + Mode string + Repos map[string]string + SandboxStrict bool + User string + func (m *MacOSRunnerConfig) ModeForRepo(repo string) string + func (m *MacOSRunnerConfig) ResolvedMaxNative() int + func (m *MacOSRunnerConfig) ResolvedMaxProcesses() int + func (m *MacOSRunnerConfig) StrictSandbox() bool + type MacOSVMToml struct + CPUs uint + DiskImage string + MaxConcurrent int + MemoryMB uint64 + type MetricsConfig struct + ContainerStatsInterval string + Enabled bool + Path string + Port int + TLSCert string + TLSKey string + func (m MetricsConfig) ParsedContainerStatsInterval() time.Duration + type ModuleProxyConfig struct + Cleanup bool + Enabled bool + Port int + Upstream string + type NetworkConfig struct + MTU int + Subnet string + type OrphanSweepToml struct + Enabled *bool + Grace string + type RunnerConfig struct + ClaimRetry ClaimRetryToml + DefaultImage string + ExtraLabels []string + Images map[string]map[string]string + JobTimeout string + MacOS MacOSRunnerConfig + MaxConcurrent int + OrphanSweep OrphanSweepToml + ShutdownTimeout string + Windows WindowsRunnerToml + func (r *RunnerConfig) ClaimRetryEnabled() bool + func (r *RunnerConfig) ClaimRetryJitter() float64 + func (r *RunnerConfig) ClaimRetryMaxAge() time.Duration + func (r *RunnerConfig) ClaimRetrySchedule() []time.Duration + func (r *RunnerConfig) ImageForRepo(repo string) string + func (r *RunnerConfig) ImageForRepoOS(repo, os string) string + func (r *RunnerConfig) OrphanSweepEnabled() bool + func (r *RunnerConfig) OrphanSweepGrace() time.Duration + func (r *RunnerConfig) ParsedJobTimeout() time.Duration + func (r *RunnerConfig) ParsedShutdownTimeout() time.Duration + type RuntimeConfig struct + Rlimits RuntimeRlimits + type RuntimeRlimits struct + Nofile int64 + Nproc int64 + func (r RuntimeRlimits) Resolved() RuntimeRlimits + type VMConfig struct + CrossPlatform *bool + Linux LinuxVMToml + MacOS MacOSVMToml + func (v *VMConfig) CrossPlatformEnabled() bool + type WebhookConfig struct + CloudflaredHostname string + CloudflaredToken string + CloudflaredVersion string + ExternalURL string + NgrokAuthtoken string + Pool bool + Port int + ReconcileInterval string + Secret string + TLSCert string + TLSKey string + Tunnel string + TunnelMaxRetries int + TunnelURL string + func (w *WebhookConfig) ResolvedReconcileInterval() time.Duration + type WindowsRunnerToml struct + CPUs uint64 + MemoryMB uint64 + func (w WindowsRunnerToml) CPUCount() uint64 + func (w WindowsRunnerToml) MemoryBytes() uint64 + type WoodpeckerConfig struct + AgentSecret string + ServerURL string