Documentation
¶
Overview ¶
Package cmd contains run cobra command factory function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶ added in v0.4.0
type Check struct {
// Textual explanation of the check result.
Details string `json:"details,omitempty" mapstructure:"details,omitempty" yaml:"details,omitempty"`
// The ID of the checker.
// It identifies the method of check, not the execution of the check.
ID string `json:"id" mapstructure:"id" yaml:"id"`
// The result of the check.
// A true value of the passed property indicates a successful check, while a false
// value indicates a failure.
Passed bool `json:"passed" mapstructure:"passed" yaml:"passed"`
}
Check is the result of a particular inspection.
type Compliance ¶ added in v0.4.0
type Compliance struct {
// Results of individual checks.
Checks []Check `json:"checks,omitempty" mapstructure:"checks,omitempty" yaml:"checks,omitempty"`
// Compliance check timestamp in Unix time
Timestamp int64 `json:"timestamp" mapstructure:"timestamp" yaml:"timestamp"`
}
Compliance is the result of the extension's k6 compliance checks.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package main contains the main function for k6registry CLI tool.
|
Package main contains the main function for k6registry CLI tool. |
Click to show internal directories.
Click to hide internal directories.