validation

package
v3.31.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandsNotRequiringToken = []string{
	"pipeline validate",
	"pipeline migrate",
}

CommandsNotRequiringToken is a list of command paths that don't require an API token

Functions

func ValidateConfiguration added in v3.15.0

func ValidateConfiguration(conf *config.Config, commandPath string) error

ValidateConfiguration checks that the configuration is valid to execute the command (Kong version)

func ValidateConfigurationForOrg added in v3.30.0

func ValidateConfigurationForOrg(conf *config.Config, commandPath, org string) error

ValidateConfigurationForOrg checks configuration for a specific organization context when a command supports --org.

Types

This section is empty.

Jump to

Keyboard shortcuts

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