service_description_exists

package
v0.0.0-...-0c5530c Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Disabled bool
	Level    reports.ErrorLevel
}

func NewConfig

func NewConfig() *Config

type Rule

type Rule struct {
	// contains filtered or unexported fields
}

func NewRule

func NewRule(logger *log.Logger, cfg *Config) *Rule

func (*Rule) Apply

func (r *Rule) Apply(roots []eval.Root) reports.ReportList

func (*Rule) IsDisabled

func (r *Rule) IsDisabled() bool

func (*Rule) Name

func (r *Rule) Name() string

func (*Rule) WalkServiceExpr

func (r *Rule) WalkServiceExpr(e eval.Expression) (rl reports.ReportList)

Jump to

Keyboard shortcuts

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