Documentation
¶
Index ¶
- type Config
- type ContainerSettings
- type ConversionsSettings
- type ImageSettings
- type IngressSettings
- type K8SResourcesSettings
- type LicenseSettings
- type LintersSettings
- type Loader
- type LoaderOptions
- type ModuleSettings
- type MonitoringSettings
- type NoCyrillicSettings
- type OpenAPISettings
- type ProbesSettings
- type RbacSettings
- type ResourcesSettings
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 ConversionsSettings ¶ added in v0.0.29
type ImageSettings ¶ added in v0.0.24
type IngressSettings ¶ added in v0.0.29
type IngressSettings struct {
SkipIngressChecks []string `mapstructure:"skip-ingress-checks"`
}
type K8SResourcesSettings ¶
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"` Images ImageSettings `mapstructure:"images"` Rbac RbacSettings `mapstructure:"rbac"` Resources ResourcesSettings `mapstructure:"resources"` Monitoring MonitoringSettings `mapstructure:"monitoring"` Ingress IngressSettings `mapstructure:"ingress"` Module ModuleSettings `mapstructure:"module"` Conversions ConversionsSettings `mapstructure:"conversions"` }
type LoaderOptions ¶
type LoaderOptions struct {
Config string
}
type ModuleSettings ¶ added in v0.0.29
type ModuleSettings struct {
SkipCheckModuleYaml []string `mapstructure:"skip-check-module-yaml"`
}
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.