Versions in this module Expand all Collapse all v0 v0.0.3 Nov 21, 2025 Changes in this version + type GRPCClient struct + Client proto.RunnerClient + FixEnabled bool + Fixer *internal.Fixer + func (*GRPCClient) EnsureNoError(err error, proc func() error) error + func (c *GRPCClient) ApplyChanges() error + func (c *GRPCClient) DecodeRuleConfig(name string, ret interface{}) error + func (c *GRPCClient) EmitIssue(rule tflint.Rule, message string, location hcl.Range) error + func (c *GRPCClient) EmitIssueWithFix(rule tflint.Rule, message string, location hcl.Range, ...) error + func (c *GRPCClient) EvaluateExpr(expr hcl.Expression, target interface{}, opts *tflint.EvaluateExprOption) error + func (c *GRPCClient) GetFile(file string) (*hcl.File, error) + func (c *GRPCClient) GetFiles() (map[string]*hcl.File, error) + func (c *GRPCClient) GetModuleContent(schema *hclext.BodySchema, opts *tflint.GetModuleContentOption) (*hclext.BodyContent, error) + func (c *GRPCClient) GetModulePath() (addrs.Module, error) + func (c *GRPCClient) GetOriginalwd() (string, error) + func (c *GRPCClient) GetProviderContent(name string, inner *hclext.BodySchema, opts *tflint.GetModuleContentOption) (*hclext.BodyContent, error) + func (c *GRPCClient) GetResourceContent(name string, inner *hclext.BodySchema, opts *tflint.GetModuleContentOption) (*hclext.BodyContent, error) + func (c *GRPCClient) WalkExpressions(walker tflint.ExprWalker) hcl.Diagnostics + type GRPCServer struct + Impl Server + func (s *GRPCServer) ApplyChanges(ctx context.Context, req *proto.ApplyChanges_Request) (*proto.ApplyChanges_Response, error) + func (s *GRPCServer) EmitIssue(ctx context.Context, req *proto.EmitIssue_Request) (*proto.EmitIssue_Response, error) + func (s *GRPCServer) EvaluateExpr(ctx context.Context, req *proto.EvaluateExpr_Request) (*proto.EvaluateExpr_Response, error) + func (s *GRPCServer) GetFile(ctx context.Context, req *proto.GetFile_Request) (*proto.GetFile_Response, error) + func (s *GRPCServer) GetFiles(ctx context.Context, req *proto.GetFiles_Request) (*proto.GetFiles_Response, error) + func (s *GRPCServer) GetModuleContent(ctx context.Context, req *proto.GetModuleContent_Request) (*proto.GetModuleContent_Response, error) + func (s *GRPCServer) GetModulePath(ctx context.Context, req *proto.GetModulePath_Request) (*proto.GetModulePath_Response, error) + func (s *GRPCServer) GetOriginalwd(ctx context.Context, req *proto.GetOriginalwd_Request) (*proto.GetOriginalwd_Response, error) + func (s *GRPCServer) GetRuleConfigContent(ctx context.Context, req *proto.GetRuleConfigContent_Request) (*proto.GetRuleConfigContent_Response, error) + type Server interface + ApplyChanges func(map[string][]byte) error + EmitIssue func(rule tflint.Rule, message string, location hcl.Range, fixable bool) (bool, error) + EvaluateExpr func(hcl.Expression, tflint.EvaluateExprOption) (cty.Value, error) + GetFile func(string) (*hcl.File, error) + GetFiles func(tflint.ModuleCtxType) map[string][]byte + GetModuleContent func(*hclext.BodySchema, tflint.GetModuleContentOption) (*hclext.BodyContent, hcl.Diagnostics) + GetModulePath func() []string + GetOriginalwd func() string + GetRuleConfigContent func(string, *hclext.BodySchema) (*hclext.BodyContent, map[string][]byte, error)