-
Notifications
You must be signed in to change notification settings - Fork 413
/
istio_types.go
31 lines (25 loc) · 918 Bytes
/
istio_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// -------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// --------------------------------------------------------------------------------------------
package appgw
import "github.com/knative/pkg/apis/istio/v1alpha3"
type istioMatchIdentifier struct {
Namespace string
VirtualService *v1alpha3.VirtualService
Rule *v1alpha3.HTTPRoute
Match *v1alpha3.HTTPMatchRequest
Destinations []*v1alpha3.Destination
Gateways []string
}
type istioVirtualServiceIdentifier struct {
Namespace string
Name string
}
type istioDestinationIdentifier struct {
serviceIdentifier
istioVirtualServiceIdentifier
DestinationHost string
DestinationSubset string
DestinationPort uint32
}