checker

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

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

func NewChecker

func NewChecker(cfg Config) (*Checker, error)

func (*Checker) CheckConfigDeleted

func (c *Checker) CheckConfigDeleted() []DeprecationNotes

func (*Checker) CheckConfigDeprecated

func (c *Checker) CheckConfigDeprecated() []DeprecationNotes

func (*Checker) CheckRuntimeConfigDeleted

func (c *Checker) CheckRuntimeConfigDeleted() []DeprecationNotes

func (*Checker) CheckRuntimeConfigDeprecated

func (c *Checker) CheckRuntimeConfigDeprecated() []DeprecationNotes

type Config

type Config struct {
	DeprecatesFile    string
	DeletesFile       string
	ConfigFile        string
	RuntimeConfigFile string
}

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(f *flag.FlagSet)

func (*Config) Validate

func (c *Config) Validate() error

type DeprecationNotes

type DeprecationNotes struct {
	ItemPath   string
	ItemValues []string
	// contains filtered or unexported fields
}

func (DeprecationNotes) String

func (d DeprecationNotes) String() string

type RawYaml

type RawYaml map[string]interface{}

Jump to

Keyboard shortcuts

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