upgrade to istio 1.19 (#1211)

Co-authored-by: CH3CHO <ch3cho@qq.com>
Co-authored-by: rinfx <893383980@qq.com>
This commit is contained in:
澄潭
2024-08-26 09:51:47 +08:00
committed by GitHub
parent a2c2d1d521
commit f7a419770d
401 changed files with 21171 additions and 7255 deletions

View File

@@ -21,6 +21,7 @@ import (
"github.com/alibaba/higress/pkg/ingress/kube/annotations"
networking "istio.io/api/networking/v1alpha3"
"istio.io/istio/pilot/pkg/model"
"istio.io/istio/pkg/cluster"
"istio.io/istio/pkg/config"
gatewaytool "istio.io/istio/pkg/config/gateway"
listerv1 "k8s.io/client-go/listers/core/v1"
@@ -47,7 +48,7 @@ type WrapperConfigWithRuleKey struct {
type WrapperGateway struct {
Gateway *networking.Gateway
WrapperConfig *WrapperConfig
ClusterId string
ClusterId cluster.ID
Host string
}
@@ -69,7 +70,7 @@ type WrapperHTTPRoute struct {
HTTPRoute *networking.HTTPRoute
WrapperConfig *WrapperConfig
RawClusterId string
ClusterId string
ClusterId cluster.ID
ClusterName string
Host string
OriginPath string
@@ -163,3 +164,9 @@ type KIngressController interface {
// HasSynced returns true after initial cache synchronization is complete
HasSynced() bool
}
type GatewayController interface {
model.ConfigStoreController
SetWatchErrorHandler(func(r *cache.Reflector, err error)) error
}