Documentation
¶
Index ¶
- func Load(data []byte, cfg *Config) error
- func LoadFile(filename string, cfg *Config) error
- type Config
- type Endpoint
- type GitLab
- type Log
- type Project
- type ProjectCatchUp
- type ProjectExport
- type ProjectExportMetrics
- type ProjectExportSections
- type ProjectExportTestReports
- type ProjectExportTraces
- type ProjectSettings
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { GitLab GitLab `default:"{}" yaml:"gitlab"` Endpoints []Endpoint `default:"[]" yaml:"endpoints"` Projects []Project `default:"[]" yaml:"projects"` Server Server `default:"{}" yaml:"server"` Log Log `default:"{}" yaml:"log"` }
func (*Config) UnmarshalYAML ¶
Config implements the Unmarshaler interface
type Project ¶
type Project struct { ProjectSettings `default:"{}" yaml:",inline"` Id int64 `yaml:"id"` }
type ProjectCatchUp ¶
type ProjectExport ¶
type ProjectExport struct { Sections ProjectExportSections `default:"{}" yaml:"sections"` TestReports ProjectExportTestReports `default:"{}" yaml:"testreports"` Traces ProjectExportTraces `default:"{}" yaml:"traces"` Metrics ProjectExportMetrics `default:"{}" yaml:"metrics"` }
type ProjectExportMetrics ¶ added in v0.6.0
type ProjectExportMetrics struct {
Enabled bool `default:"true" yaml:"enabled"`
}
type ProjectExportSections ¶
type ProjectExportSections struct {
Enabled bool `default:"true" yaml:"enabled"`
}
type ProjectExportTestReports ¶
type ProjectExportTestReports struct {
Enabled bool `default:"true" yaml:"enabled"`
}
type ProjectExportTraces ¶
type ProjectExportTraces struct {
Enabled bool `default:"true" yaml:"enabled"`
}
type ProjectSettings ¶
type ProjectSettings struct { Export ProjectExport `default:"{}" yaml:"export"` CatchUp ProjectCatchUp `default:"{}" yaml:"catch_up"` }
func DefaultProjectSettings ¶
func DefaultProjectSettings() ProjectSettings
Click to show internal directories.
Click to hide internal directories.