@@ -27,7 +27,7 @@ import "k8s.io/apimachinery/pkg/util/sets"
27
27
type SupportedFeature string
28
28
29
29
// -----------------------------------------------------------------------------
30
- // Features - All Profiles (Core)
30
+ // Features - Standard (Core)
31
31
// -----------------------------------------------------------------------------
32
32
33
33
const (
@@ -38,7 +38,7 @@ const (
38
38
)
39
39
40
40
// StandardCoreFeatures are the features that are required to be conformant with
41
- // the Core API features. All conformance profiles include this standard set .
41
+ // the Core API features (e.g. GatewayClass, Gateway, e.t.c.) .
42
42
//
43
43
// TODO: we need clarity for standard vs experimental features.
44
44
// See: https://github.com/kubernetes-sigs/gateway-api/issues/1891
@@ -47,7 +47,7 @@ var StandardCoreFeatures = sets.New(
47
47
)
48
48
49
49
// -----------------------------------------------------------------------------
50
- // Features - All Profiles (Extended)
50
+ // Features - Standard (Extended)
51
51
// -----------------------------------------------------------------------------
52
52
53
53
const (
@@ -76,7 +76,7 @@ var StandardExtendedFeatures = sets.New(
76
76
).Insert (StandardCoreFeatures .UnsortedList ()... )
77
77
78
78
// -----------------------------------------------------------------------------
79
- // Features - HTTP Conformance Profile (Core)
79
+ // Features - HTTPRoute Conformance (Core)
80
80
// -----------------------------------------------------------------------------
81
81
82
82
const (
@@ -85,13 +85,13 @@ const (
85
85
)
86
86
87
87
// HTTPCoreFeatures includes all SupportedFeatures needed to be conformant with
88
- // the HTTP conformance profile at a Core level of support .
88
+ // the HTTPRoute .
89
89
var HTTPCoreFeatures = sets .New (
90
90
SupportHTTPRoute ,
91
91
)
92
92
93
93
// -----------------------------------------------------------------------------
94
- // Features - HTTP Conformance Profile (Extended)
94
+ // Features - HTTPRoute Conformance (Extended)
95
95
// -----------------------------------------------------------------------------
96
96
97
97
const (
@@ -120,9 +120,9 @@ const (
120
120
SupportHTTPRoutePathRewrite SupportedFeature = "HTTPRoutePathRewrite"
121
121
)
122
122
123
- // HTTPExtendedFeatures includes all the supported features for the HTTP conformance
124
- // profile and can be used to opt-in to run all HTTP tests ( including extended
125
- // and experimental features) .
123
+ // HTTPExtendedFeatures includes all the supported features for HTTPRoute
124
+ // conformance and can be used to opt-in to run all HTTPRoute tests, including
125
+ // extended features.
126
126
var HTTPExtendedFeatures = sets .New (
127
127
SupportHTTPRouteQueryParamMatching ,
128
128
SupportHTTPRouteMethodMatching ,
@@ -135,16 +135,16 @@ var HTTPExtendedFeatures = sets.New(
135
135
).Insert (HTTPCoreFeatures .UnsortedList ()... )
136
136
137
137
// -----------------------------------------------------------------------------
138
- // Features - TLS Conformance Profile
138
+ // Features - TLSRoute Conformance (Core)
139
139
// -----------------------------------------------------------------------------
140
140
141
141
const (
142
142
// This option indicates support for TLSRoute
143
143
SupportTLSRoute SupportedFeature = "TLSRoute"
144
144
)
145
145
146
- // TLSCoreFeatures includes all the supported features for the TLS conformance
147
- // profile at a Core level of support.
146
+ // TLSCoreFeatures includes all the supported features for the TLSRoute API at
147
+ // a Core level of support.
148
148
var TLSCoreFeatures = sets .New (
149
149
SupportTLSRoute ,
150
150
)
@@ -156,8 +156,7 @@ var TLSCoreFeatures = sets.New(
156
156
// AllFeatures contains all the supported features and can be used to run all
157
157
// conformance tests with `all-features` flag.
158
158
//
159
- // NOTE: as new profiles and levels are added, they should be inserted into
160
- // this set.
159
+ // NOTE: as new feature sets are added they should be inserted into this set.
161
160
var AllFeatures = sets .New [SupportedFeature ]().
162
161
Insert (StandardExtendedFeatures .UnsortedList ()... ).
163
162
Insert (HTTPExtendedFeatures .UnsortedList ()... ).
0 commit comments