common

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// Input configuration
	InputDir string `yaml:"input_dir"`
	// Output configuration
	OutputDir string `yaml:"output_dir"`

	// Processing configuration
	Field     string   `yaml:"field"`
	Value     string   `yaml:"value"`
	ValueList string   `yaml:"value_list"`
	Values    []string `yaml:"values"` // Loaded from ValueList if specified
	Threads   int      `yaml:"threads"`

	// Filter configuration
	FileFilter        string `yaml:"file_filter"`
	SplitIntermediate bool   `yaml:"split_intermediate"`
	ErrorRate         int    `yaml:"error_rate"`
	PartialMatch      bool   `yaml:"partial_match"`
	RegexMatch        bool   `yaml:"regex_match"`

	// Debug configuration
	Debug bool `yaml:"debug"`

	// State tracking
	StateFile string `yaml:"state_file"`
}

Config represents user defined configuration

type Context

type Context struct {
	Config Config
	// Groups    []AssetGroup
	Reference Reference
}

Context represents user defined configuration and derived reference configuration

type Dependencies

type Dependencies struct {
	Fs afero.Fs
}

Dependencies represents references to external dependencies

type Reference

type Reference struct {
}

Reference represents derived configuration for internal use from user defined configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL