global

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerLinterConfig added in v0.1.36

type ContainerLinterConfig struct {
	LinterConfig
	RecommendedLabelsRule RuleConfig `mapstructure:"recommended-labels"`
}

type Global

type Global struct {
	Linters Linters `mapstructure:"linters-settings"`
}

type ImagesLinterConfig added in v0.1.36

type ImagesLinterConfig struct {
	LinterConfig
	Rules Rules `mapstructure:"rules"`
}

type LinterConfig

type LinterConfig struct {
	Impact string `mapstructure:"impact"`
}

func (LinterConfig) IsWarn added in v0.1.10

func (c LinterConfig) IsWarn() bool

type Linters

type Linters struct {
	Container  ContainerLinterConfig `mapstructure:"container"`
	Hooks      LinterConfig          `mapstructure:"hooks"`
	Images     ImagesLinterConfig    `mapstructure:"images"`
	License    LinterConfig          `mapstructure:"license"`
	Module     LinterConfig          `mapstructure:"module"`
	NoCyrillic LinterConfig          `mapstructure:"no-cyrillic"`
	OpenAPI    LinterConfig          `mapstructure:"openapi"`
	Rbac       LinterConfig          `mapstructure:"rbac"`
	Templates  LinterConfig          `mapstructure:"templates"`
}

type RuleConfig added in v0.1.36

type RuleConfig struct {
	Impact string `mapstructure:"impact"`
}

type Rules added in v0.1.36

type Rules struct {
	DistrolessRule RuleConfig `mapstructure:"distroless"`
	ImageRule      RuleConfig `mapstructure:"image"`
	PatchesRule    RuleConfig `mapstructure:"patches"`
	WerfRule       RuleConfig `mapstructure:"werf"`
}

Jump to

Keyboard shortcuts

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