Documentation ¶
Index ¶
Constants ¶
View Source
const (
GatewayCheckerType = "gateway"
)
Variables ¶
View Source
var ( // IstioIngressGatewayLabels matching labels for Istio's internal ingressgateway IstioIngressGatewayLabels = labels.Set(map[string]string{"istio": "ingressgateway"}) // IstioEgressGatewayLabels matching labels for Istio's internal egressgateway IstioEgressGatewayLabels = labels.Set(map[string]string{"istio": "egressgateway"}) )
Functions ¶
This section is empty.
Types ¶
type MultiMatchChecker ¶
type MultiMatchChecker struct { GatewaysPerNamespace [][]kubernetes.IstioObject // contains filtered or unexported fields }
func (MultiMatchChecker) Check ¶
func (m MultiMatchChecker) Check() models.IstioValidations
Check validates that no two gateways share the same host+port combination
type PortChecker ¶
type PortChecker struct {
Gateway kubernetes.IstioObject
}
func (PortChecker) Check ¶
func (p PortChecker) Check() ([]*models.IstioCheck, bool)
type SelectorChecker ¶
type SelectorChecker struct { WorkloadList models.WorkloadList Gateway kubernetes.IstioObject }
func (SelectorChecker) Check ¶
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
Click to show internal directories.
Click to hide internal directories.