Documentation ¶
Index ¶
- Constants
- type Linter
- type Options
- func (o *Options) AddFlags(cmd *cobra.Command)
- func (o *Options) Lint(ls []Linter, dir string) error
- func (o *Options) LintResource(path string, test *Test, resource interface{}) error
- func (o *Options) LintYaml2Resource(path string, test *Test, resource interface{}) error
- func (o *Options) LogResults() error
- type Test
Constants ¶
View Source
const (
// FormatTap for the tap based output format
FormatTap = "tap"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { options.BaseOptions OutFile string Format string Tests []*Test }
Options contains the command line options
func (*Options) LintResource ¶
LintResource lints a resource
func (*Options) LintYaml2Resource ¶
LintYaml2Resource lints a resource
Click to show internal directories.
Click to hide internal directories.