lint

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) (*cobra.Command, error)

Types

type Config

type Config struct {
	Logger logr.Logger
	Stderr io.Writer
	Stdout io.Writer
}

type InvalidConfigError added in v1.0.0

type InvalidConfigError struct {
	// contains filtered or unexported fields
}

func (*InvalidConfigError) Error added in v1.0.0

func (e *InvalidConfigError) Error() string

func (*InvalidConfigError) Is added in v1.0.0

func (e *InvalidConfigError) Is(target error) bool

type InvalidFlagError added in v1.0.0

type InvalidFlagError struct {
	// contains filtered or unexported fields
}

func (*InvalidFlagError) Error added in v1.0.0

func (e *InvalidFlagError) Error() string

func (*InvalidFlagError) Is added in v1.0.0

func (e *InvalidFlagError) Is(target error) bool

type LinterFoundIssuesError added in v1.0.0

type LinterFoundIssuesError struct {
	// contains filtered or unexported fields
}

func (*LinterFoundIssuesError) Error added in v1.0.0

func (e *LinterFoundIssuesError) Error() string

func (*LinterFoundIssuesError) Is added in v1.0.0

func (e *LinterFoundIssuesError) Is(target error) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL