Documentation
¶
Index ¶
- func Invalidate()
- func Load(configFile string) error
- type CommunicationConfig
- type ComparisonConfig
- type Config
- type ReadinessConfig
- type RecordingConfig
- type ReplayConfig
- type ResultsConfig
- type ServiceConfig
- type StartConfig
- type StopConfig
- type TestExecutionConfig
- type TracesConfig
- type TuskAPIConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Invalidate ¶ added in v0.1.19
func Invalidate()
Invalidate clears all cached config state, forcing a reload on next Get(). Used when updating the config file and for testing.
Types ¶
type CommunicationConfig ¶ added in v0.1.6
type ComparisonConfig ¶
type Config ¶
type Config struct {
Service ServiceConfig `koanf:"service"`
TuskAPI TuskAPIConfig `koanf:"tusk_api"`
Comparison ComparisonConfig `koanf:"comparison"`
TestExecution TestExecutionConfig `koanf:"test_execution"`
Recording RecordingConfig `koanf:"recording"`
Replay ReplayConfig `koanf:"replay"`
Traces TracesConfig `koanf:"traces"`
Results ResultsConfig `koanf:"results"`
}
type ReadinessConfig ¶
type RecordingConfig ¶
type ReplayConfig ¶ added in v0.1.17
type ReplayConfig struct {
}
type ResultsConfig ¶
type ResultsConfig struct {
Dir string `koanf:"dir"`
}
type ServiceConfig ¶
type ServiceConfig struct {
ID string `koanf:"id"`
Name string `koanf:"name"`
Port int `koanf:"port"`
Start StartConfig `koanf:"start"`
Stop StopConfig `koanf:"stop"`
Readiness ReadinessConfig `koanf:"readiness_check"`
Communication CommunicationConfig `koanf:"communication"`
}
type StartConfig ¶
type StartConfig struct {
Command string `koanf:"command"`
}
type StopConfig ¶ added in v0.1.6
type StopConfig struct {
Command string `koanf:"command"`
}
type TestExecutionConfig ¶
type TracesConfig ¶
type TracesConfig struct {
Dir string `koanf:"dir"`
}
type TuskAPIConfig ¶
type TuskAPIConfig struct {
URL string `koanf:"url"`
}
Click to show internal directories.
Click to hide internal directories.