rules

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: 0BSD Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReferenceLink(name string) string

Types

type MSKAppConsumeGroupsRule added in v1.10.0

type MSKAppConsumeGroupsRule struct {
	tflint.DefaultRule
}

func (*MSKAppConsumeGroupsRule) Check added in v1.10.0

func (r *MSKAppConsumeGroupsRule) Check(runner tflint.Runner) error

func (*MSKAppConsumeGroupsRule) Enabled added in v1.10.0

func (r *MSKAppConsumeGroupsRule) Enabled() bool
func (r *MSKAppConsumeGroupsRule) Link() string

func (*MSKAppConsumeGroupsRule) Name added in v1.10.0

func (r *MSKAppConsumeGroupsRule) Name() string

func (*MSKAppConsumeGroupsRule) Severity added in v1.10.0

func (r *MSKAppConsumeGroupsRule) Severity() tflint.Severity

type MSKAppTopicsRule added in v1.3.0

type MSKAppTopicsRule struct {
	tflint.DefaultRule
}

MSKAppTopicsRule checks whether an MSK module only consumes from topics defined in the module.

func (*MSKAppTopicsRule) Check added in v1.3.0

func (r *MSKAppTopicsRule) Check(runner tflint.Runner) error

func (*MSKAppTopicsRule) Enabled added in v1.3.0

func (r *MSKAppTopicsRule) Enabled() bool
func (r *MSKAppTopicsRule) Link() string

func (*MSKAppTopicsRule) Name added in v1.3.0

func (r *MSKAppTopicsRule) Name() string

func (*MSKAppTopicsRule) Severity added in v1.3.0

func (r *MSKAppTopicsRule) Severity() tflint.Severity

type MSKModuleBackendRule added in v1.3.0

type MSKModuleBackendRule struct {
	tflint.DefaultRule
}

MSKModuleBackendRule checks whether an MSK module has an S3 backend defined with the following restrictions:

  • the key is in the format ${env}-${platform}/${msk-cluster}-${team-name}
  • the bucket contains the environment in its name

func (*MSKModuleBackendRule) Check added in v1.3.0

func (r *MSKModuleBackendRule) Check(runner tflint.Runner) error

func (*MSKModuleBackendRule) Enabled added in v1.3.0

func (r *MSKModuleBackendRule) Enabled() bool

Enabled returns whether the rule is enabled by default.

func (r *MSKModuleBackendRule) Link() string

Link returns the rule reference link.

func (*MSKModuleBackendRule) Name added in v1.3.0

func (r *MSKModuleBackendRule) Name() string

Name returns the rule name.

func (*MSKModuleBackendRule) Severity added in v1.3.0

func (r *MSKModuleBackendRule) Severity() tflint.Severity

Severity returns the rule severity.

type MSKTopicConfigCommentsRule added in v1.8.0

type MSKTopicConfigCommentsRule struct {
	tflint.DefaultRule
}

MSKTopicConfigCommentsRule checks comments on time and bytes values.

func (*MSKTopicConfigCommentsRule) Check added in v1.8.0

func (r *MSKTopicConfigCommentsRule) Check(runner tflint.Runner) error

func (*MSKTopicConfigCommentsRule) Enabled added in v1.8.0

func (r *MSKTopicConfigCommentsRule) Enabled() bool

func (*MSKTopicConfigCommentsRule) Name added in v1.8.0

func (*MSKTopicConfigCommentsRule) Severity added in v1.8.0

type MSKTopicConfigRule added in v1.3.0

type MSKTopicConfigRule struct {
	tflint.DefaultRule
}

MSKTopicConfigRule checks the configuration for an MSK topic.

func (*MSKTopicConfigRule) Check added in v1.3.0

func (r *MSKTopicConfigRule) Check(runner tflint.Runner) error

func (*MSKTopicConfigRule) Enabled added in v1.3.0

func (r *MSKTopicConfigRule) Enabled() bool
func (r *MSKTopicConfigRule) Link() string

func (*MSKTopicConfigRule) Name added in v1.3.0

func (r *MSKTopicConfigRule) Name() string

func (*MSKTopicConfigRule) Severity added in v1.3.0

func (r *MSKTopicConfigRule) Severity() tflint.Severity

type MSKTopicNameRule added in v1.3.0

type MSKTopicNameRule struct {
	tflint.DefaultRule
}

MSKTopicNameRule checks whether a topic defined in MSK has an allowed team prefix.

func (*MSKTopicNameRule) Check added in v1.3.0

func (r *MSKTopicNameRule) Check(runner tflint.Runner) error

func (*MSKTopicNameRule) Enabled added in v1.3.0

func (r *MSKTopicNameRule) Enabled() bool
func (r *MSKTopicNameRule) Link() string

func (*MSKTopicNameRule) Name added in v1.3.0

func (r *MSKTopicNameRule) Name() string

func (*MSKTopicNameRule) Severity added in v1.3.0

func (r *MSKTopicNameRule) Severity() tflint.Severity

type MSKUniqueAppNamesRule added in v1.4.0

type MSKUniqueAppNamesRule struct {
	tflint.DefaultRule
}

func (*MSKUniqueAppNamesRule) Check added in v1.4.0

func (r *MSKUniqueAppNamesRule) Check(runner tflint.Runner) error

func (*MSKUniqueAppNamesRule) Enabled added in v1.4.0

func (r *MSKUniqueAppNamesRule) Enabled() bool
func (r *MSKUniqueAppNamesRule) Link() string

func (*MSKUniqueAppNamesRule) Name added in v1.4.0

func (r *MSKUniqueAppNamesRule) Name() string

func (*MSKUniqueAppNamesRule) Severity added in v1.4.0

func (r *MSKUniqueAppNamesRule) Severity() tflint.Severity

Jump to

Keyboard shortcuts

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