Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var GoogleProviderBlockSchema = &hcl.BodySchema{
	Attributes: []hcl.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 `hcl:"deep_check,optional"`
	Remain hcl.Body `hcl:",remain"`
}
    Config is the configuration for the ruleset.
type ProviderData ¶
type ProviderData struct {
	// contains filtered or unexported fields
}
    ProviderData represents a provider block with an eval context (runner)
func (*ProviderData) Get ¶
func (d *ProviderData) Get(key string) (string, bool, error)
Get returns a value corresponding to the given key It should be noted that the value is evaluated if it is evaluable The second return value is a flag that determines whether a value exists We assume the provider has only simple attributes, so it just returns string
type RuleSet ¶
type RuleSet struct {
	tflint.BuiltinRuleSet
	APIRules []tflint.Rule
	// contains filtered or unexported fields
}
    RuleSet is the custom ruleset for the Google provider plugin.
func (*RuleSet) ApplyConfig ¶
ApplyConfig reflects the plugin configuration to the ruleset.
 Click to show internal directories. 
   Click to hide internal directories.