Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoHostChecker ¶
type NoHostChecker struct { K8sGRPCRoute *k8s_networking_v1.GRPCRoute K8sReferenceGrants []*k8s_networking_v1beta1.ReferenceGrant Namespaces models.Namespaces RegistryServices []*kubernetes.RegistryService }
func (NoHostChecker) Check ¶
func (n NoHostChecker) Check() ([]*models.IstioCheck, bool)
type NoK8sGatewayChecker ¶
type NoK8sGatewayChecker struct { Cluster string GatewayNames map[string]k8s_networking_v1.Gateway K8sGRPCRoute *k8s_networking_v1.GRPCRoute Namespaces models.Namespaces }
func (NoK8sGatewayChecker) Check ¶
func (s NoK8sGatewayChecker) Check() ([]*models.IstioCheck, bool)
Check validates that the GRPCRoute is pointing to an existing Gateway
func (NoK8sGatewayChecker) ValidateGRPCRouteGateways ¶
func (s NoK8sGatewayChecker) ValidateGRPCRouteGateways(validations *[]*models.IstioCheck) bool
ValidateGRPCRouteGateways checks all GRPCRoute gateways and checks that they're found from the given list of gatewayNames. Also return index of missing gatways to show clearer error path in editor
Click to show internal directories.
Click to hide internal directories.