v1beta1

package
v0.0.0-...-62e851e Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForExclusiveAccessStrategy

func CheckForExclusiveAccessStrategy(accessStrategies []*gatewayv1beta1.Authenticator, exclusiveAccessStrategy string, attributePath string) []validation.Failure

CheckForExclusiveAccessStrategy checks if there is an access strategy that is not allowed in combination with other access strategies.

func CheckForSecureAndUnsecureAccessStrategies

func CheckForSecureAndUnsecureAccessStrategies(accessStrategies []*gatewayv1beta1.Authenticator, attributePath string) []validation.Failure

CheckForSecureAndUnsecureAccessStrategies checks if there are secure and unsecure access strategies used at the same time.

Types

type APIRuleValidator

type APIRuleValidator struct {
	ApiRule *gatewayv1beta1.APIRule

	HandlerValidator          handlerValidator
	AccessStrategiesValidator accessStrategyValidator
	MutatorsValidator         mutatorValidator
	InjectionValidator        *validation.InjectionValidator
	RulesValidator            rulesValidator
	ServiceBlockList          map[string][]string
	DomainAllowList           []string
	HostBlockList             []string
	DefaultDomainName         string
}

APIRuleValidator is used to validate github.com/kyma-project/api-gateway/api/v1beta1/APIRule instances

func (*APIRuleValidator) Validate

Validate performs APIRule validation

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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