custom

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Token string `hclext:"token"`
}

type Config

type Config struct {
	// From .tflint.hcl
	DeepCheck bool  `hclext:"deep_check,optional"`
	Auth      *Auth `hclext:"auth,block"`

	// From provider config
	Zone       string
	Annotation string
}

type RuleSet

type RuleSet struct {
	tflint.BuiltinRuleSet
	// contains filtered or unexported fields
}

func (*RuleSet) ApplyConfig

func (r *RuleSet) ApplyConfig(body *hclext.BodyContent) error

func (*RuleSet) Check

func (r *RuleSet) Check(rr tflint.Runner) error

func (*RuleSet) ConfigSchema

func (r *RuleSet) ConfigSchema() *hclext.BodySchema

type Runner

type Runner struct {
	tflint.Runner
	CustomConfig *Config
}

func NewRunner

func NewRunner(runner tflint.Runner, config *Config) (*Runner, error)

Jump to

Keyboard shortcuts

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