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:"enum=cli" jsonschema_description:"the most common linter type, a cli tool"`
Exec exec.Instance `json:"exec" yaml:"exec" jsonschema_required:"true" jsonschema_description:"settings for the command to run" `
Img string `json:"img,omitempty" yaml:"img,omitempty" jsonschema_description:"the container image to pull and use"`
TagCrieVersion bool `` /* 154-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
func (*LintCli) MaxConcurrency ¶ added in v0.20.0
MaxConcurrency returns the max concurrency name
Click to show internal directories.
Click to hide internal directories.