validate

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KonnectCompatibility added in v1.37.0

func KonnectCompatibility(targetContent *file.Content) []error

Types

type ErrorsWrapper

type ErrorsWrapper struct {
	Errors []error
}

func (ErrorsWrapper) Error

func (v ErrorsWrapper) Error() string

type Validator

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

func NewValidator

func NewValidator(opt ValidatorOpts) *Validator

func (*Validator) Validate

func (v *Validator) Validate(formatVersion semver.Version) []error

type ValidatorOpts

type ValidatorOpts struct {
	Ctx               context.Context
	State             *state.KongState
	Client            *kong.Client
	Parallelism       int
	RBACResourcesOnly bool
}

Jump to

Keyboard shortcuts

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