Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LintersSettings LintersSettings `mapstructure:"linters-settings"` WarningsOnly []string `mapstructure:"warnings-only"` // contains filtered or unexported fields }
Config encapsulates the config data specified in the YAML config file.
func NewDefault ¶
type ContainerSettings ¶
type ContainerSettings struct {
SkipContainers []string `mapstructure:"skip-containers"`
}
type HelmSettings ¶
type K8SResourcesSettings ¶
type K8SResourcesSettings struct{}
type LicenseSettings ¶
type LintersSettings ¶
type LintersSettings struct { OpenAPI OpenAPISettings `mapstructure:"openapi"` NoCyrillic NoCyrillicSettings `mapstructure:"nocyrillic"` License LicenseSettings `mapstructure:"license"` Probes ProbesSettings `mapstructure:"probes"` Container ContainerSettings `mapstructure:"container"` K8SResources K8SResourcesSettings `mapstructure:"k8s_resources"` Helm HelmSettings `mapstructure:"helm"` Rbac RbacSettings `mapstructure:"rbac"` Resources ResourcesSettings `mapstructure:"resources"` Monitoring MonitoringSettings `mapstructure:"monitoring"` }
type LoaderOptions ¶
type LoaderOptions struct {
Config string
}
type MonitoringSettings ¶
type MonitoringSettings struct {
SkipModuleChecks []string `mapstructure:"skip-module-checks"`
}
type NoCyrillicSettings ¶
type NoCyrillicSettings struct { NoCyrillicFileExcludes []string `mapstructure:"no-cyrillic-file-excludes"` FileExtensions []string `mapstructure:"file-extensions"` SkipDocRe string `mapstructure:"skip-doc-re"` SkipI18NRe string `mapstructure:"skip-i18n-re"` SkipSelfRe string `mapstructure:"skip-self-re"` }
type OpenAPISettings ¶
type OpenAPISettings struct { // EnumFileExcludes contains map with key string contained module name and file path separated by : EnumFileExcludes map[string][]string `mapstructure:"enum-file-excludes"` HAAbsoluteKeysExcludes map[string]string `mapstructure:"ha-absolute-keys-excludes"` KeyBannedNames []string `mapstructure:"key-banned-names"` }
type ProbesSettings ¶
type RbacSettings ¶
type ResourcesSettings ¶
type ResourcesSettings struct{}
Click to show internal directories.
Click to hide internal directories.