Documentation ¶
Overview ¶
Package config defines the config for the binary. For Gardener, the intent is to provide the config.yml file through config map.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConfig = errors.New("no config file given")
Functions ¶
This section is empty.
Types ¶
type Datasets ¶
Datasets contains the name of BigQuery datasets used for temporary, raw, or joined tables.
type Gardener ¶
type Gardener struct { StartDate time.Time `yaml:"start_date"` Tracker TrackerConfig `yaml:"tracker"` Monitor MonitorConfig `yaml:"monitor"` Sources []SourceConfig `yaml:"sources"` }
Gardener is the full config for a Gardener instance.
func ParseConfig ¶
ParseConfig loads the full Config, or Exits on failure.
type MonitorConfig ¶
MonitorConfig holds the config for the state machine monitor.
type SourceConfig ¶
type SourceConfig struct { Bucket string `yaml:"bucket"` Experiment string `yaml:"experiment"` Datatype string `yaml:"datatype"` Filter string `yaml:"filter"` Datasets Datasets `yaml:"target_datasets"` DailyOnly bool `yaml:"daily_only"` FullHistory bool `yaml:"full_history"` // FullHistory = true implies DailyOnly = false. }
SourceConfig holds the config that defines all data sources to be processed.
type TrackerConfig ¶
TrackerConfig holds the config for the job tracker.
Click to show internal directories.
Click to hide internal directories.