Skip to content

Commit

Permalink
chore(gatewayapi/v1beta1): add deepcopy-gen annotations
Browse files Browse the repository at this point in the history
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
  • Loading branch information
kahirokunn committed Dec 10, 2024
1 parent deb1ae7 commit cf2555a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/gatewayapi/v1beta1/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Package v1beta1 contains API Schema definitions for the
// gateway.networking.k8s.io API group.

// +k8s:deepcopy-gen=package

package v1beta1
2 changes: 2 additions & 0 deletions pkg/apis/gatewayapi/v1beta1/httproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
)

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:object:root=true
// +kubebuilder:resource:categories=gateway-api
// +kubebuilder:storageversion
Expand All @@ -40,6 +41,7 @@ type HTTPRoute struct {
Status HTTPRouteStatus `json:"status,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:object:root=true

// HTTPRouteList contains a list of HTTPRoute.
Expand Down

0 comments on commit cf2555a

Please sign in to comment.