Documentation
¶
Overview ¶
Package cli allows a CLI tool to be linted from the host or in a container
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "latest"
Version used to match img tags with crie versions
Functions ¶
This section is empty.
Types ¶
type LintCli ¶ added in v0.20.0
type LintCli struct {
Type string `json:"type" yaml:"type" jsonschema:"the most common linter type, a cli tool"`
Exec executor.Instance `json:"exec" yaml:"exec" jsonschema:"settings for the command to run" `
Img string `json:"img,omitzero" yaml:"img" jsonschema:"the container image to pull and use"`
TagCrieVersion bool `` /* 131-byte string literal not displayed */
// contains filtered or unexported fields
}
LintCli defines a predefined command to run against a file
func (*LintCli) Cleanup ¶ added in v0.20.0
Cleanup removes any additional resources created in the process
Click to show internal directories.
Click to hide internal directories.