rules

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Wrap

func Wrap(r tflint.Rule) tflint.Rule

Types

type ModuleSourceRule added in v0.5.0

type ModuleSourceRule struct {
	tflint.DefaultRule
}

func NewModuleSourceRule added in v0.5.0

func NewModuleSourceRule() *ModuleSourceRule

func (*ModuleSourceRule) Check added in v0.5.0

func (t *ModuleSourceRule) Check(r tflint.Runner) error

func (*ModuleSourceRule) Enabled added in v0.5.0

func (t *ModuleSourceRule) Enabled() bool
func (t *ModuleSourceRule) Link() string

func (*ModuleSourceRule) Name added in v0.5.0

func (t *ModuleSourceRule) Name() string

func (*ModuleSourceRule) Severity added in v0.5.0

func (t *ModuleSourceRule) Severity() tflint.Severity

type ProviderVersionRule added in v0.11.0

type ProviderVersionRule struct {
	tflint.DefaultRule
	ProviderName                 string
	ProviderSource               string
	RecommendedVersionConstraint string
	VersionsShouldFailed         []string
}

func NewProviderVersionRule added in v0.11.0

func NewProviderVersionRule(providerName, providerSource, recommendedVersion string, versionsShouldFailed []string) *ProviderVersionRule

func (*ProviderVersionRule) Check added in v0.11.0

func (m *ProviderVersionRule) Check(r tflint.Runner) error

func (*ProviderVersionRule) Enabled added in v0.11.0

func (m *ProviderVersionRule) Enabled() bool

func (*ProviderVersionRule) Name added in v0.11.0

func (m *ProviderVersionRule) Name() string

func (*ProviderVersionRule) Severity added in v0.11.0

func (m *ProviderVersionRule) Severity() tflint.Severity

type TerraformDotTfRule

type TerraformDotTfRule struct {
	tflint.DefaultRule
}

func NewTerraformDotTfRule

func NewTerraformDotTfRule() *TerraformDotTfRule

func (*TerraformDotTfRule) Check

func (t *TerraformDotTfRule) Check(r tflint.Runner) error

func (*TerraformDotTfRule) Enabled

func (t *TerraformDotTfRule) Enabled() bool
func (t *TerraformDotTfRule) Link() string

func (*TerraformDotTfRule) Name

func (t *TerraformDotTfRule) Name() string

func (*TerraformDotTfRule) Severity

func (t *TerraformDotTfRule) Severity() tflint.Severity

Jump to

Keyboard shortcuts

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