Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoogleProviderBlockSchema = &hclext.BodySchema{ Attributes: []hclext.AttributeSchema{ {Name: "project"}, }, }
GoogleProviderBlockSchema is a schema of `google` provider block
Functions ¶
Types ¶
type Client ¶
type Client struct {
ServiceUsage *serviceusage.Service
}
Client is a wrapper of the Google API client
type Config ¶
type Config struct {
DeepCheck bool `hclext:"deep_check,optional"`
}
Config is the configuration for the ruleset.
type RuleSet ¶
type RuleSet struct { tflint.BuiltinRuleSet // contains filtered or unexported fields }
RuleSet is the custom ruleset for the Google provider plugin.
func (*RuleSet) ApplyConfig ¶
func (r *RuleSet) ApplyConfig(body *hclext.BodyContent) error
ApplyConfig reflects the plugin configuration to the ruleset.
func (*RuleSet) ConfigSchema ¶ added in v0.16.0
func (r *RuleSet) ConfigSchema() *hclext.BodySchema
Click to show internal directories.
Click to hide internal directories.