@@ -22,7 +22,7 @@ import (
22
22
"strings"
23
23
"text/tabwriter"
24
24
25
- gatewayv1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1 "
25
+ gatewayv1 "sigs.k8s.io/gateway-api/apis/v1 "
26
26
"sigs.k8s.io/yaml"
27
27
28
28
"sigs.k8s.io/gateway-api/gwctl/pkg/policymanager"
@@ -55,12 +55,12 @@ func (hp *HTTPRoutesPrinter) Print(resourceModel *resourcediscovery.ResourceMode
55
55
}
56
56
57
57
type httpRouteDescribeView struct {
58
- Name string `json:",omitempty"`
59
- Namespace string `json:",omitempty"`
60
- Hostnames []gatewayv1beta1 .Hostname `json:",omitempty"`
61
- ParentRefs []gatewayv1beta1 .ParentReference `json:",omitempty"`
62
- DirectlyAttachedPolicies []policymanager.ObjRef `json:",omitempty"`
63
- EffectivePolicies any `json:",omitempty"`
58
+ Name string `json:",omitempty"`
59
+ Namespace string `json:",omitempty"`
60
+ Hostnames []gatewayv1 .Hostname `json:",omitempty"`
61
+ ParentRefs []gatewayv1 .ParentReference `json:",omitempty"`
62
+ DirectlyAttachedPolicies []policymanager.ObjRef `json:",omitempty"`
63
+ EffectivePolicies any `json:",omitempty"`
64
64
}
65
65
66
66
func (hp * HTTPRoutesPrinter ) PrintDescribeView (resourceModel * resourcediscovery.ResourceModel ) {
0 commit comments