gateways

package
v1.65.18 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 10

Documentation

Index

Constants

View Source
const (
	GatewayCheckerType = "gateway"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Port            int
	Hostname        string
	Namespace       string
	ServerIndex     int
	HostIndex       int
	GatewayRuleName string
	TargetNamespace string
}

type MultiMatchChecker

type MultiMatchChecker struct {
	Gateways []*networking_v1beta1.Gateway
	// contains filtered or unexported fields
}

func (MultiMatchChecker) Check

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

type PortChecker added in v0.15.0

type PortChecker struct {
	Gateway *networking_v1beta1.Gateway
}

func (PortChecker) Check added in v0.15.0

func (p PortChecker) Check() ([]*models.IstioCheck, bool)

type SelectorChecker added in v0.21.0

type SelectorChecker struct {
	WorkloadsPerNamespace map[string]models.WorkloadList
	Gateway               *networking_v1beta1.Gateway
	IsGatewayToNamespace  bool
}

func (SelectorChecker) Check added in v0.21.0

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

Check verifies that the Gateway's selector's labels do match a known service inside the same namespace as recommended/required by the docs

Jump to

Keyboard shortcuts

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