Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleCallUsingHashRule ¶
type ModuleCallUsingHashRule struct {
tflint.DefaultRule
}
ModuleCallUsingHashRule checks whether git-based module calls use a hash reference instead of a tag or branch name
func NewModuleCallUsingHashRule ¶
func NewModuleCallUsingHashRule() *ModuleCallUsingHashRule
NewModuleCallUsingHashRule returns a new rule
func (*ModuleCallUsingHashRule) Check ¶
func (r *ModuleCallUsingHashRule) Check(runner tflint.Runner) error
Check checks whether git-based module calls use a hash reference instead of a tag or branch name
func (*ModuleCallUsingHashRule) Enabled ¶
func (r *ModuleCallUsingHashRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*ModuleCallUsingHashRule) Link ¶
func (r *ModuleCallUsingHashRule) Link() string
Link returns the rule reference link
func (*ModuleCallUsingHashRule) Name ¶
func (r *ModuleCallUsingHashRule) Name() string
Name returns the rule name
func (*ModuleCallUsingHashRule) Severity ¶
func (r *ModuleCallUsingHashRule) Severity() tflint.Severity
Severity returns the rule severity
type MultilineCommentRule ¶
type MultilineCommentRule struct {
tflint.DefaultRule
}
MultilineCommentRule checks for comments which span more than a predefined number of lines
func NewMultilineCommentRule ¶
func NewMultilineCommentRule() *MultilineCommentRule
NewMultilineCommentRule returns a new rule
func (*MultilineCommentRule) Check ¶
func (r *MultilineCommentRule) Check(runner tflint.Runner) error
Check checks for comments which span more than a predefined number of lines
func (*MultilineCommentRule) Enabled ¶
func (r *MultilineCommentRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*MultilineCommentRule) Link ¶
func (r *MultilineCommentRule) Link() string
Link returns the rule reference link
func (*MultilineCommentRule) Name ¶
func (r *MultilineCommentRule) Name() string
Name returns the rule name
func (*MultilineCommentRule) Severity ¶
func (r *MultilineCommentRule) Severity() tflint.Severity
Severity returns the rule severity
type ResourceCountRule ¶
type ResourceCountRule struct {
tflint.DefaultRule
}
ResourceCountRule checks the number of resources declared in each terraform file
func NewResourceCountRule ¶
func NewResourceCountRule() *ResourceCountRule
NewResourceCountRule returns a new rule
func (*ResourceCountRule) Check ¶
func (r *ResourceCountRule) Check(runner tflint.Runner) error
Check checks the number of resources declared in each terraform file
func (*ResourceCountRule) Enabled ¶
func (r *ResourceCountRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*ResourceCountRule) Link ¶
func (r *ResourceCountRule) Link() string
Link returns the rule reference link
func (*ResourceCountRule) Name ¶
func (r *ResourceCountRule) Name() string
Name returns the rule name
func (*ResourceCountRule) Severity ¶
func (r *ResourceCountRule) Severity() tflint.Severity
Severity returns the rule severity