Documentation ¶
Index ¶
- func Run(apiVersion string)
- func ValidateOpenAPI(raw []byte, apiSchemaFile map[string]any, logger *CliLogger) error
- type ApiCatalogConfig
- type CliLogger
- func (l *CliLogger) Completed(info string)
- func (l *CliLogger) Divider()
- func (l *CliLogger) Error(info string)
- func (l *CliLogger) Info(info string)
- func (l *CliLogger) Log(info string)
- func (l *CliLogger) Report(rule, method, path, message string)
- func (l *CliLogger) RuleMetrics(passed int, total int)
- func (l *CliLogger) ScoreCard(scores []reportmanager.Score)
- func (l *CliLogger) Success(info string)
- func (l *CliLogger) Title(info string)
- func (l *CliLogger) Warn(info string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiCatalogConfig ¶
type ApiCatalogConfig struct { Title string Rules map[string]pluginmanager.PluginUserOverride Plugins pluginmanager.PluginConfFile }
type CliLogger ¶
type CliLogger struct{}
func NewCliLogger ¶
func NewCliLogger() *CliLogger
func (*CliLogger) RuleMetrics ¶
func (*CliLogger) ScoreCard ¶
func (l *CliLogger) ScoreCard(scores []reportmanager.Score)
Directories ¶
Path | Synopsis |
---|---|
This compiler was inspired from grafana k6 project A big kudos goes to goja library Do check it out: https://github.com/dop251/goja
|
This compiler was inspired from grafana k6 project A big kudos goes to goja library Do check it out: https://github.com/dop251/goja |
Click to show internal directories.
Click to hide internal directories.