Configure flat outputs and native Notarius controls

This commit is contained in:
2026-11-30 00:45:13 +00:00
parent f05e711328
commit 4e3ac343b4
10 changed files with 252 additions and 40 deletions

View File

@@ -383,8 +383,10 @@ type NotariusConfig struct {
Binary string `yaml:"binary" json:"binary"`
Credentials []configkit.Secret `yaml:"credentials,omitempty" json:"credentials,omitempty"`
ConfigOverlay *string `yaml:"config_overlay,omitempty" json:"config_overlay,omitempty"`
Resume bool `yaml:"resume,omitempty" json:"resume,omitempty"`
ChunkCache string `yaml:"chunk_cache,omitempty" json:"chunk_cache,omitempty"`
Cache *string `yaml:"cache,omitempty" json:"cache,omitempty"`
Debug bool `yaml:"debug,omitempty" json:"debug,omitempty"`
Resume bool `yaml:"-" json:"-"`
ChunkCache string `yaml:"-" json:"-"`
ConfigPath string `yaml:"config_path" json:"config_path"`
PipelineID string `yaml:"pipeline_id" json:"pipeline_id"`
Timeout string `yaml:"timeout" json:"timeout"`
@@ -396,10 +398,11 @@ type NotariusConfig struct {
// NotariusOutputConfig declares one required extraction lane contract.
type NotariusOutputConfig struct {
LaneID string `yaml:"lane_id" json:"lane_id"`
MediaType string `yaml:"media_type" json:"media_type"`
SchemaID string `yaml:"schema_id" json:"schema_id"`
SchemaVersion string `yaml:"schema_version" json:"schema_version"`
ModuleKey string `yaml:"module_key" json:"module_key"`
Filename string `yaml:"filename,omitempty" json:"filename,omitempty"`
MediaType string `yaml:"-" json:"-"`
SchemaID string `yaml:"-" json:"-"`
SchemaVersion string `yaml:"-" json:"-"`
ModuleKey string `yaml:"-" json:"-"`
}
// NotificationConfig configures the supported notification behavior.