Skip to content

Commit be6cb1d

Browse files
authored
Merge pull request #1241 from purelb/fix-support-statements
Ensure that "Supports:" statements stand alone in the docs
2 parents 6f51a1a + bba29c6 commit be6cb1d

11 files changed

+46
-35
lines changed

apis/v1alpha2/httproute_types.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ type HTTPRouteRule struct {
222222
// recommended to return a 503 status code.
223223
//
224224
// Support: Core for Kubernetes Service
225+
//
225226
// Support: Custom for any other resource
226227
//
227228
// Support for weight: Core
@@ -554,6 +555,7 @@ type HTTPRouteFilter struct {
554555
RequestRedirect *HTTPRequestRedirectFilter `json:"requestRedirect,omitempty"`
555556

556557
// URLRewrite defines a schema for a filter that modifies a request during forwarding.
558+
//
557559
// Support: Extended
558560
//
559561
// <gateway:experimental>
@@ -824,8 +826,9 @@ type HTTPRequestRedirectFilter struct {
824826
// forwarding. At most one of these filters may be used on a Route rule. This
825827
// MUST NOT be used on the same Route rule as a HTTPRequestRedirect filter.
826828
//
827-
// <gateway:experimental>
828829
// Support: Extended
830+
//
831+
// <gateway:experimental>
829832
type HTTPURLRewriteFilter struct {
830833
// Hostname is the value to be used to replace the Host header value during
831834
// forwarding.
@@ -864,6 +867,7 @@ type HTTPRequestMirrorFilter struct {
864867
// should be used to provide more detail about the problem.
865868
//
866869
// Support: Extended for Kubernetes Service
870+
//
867871
// Support: Custom for any other resource
868872
BackendRef BackendObjectReference `json:"backendRef"`
869873
}

apis/v1alpha2/shared_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type ParentReference struct {
3939
// Kind is kind of the referent.
4040
//
4141
// Support: Core (Gateway)
42+
//
4243
// Support: Custom (Other Resources)
4344
//
4445
// +kubebuilder:default=Gateway

apis/v1alpha2/tcproute_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ type TCPRouteRule struct {
6767
// connections, then 80% of connections must be rejected instead.
6868
//
6969
// Support: Core for Kubernetes Service
70+
//
7071
// Support: Custom for any other resource
7172
//
7273
// Support for weight: Extended

apis/v1alpha2/tlsroute_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ type TLSRouteRule struct {
111111
// instead.
112112
//
113113
// Support: Core for Kubernetes Service
114+
//
114115
// Support: Custom for any other resource
115116
//
116117
// Support for weight: Extended

apis/v1beta1/httproute_types.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ type HTTPRouteFilter struct {
553553
RequestRedirect *HTTPRequestRedirectFilter `json:"requestRedirect,omitempty"`
554554

555555
// URLRewrite defines a schema for a filter that modifies a request during forwarding.
556+
//
556557
// Support: Extended
557558
//
558559
// <gateway:experimental>
@@ -823,8 +824,9 @@ type HTTPRequestRedirectFilter struct {
823824
// forwarding. At most one of these filters may be used on a Route rule. This
824825
// MUST NOT be used on the same Route rule as a HTTPRequestRedirect filter.
825826
//
826-
// <gateway:experimental>
827827
// Support: Extended
828+
//
829+
// <gateway:experimental>
828830
type HTTPURLRewriteFilter struct {
829831
// Hostname is the value to be used to replace the Host header value during
830832
// forwarding.
@@ -863,6 +865,7 @@ type HTTPRequestMirrorFilter struct {
863865
// should be used to provide more detail about the problem.
864866
//
865867
// Support: Extended for Kubernetes Service
868+
//
866869
// Support: Custom for any other resource
867870
BackendRef BackendObjectReference `json:"backendRef"`
868871
}

apis/v1beta1/shared_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type ParentReference struct {
3939
// Kind is kind of the referent.
4040
//
4141
// Support: Core (Gateway)
42+
//
4243
// Support: Custom (Other Resources)
4344
//
4445
// +kubebuilder:default=Gateway

config/crd/experimental/gateway.networking.k8s.io_httproutes.yaml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/experimental/gateway.networking.k8s.io_tcproutes.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/experimental/gateway.networking.k8s.io_udproutes.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/standard/gateway.networking.k8s.io_httproutes.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)