linters

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitLinter

type CommitLinter interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context, string, []string) ([]string, error)
}

func CommitLinterNew

func CommitLinterNew(_ context.Context, cfg *CommitLinterConfig) CommitLinter

type CommitLinterConfig

type CommitLinterConfig struct {
	Config config.Config
	Logger hclog.Logger
}

func DefaultCommitLinterConfig

func DefaultCommitLinterConfig() *CommitLinterConfig

type KernelLinter

type KernelLinter interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context, string, []string) ([]string, error)
}

func KernelLinterNew

func KernelLinterNew(_ context.Context, cfg *KernelLinterConfig) KernelLinter

type KernelLinterConfig

type KernelLinterConfig struct {
	Config  config.Config
	Logger  hclog.Logger
	Options []string
}

func DefaultKernelLinterConfig

func DefaultKernelLinterConfig() *KernelLinterConfig

Jump to

Keyboard shortcuts

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