Versions in this module Expand all Collapse all v1 v1.8.1 Feb 13, 2021 Changes in this version + type Attribute struct + Expr []byte + ExprRange hcl.Range + Name string + NameRange hcl.Range + Range hcl.Range + type AttributesRequest struct + AttributeName string + Resource string + type AttributesResponse struct + Attributes []*Attribute + Err error + type Backend struct + Config []byte + ConfigRange hcl.Range + DeclRange hcl.Range + Type string + TypeRange hcl.Range + type BackendRequest struct + type BackendResponse struct + Backend *Backend + Err error + type Block struct + Body []byte + BodyRange hcl.Range + DefRange hcl.Range + LabelRanges []hcl.Range + Labels []string + Type string + TypeRange hcl.Range + type BlocksRequest struct + BlockType string + Resource string + type BlocksResponse struct + Blocks []*Block + Err error + type Client struct + func NewClient(conn net.Conn) *Client + func (*Client) EnsureNoError(err error, proc func() error) error + func (c *Client) Backend() (*configs.Backend, error) + func (c *Client) Config() (*configs.Config, error) + func (c *Client) DecodeRuleConfig(name string, ret interface{}) error + func (c *Client) EmitIssue(rule tflint.Rule, message string, location hcl.Range) error + func (c *Client) EmitIssueOnExpr(rule tflint.Rule, message string, expr hcl.Expression) error + func (c *Client) EvaluateExpr(expr hcl.Expression, ret interface{}, wantType *cty.Type) error + func (c *Client) EvaluateExprOnRootCtx(expr hcl.Expression, ret interface{}, wantType *cty.Type) error + func (c *Client) File(filename string) (*hcl.File, error) + func (c *Client) IsNullExpr(expr hcl.Expression) (bool, error) + func (c *Client) RootProvider(name string) (*configs.Provider, error) + func (c *Client) WalkModuleCalls(walker func(*configs.ModuleCall) error) error + func (c *Client) WalkResourceAttributes(resource, attributeName string, walker func(*hcl.Attribute) error) error + func (c *Client) WalkResourceBlocks(resource, blockType string, walker func(*hcl.Block) error) error + func (c *Client) WalkResources(resource string, walker func(*configs.Resource) error) error + type Config struct + CallRange hcl.Range + Module *Module + Path addrs.Module + SourceAddr string + SourceAddrRange hcl.Range + Version string + type ConfigRequest struct + type ConfigResponse struct + Config *Config + Err error + type Connection struct + Config []byte + ConfigRange hcl.Range + DeclRange hcl.Range + type EmitIssueRequest struct + Expr []byte + ExprRange hcl.Range + Location hcl.Range + Message string + Rule *Rule + type EvalExprRequest struct + Expr []byte + ExprRange hcl.Range + Ret interface{} + Type cty.Type + type EvalExprResponse struct + Err error + Val cty.Value + type FileRequest struct + Filename string + type FileResponse struct + Bytes []byte + Range hcl.Range + type IsNullExprRequest struct + Expr []byte + Range hcl.Range + type IsNullExprResponse struct + Err error + Ret bool + type Local struct + DeclRange hcl.Range + Expr []byte + ExprRange hcl.Range + Name string + type ManagedResource struct + Connection *Connection + CreateBeforeDestroy bool + CreateBeforeDestroySet bool + IgnoreAllChanges bool + PreventDestroy bool + PreventDestroySet bool + Provisioners []*Provisioner + type Module struct + ActiveExperiments experiments.Set + Backend *Backend + CoreVersionConstraintRanges []hcl.Range + CoreVersionConstraints []string + DataResources map[string]*Resource + Locals map[string]*Local + ManagedResources map[string]*Resource + ModuleCalls map[string]*ModuleCall + Outputs map[string]*Output + ProviderConfigs map[string]*Provider + ProviderLocalNames map[addrs.Provider]string + ProviderMetas map[addrs.Provider]*ProviderMeta + ProviderRequirements *RequiredProviders + SourceDir string + Variables map[string]*Variable + type ModuleCall struct + Config []byte + ConfigRange hcl.Range + Count []byte + CountRange hcl.Range + DeclRange hcl.Range + ForEach []byte + ForEachRange hcl.Range + Name string + Providers []PassedProviderConfig + SourceAddr string + SourceAddrRange hcl.Range + SourceSet bool + Version string + VersionRange hcl.Range + type ModuleCallsRequest struct + type ModuleCallsResponse struct + Err error + ModuleCalls []*ModuleCall + type Output struct + DeclRange hcl.Range + Description string + DescriptionSet bool + Expr []byte + ExprRange hcl.Range + Name string + Sensitive bool + SensitiveSet bool + type PassedProviderConfig struct + InChild *configs.ProviderConfigRef + InParent *configs.ProviderConfigRef + type Provider struct + Alias string + AliasRange *hcl.Range + Config []byte + ConfigRange hcl.Range + DeclRange hcl.Range + Name string + NameRange hcl.Range + Version string + VersionRange hcl.Range + type ProviderMeta struct + Config []byte + ConfigRange hcl.Range + DeclRange hcl.Range + Provider string + ProviderRange hcl.Range + type Provisioner struct + Config []byte + ConfigRange hcl.Range + Connection *Connection + DeclRange hcl.Range + OnFailure configs.ProvisionerOnFailure + Type string + TypeRange hcl.Range + When configs.ProvisionerWhen + type RequiredProvider struct + DeclRange hcl.Range + Name string + Requirement string + RequirementRange hcl.Range + Source string + Type addrs.Provider + type RequiredProviders struct + DeclRange hcl.Range + RequiredProviders map[string]*RequiredProvider + type Resource struct + Config []byte + ConfigRange hcl.Range + Count []byte + CountRange hcl.Range + DeclRange hcl.Range + ForEach []byte + ForEachRange hcl.Range + Managed *ManagedResource + Mode addrs.ResourceMode + Name string + Provider addrs.Provider + ProviderConfigRef *configs.ProviderConfigRef + Type string + TypeRange hcl.Range + type ResourcesRequest struct + Name string + type ResourcesResponse struct + Err error + Resources []*Resource + type RootProviderRequest struct + Name string + type RootProviderResponse struct + Err error + Provider *Provider + type Rule struct + Data *RuleObject + func (r *Rule) Enabled() bool + func (r *Rule) Link() string + func (r *Rule) Name() string + func (r *Rule) Severity() string + type RuleConfigRequest struct + Name string + type RuleConfigResponse struct + Config []byte + Err error + Exists bool + Range hcl.Range + type RuleObject struct + Enabled bool + Link string + Name string + Severity string + type Variable struct + DeclRange hcl.Range + Default []byte + Description string + DescriptionSet bool + Name string + ParsingMode configs.VariableParsingMode + Sensitive bool + SensitiveSet bool + Type []byte + Validations []*VariableValidation + type VariableValidation struct + Condition []byte + ConditionRange hcl.Range + DeclRange hcl.Range + ErrorMessage string