@@ -2,18 +2,39 @@ package suite
2
2
3
3
import "k8s.io/apimachinery/pkg/util/sets"
4
4
5
+ // -----------------------------------------------------------------------------
6
+ // Features - Types
7
+ // -----------------------------------------------------------------------------
8
+
5
9
// SupportedFeature allows opting in to additional conformance tests at an
6
10
// individual feature granularity.
7
11
type SupportedFeature string
8
12
13
+ // -----------------------------------------------------------------------------
14
+ // Features - All Profiles
15
+ // -----------------------------------------------------------------------------
16
+
9
17
const (
10
18
// This option indicates support for ReferenceGrant (core conformance).
11
19
// Opting out of this requires an implementation to have clearly implemented
12
20
// and documented equivalent safeguards.
13
21
SupportReferenceGrant SupportedFeature = "ReferenceGrant"
14
22
15
- // This option indicates support for TLSRoute (extended conformance).
16
- SupportTLSRoute SupportedFeature = "TLSRoute"
23
+ // This option indicates GatewayClass will update the observedGeneration in it's conditions when reconciling
24
+ SupportGatewayClassObservedGenerationBump SupportedFeature = "GatewayClassObservedGenerationBump"
25
+ )
26
+
27
+ // StandardCoreFeatures are the features that are required to be conformant with
28
+ // the Core API features that are part of the Standard release channel.
29
+ var StandardCoreFeatures = sets .New (
30
+ SupportReferenceGrant ,
31
+ )
32
+
33
+ // -----------------------------------------------------------------------------
34
+ // Features - HTTP Conformance Profile
35
+ // -----------------------------------------------------------------------------
36
+
37
+ const (
17
38
18
39
// This option indicates support for HTTPRoute query param matching (extended conformance).
19
40
SupportHTTPRouteQueryParamMatching SupportedFeature = "HTTPRouteQueryParamMatching"
@@ -27,9 +48,6 @@ const (
27
48
// This option indicates support for Destination Port matching (extended conformance).
28
49
SupportRouteDestinationPortMatching SupportedFeature = "RouteDestinationPortMatching"
29
50
30
- // This option indicates GatewayClass will update the observedGeneration in it's conditions when reconciling
31
- SupportGatewayClassObservedGenerationBump SupportedFeature = "GatewayClassObservedGenerationBump"
32
-
33
51
// This option indicates support for HTTPRoute port redirect (extended conformance).
34
52
SupportHTTPRoutePortRedirect SupportedFeature = "HTTPRoutePortRedirect"
35
53
@@ -46,12 +64,19 @@ const (
46
64
SupportHTTPRoutePathRewrite SupportedFeature = "HTTPRoutePathRewrite"
47
65
)
48
66
49
- // StandardCoreFeatures are the features that are required to be conformant with
50
- // the Core API features that are part of the Standard release channel.
51
- var StandardCoreFeatures = sets .New (
52
- SupportReferenceGrant ,
67
+ // -----------------------------------------------------------------------------
68
+ // Features - TLS Conformance Profile
69
+ // -----------------------------------------------------------------------------
70
+
71
+ const (
72
+ // This option indicates support for TLSRoute (extended conformance).
73
+ SupportTLSRoute SupportedFeature = "TLSRoute"
53
74
)
54
75
76
+ // -----------------------------------------------------------------------------
77
+ // Features - Compilations
78
+ // -----------------------------------------------------------------------------
79
+
55
80
// AllFeatures contains all the supported features and can be used to run all
56
81
// conformance tests with `all-features` flag.
57
82
//
0 commit comments