Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type GoogleDisabledAPIRule
 - func (r *GoogleDisabledAPIRule) Check(rr tflint.Runner) error
 - func (r *GoogleDisabledAPIRule) Enabled() bool
 - func (r *GoogleDisabledAPIRule) Link() string
 - func (r *GoogleDisabledAPIRule) Metadata() interface{}
 - func (r *GoogleDisabledAPIRule) Name() string
 - func (r *GoogleDisabledAPIRule) Severity() tflint.Severity
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var Rules = []tflint.Rule{ NewGoogleDisabledAPIRule(), }
Rules is a list of rules with invoking APIs
Functions ¶
This section is empty.
Types ¶
type GoogleDisabledAPIRule ¶
type GoogleDisabledAPIRule struct {
	tflint.DefaultRule
	// contains filtered or unexported fields
}
    GoogleDisabledAPIRule checks whether the API required by resources is disabled
func NewGoogleDisabledAPIRule ¶
func NewGoogleDisabledAPIRule() *GoogleDisabledAPIRule
NewGoogleDisabledAPIRule returns a new rule
func (*GoogleDisabledAPIRule) Check ¶
func (r *GoogleDisabledAPIRule) Check(rr tflint.Runner) error
Check checks whether the API required by resources is disabled
func (*GoogleDisabledAPIRule) Enabled ¶
func (r *GoogleDisabledAPIRule) Enabled() bool
Enabled returns whether the rule is enabled by default
func (*GoogleDisabledAPIRule) Link ¶
func (r *GoogleDisabledAPIRule) Link() string
Link returns the rule reference link
func (*GoogleDisabledAPIRule) Metadata ¶ added in v0.16.0
func (r *GoogleDisabledAPIRule) Metadata() interface{}
Metadata returns the metadata about deep checking
func (*GoogleDisabledAPIRule) Name ¶
func (r *GoogleDisabledAPIRule) Name() string
Name returns the rule name
func (*GoogleDisabledAPIRule) Severity ¶
func (r *GoogleDisabledAPIRule) Severity() tflint.Severity
Severity returns the rule severity
 Click to show internal directories. 
   Click to hide internal directories.