Documentation ¶
Index ¶
- type TerraformModulePinnedSourceRule
- func (r *TerraformModulePinnedSourceRule) Check(runner *tflint.Runner) error
- func (r *TerraformModulePinnedSourceRule) Enabled() bool
- func (r *TerraformModulePinnedSourceRule) Link() string
- func (r *TerraformModulePinnedSourceRule) Name() string
- func (r *TerraformModulePinnedSourceRule) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TerraformModulePinnedSourceRule ¶
type TerraformModulePinnedSourceRule struct {
// contains filtered or unexported fields
}
TerraformModulePinnedSourceRule checks unpinned or default version module source
func NewTerraformModulePinnedSourceRule ¶
func NewTerraformModulePinnedSourceRule() *TerraformModulePinnedSourceRule
NewTerraformModulePinnedSourceRule returns new rule with default attributes
func (*TerraformModulePinnedSourceRule) Check ¶
func (r *TerraformModulePinnedSourceRule) Check(runner *tflint.Runner) error
Check checks if module source version is default or unpinned Note that this rule is valid only for Git or Mercurial source
func (*TerraformModulePinnedSourceRule) Enabled ¶
func (r *TerraformModulePinnedSourceRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*TerraformModulePinnedSourceRule) Link ¶
func (r *TerraformModulePinnedSourceRule) Link() string
Link returns the rule reference link
func (*TerraformModulePinnedSourceRule) Name ¶
func (r *TerraformModulePinnedSourceRule) Name() string
Name returns the rule name
func (*TerraformModulePinnedSourceRule) Type ¶
func (r *TerraformModulePinnedSourceRule) Type() string
Type returns the rule severity
Click to show internal directories.
Click to hide internal directories.