k8sgateways

package
v1.80.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GwAPICheckerCode string = "GWAPI"
View Source
const (
	K8sGatewayCheckerType = "k8sgateway"
)

Variables

View Source
var K8sGatewayConditionStatus = map[string]string{
	"Scheduled": "False",
	"Ready":     "False",
}

K8sGatewayConditionStatus represents the status failures for a Condition in a K8sGateway

View Source
var K8sGatewayListenersStatus = map[string]string{
	"Conflicted":   "True",
	"Detached":     "True",
	"Ready":        "False",
	"ResolvedRefs": "False",
}

K8sGatewayConditionStatus represents the status failures for a Condition in a K8sGateway

Functions

This section is empty.

Types

type GatewayClassChecker added in v1.74.0

type GatewayClassChecker struct {
	K8sGateway     *k8s_networking_v1.Gateway
	GatewayClasses []config.GatewayAPIClass
}

func (GatewayClassChecker) Check added in v1.74.0

func (s GatewayClassChecker) Check() ([]*models.IstioCheck, bool)

Check verifies that the K8s Gateway's selector's gatewayClassName is pointing to configured Gateway API Class

type K8sGatewayStatus

type K8sGatewayStatus struct {
	ObjectField string
	Status      string
}

type MultiMatchChecker

type MultiMatchChecker struct {
	Cluster     string
	K8sGateways []*k8s_networking_v1.Gateway
}

func (MultiMatchChecker) Check

Check validates that no two gateways share the same host+port combination

type StatusChecker

type StatusChecker struct {
	K8sGateway *k8s_networking_v1.Gateway
}

func (StatusChecker) Check

func (m StatusChecker) Check() ([]*models.IstioCheck, bool)

Check validates that no two gateways share the same host+port combination

Jump to

Keyboard shortcuts

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