Skip to content

Commit

Permalink
Generate deepCopy for RouteConfig, RDNSSConfig, and DNSSLConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <[email protected]>
  • Loading branch information
YutaroHayakawa committed May 22, 2024
1 parent ebd7885 commit c1e972b
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ lint:
docker run -t --rm -v $(PWD):/app -w /app golangci/golangci-lint:v1.58.0 golangci-lint run -v -D errcheck

deepcopy:
go run tools/deepcopy-gen/deepcopy-gen.go Config Status InterfaceConfig InterfaceStatus PrefixConfig
go run tools/deepcopy-gen/deepcopy-gen.go \
Config Status InterfaceConfig \
InterfaceStatus PrefixConfig RouteConfig \
RDNSSConfig DNSSLConfig

check-deepcopy:
$(MAKE) deepcopy
Expand Down
55 changes: 54 additions & 1 deletion zz_generated_deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c1e972b

Please sign in to comment.