global

package
v0.1.49 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 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          `mapstructure:",squash"`
	RecommendedLabelsRule RuleConfig `mapstructure:"recommended-labels"`
}

type DocumentationLinterConfig added in v0.1.37

type DocumentationLinterConfig struct {
	LinterConfig `mapstructure:",squash"`
	Rules        DocumentationRules `mapstructure:"rules"`
}

type DocumentationRules added in v0.1.37

type DocumentationRules struct {
	BilingualRule          RuleConfig `mapstructure:"bilingual"`
	ReadmeRule             RuleConfig `mapstructure:"readme"`
	NoCyrillicExcludeRules RuleConfig `mapstructure:"cyrillic-in-english"`
}

type Global

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

type ImageRules added in v0.1.37

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

type ImagesLinterConfig added in v0.1.36

type ImagesLinterConfig struct {
	LinterConfig `mapstructure:",squash"`
	Rules        ImageRules `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        ModuleLinterConfig        `mapstructure:"module"`
	NoCyrillic    LinterConfig              `mapstructure:"no-cyrillic"`
	OpenAPI       LinterConfig              `mapstructure:"openapi"`
	Rbac          LinterConfig              `mapstructure:"rbac"`
	Templates     TemplatesLinterConfig     `mapstructure:"templates"`
	Documentation DocumentationLinterConfig `mapstructure:"documentation"`
}

type ModuleLinterConfig added in v0.1.42

type ModuleLinterConfig struct {
	LinterConfig `mapstructure:",squash"`
	Rules        ModuleLinterRules `mapstructure:"rules"`
}

type ModuleLinterRules added in v0.1.42

type ModuleLinterRules struct {
	DefinitionFileRule    RuleConfig `mapstructure:"definition-file"`
	OSSRule               RuleConfig `mapstructure:"oss"`
	ConversionRule        RuleConfig `mapstructure:"conversion"`
	HelmignoreRule        RuleConfig `mapstructure:"helmignore"`
	LicenseRule           RuleConfig `mapstructure:"license"`
	RequarementsRule      RuleConfig `mapstructure:"requarements"`
	LegacyReleaseFileRule RuleConfig `mapstructure:"legacy-release-file"`
}

type RuleConfig added in v0.1.36

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

type TemplatesLinterConfig added in v0.1.49

type TemplatesLinterConfig struct {
	LinterConfig `mapstructure:",squash"`
	Rules        TemplatesLinterRules `mapstructure:"rules"`
}

type TemplatesLinterRules added in v0.1.49

type TemplatesLinterRules struct {
	VPARule           RuleConfig `mapstructure:"vpa"`
	PDBRule           RuleConfig `mapstructure:"pdb"`
	IngressRule       RuleConfig `mapstructure:"ingress"`
	PrometheusRule    RuleConfig `mapstructure:"prometheus-rules"`
	GrafanaRule       RuleConfig `mapstructure:"grafana-dashboards"`
	KubeRBACProxyRule RuleConfig `mapstructure:"kube-rbac-proxy"`
	ServicePortRule   RuleConfig `mapstructure:"service-port"`
	ClusterDomainRule RuleConfig `mapstructure:"cluster-domain"`
	RegistryRule      RuleConfig `mapstructure:"registry"`
}

Jump to

Keyboard shortcuts

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