custom

package
v0.51.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MPL-2.0 Imports: 2 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) ConfigSchema

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

func (*RuleSet) NewRunner added in v0.47.0

func (r *RuleSet) NewRunner(runner tflint.Runner) (tflint.Runner, error)

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