Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Services []Service `json:"services" yaml:"services"` ConfigFile string `env:"TESTS_COVERAGE_CONFIG_FILE" json:"-"` ResultsDir string `env:"TESTS_COVERAGE_RESULTS_DIR" envDefault:"." json:"-" yaml:"resultsDir"` HTMLReportDir string `env:"TESTS_COVERAGE_HTML_REPORT_DIR" envDefault:"." json:"-" yaml:"htmlReportDir"` JSONReportDir string `env:"TESTS_COVERAGE_JSON_REPORT_DIR" envDefault:"." json:"-" yaml:"jsonReportDir"` HTMLReportFile string `env:"TESTS_COVERAGE_HTML_REPORT_FILE" envDefault:"index.html" json:"-" yaml:"htmlReportFile"` JSONReportFile string `env:"TESTS_COVERAGE_JSON_REPORT_FILE" envDefault:"coverage-report.json" json:"-" yaml:"jsonReportFile"` }
func (*Config) GetJSONReportFile ¶
func (*Config) GetResultsDir ¶
func (*Config) PrintConfig ¶
func (c *Config) PrintConfig()
type Service ¶
type Service struct { Name string `json:"name" yaml:"name"` Host ServiceHost `json:"host" yaml:"host"` Repository string `json:"repository" yaml:"repository"` }
type ServiceHost ¶
type ServiceHost string
func (ServiceHost) String ¶
func (h ServiceHost) String() string
Click to show internal directories.
Click to hide internal directories.