Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadGlobalConfigFile ¶
func ReadGlobalConfigFile()
Types ¶
type E2EConfig ¶
type E2EConfig struct {
Setup Setup `yaml:"setup"`
Cleanup Cleanup `yaml:"cleanup"`
Trigger Trigger `yaml:"trigger"`
Verify Verify `yaml:"verify"`
}
E2EConfig corresponds to configuration file e2e.yaml.
type GlobalE2EConfig ¶
GlobalE2EConfig stores E2EConfig which can be used globally.
var GlobalConfig GlobalE2EConfig
type Setup ¶
type Verify ¶
type Verify struct {
RetryStrategy VerifyRetryStrategy `yaml:"retry"`
Cases []VerifyCase `yaml:"cases"`
}
type VerifyCase ¶
type VerifyCase struct {
Query string `yaml:"query"`
Actual string `yaml:"actual"`
Expected string `yaml:"expected"`
}
func (*VerifyCase) GetActual ¶
func (v *VerifyCase) GetActual() string
GetActual resolves the absolute file path of the actual data file.
func (*VerifyCase) GetExpected ¶
func (v *VerifyCase) GetExpected() string
GetExpected resolves the absolute file path of the expected data file.
type VerifyRetryStrategy ¶
Click to show internal directories.
Click to hide internal directories.