api

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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 (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

Jump to

Keyboard shortcuts

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