Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigWarnings ¶
ConfigWarnings returns advisory messages for potential MCP misconfiguration.
Types ¶
type Config ¶
Config represents the contents of ingest.config.toml.
type Duration ¶
Duration wraps time.Duration to support TOML marshaling.
func (*Duration) UnmarshalText ¶
UnmarshalText parses Go duration strings.
type ExecutionResult ¶
ExecutionResult captures the outcome of a job execution.
type JobConfig ¶
type JobConfig struct {
Name string `toml:"name"`
Type string `toml:"type"`
Path string `toml:"path"`
RespectGitignore *bool `toml:"respect_gitignore"`
Command string `toml:"command"`
Owner string `toml:"owner"`
Repo string `toml:"repo"`
MCP *MCPOverrides `toml:"mcp"`
}
JobConfig describes a single ingestion job.
func (JobConfig) DisplayName ¶
DisplayName returns a human-friendly identifier for the job.
type MCPOverrides ¶
type MCPOverrides struct {
Provider string `toml:"provider"`
Endpoint string `toml:"endpoint"`
Token string `toml:"token"`
Headers map[string]string `toml:"headers"`
Timeout Duration `toml:"timeout"`
Retry RetryOverrides `toml:"retry"`
}
MCPOverrides configures MCP-backed jobs.
type RetryOverrides ¶
type RetryOverrides struct {
MaxAttempts int `toml:"max_attempts"`
InitialBackoff Duration `toml:"initial_backoff"`
MaxBackoff Duration `toml:"max_backoff"`
}
RetryOverrides customises retry behaviour for MCP jobs.
Click to show internal directories.
Click to hide internal directories.