Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDocLink ¶
func ConfigDocLink() string
Types ¶
type Config ¶
type Config struct {
Tests []ScorecardTest `yaml:"tests"`
}
Config represents the set of test configurations which scorecard would run based on user input
func LoadConfig ¶
LoadConfig will find and return the scorecard config, the config file can be passed in via command line flag or from a bundle location or bundle image
type ScorecardTest ¶
type ScorecardTest struct { Name string `yaml:"name"` // The container test name Image string `yaml:"image"` // The container image name Entrypoint string `yaml:"entrypoint,omitempty"` // An optional entrypoint passed to the test image Labels map[string]string `yaml:"labels"` // User defined labels used to filter tests Description string `yaml:"description"` // User readable test description }
Click to show internal directories.
Click to hide internal directories.