@@ -28,76 +28,6 @@ import (
28
28
"sigs.k8s.io/gateway-api/conformance/utils/roundtripper"
29
29
)
30
30
31
- // SupportedFeature allows opting in to additional conformance tests at an
32
- // individual feature granularity.
33
- type SupportedFeature string
34
-
35
- const (
36
- // This option indicates support for ReferenceGrant (core conformance).
37
- // Opting out of this requires an implementation to have clearly implemented
38
- // and documented equivalent safeguards.
39
- SupportReferenceGrant SupportedFeature = "ReferenceGrant"
40
-
41
- // This option indicates support for TLSRoute (extended conformance).
42
- SupportTLSRoute SupportedFeature = "TLSRoute"
43
-
44
- // This option indicates support for HTTPRoute query param matching (extended conformance).
45
- SupportHTTPRouteQueryParamMatching SupportedFeature = "HTTPRouteQueryParamMatching"
46
-
47
- // This option indicates support for HTTPRoute method matching (extended conformance).
48
- SupportHTTPRouteMethodMatching SupportedFeature = "HTTPRouteMethodMatching"
49
-
50
- // This option indicates support for HTTPRoute response header modification (extended conformance).
51
- SupportHTTPResponseHeaderModification SupportedFeature = "HTTPResponseHeaderModification"
52
-
53
- // This option indicates support for Destination Port matching (extended conformance).
54
- SupportRouteDestinationPortMatching SupportedFeature = "RouteDestinationPortMatching"
55
-
56
- // This option indicates GatewayClass will update the observedGeneration in it's conditions when reconciling
57
- SupportGatewayClassObservedGenerationBump SupportedFeature = "GatewayClassObservedGenerationBump"
58
-
59
- // This option indicates support for HTTPRoute port redirect (extended conformance).
60
- SupportHTTPRoutePortRedirect SupportedFeature = "HTTPRoutePortRedirect"
61
-
62
- // This option indicates support for HTTPRoute scheme redirect (extended conformance).
63
- SupportHTTPRouteSchemeRedirect SupportedFeature = "HTTPRouteSchemeRedirect"
64
-
65
- // This option indicates support for HTTPRoute path redirect (experimental conformance).
66
- SupportHTTPRoutePathRedirect SupportedFeature = "HTTPRoutePathRedirect"
67
-
68
- // This option indicates support for HTTPRoute host rewrite (experimental conformance)
69
- SupportHTTPRouteHostRewrite SupportedFeature = "HTTPRouteHostRewrite"
70
-
71
- // This option indicates support for HTTPRoute path rewrite (experimental conformance)
72
- SupportHTTPRoutePathRewrite SupportedFeature = "HTTPRoutePathRewrite"
73
- )
74
-
75
- // StandardCoreFeatures are the features that are required to be conformant with
76
- // the Core API features that are part of the Standard release channel.
77
- var StandardCoreFeatures = sets .New (
78
- SupportReferenceGrant ,
79
- )
80
-
81
- // AllFeatures contains all the supported features and can be used to run all
82
- // conformance tests with `all-features` flag.
83
- //
84
- // Note that the AllFeatures must in sync with defined features when the
85
- // feature constants change.
86
- var AllFeatures = sets .New (
87
- SupportReferenceGrant ,
88
- SupportTLSRoute ,
89
- SupportHTTPRouteQueryParamMatching ,
90
- SupportHTTPRouteMethodMatching ,
91
- SupportHTTPResponseHeaderModification ,
92
- SupportRouteDestinationPortMatching ,
93
- SupportGatewayClassObservedGenerationBump ,
94
- SupportHTTPRoutePortRedirect ,
95
- SupportHTTPRouteSchemeRedirect ,
96
- SupportHTTPRoutePathRedirect ,
97
- SupportHTTPRouteHostRewrite ,
98
- SupportHTTPRoutePathRewrite ,
99
- )
100
-
101
31
// ConformanceTestSuite defines the test suite used to run Gateway API
102
32
// conformance tests.
103
33
type ConformanceTestSuite struct {
0 commit comments