-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace gogoprotobuf with golang protobuf (#8949)
* Use google.golang.org/protobuf github.com/gogo/protobuf is deprecated [1] so use the official protobuf. [1] https://twitter.com/awalterschulze/status/1584553056100057088 * updated ID types for mock dataplane * convert proto type IDs to be valid map keys * solved copylocks warning by passing proto type reference * make all processor unit tests passed * convert proto types for app-policy * convert proto types for mock dataplane * addressed hjiawei's comments * make all TestCalculationGraph unit tests passed * fixed linter copylocks issues part 1 * fixed linter copylocks issue part 2 * replace deprecated grpc.Dial by grpc.NewClient * resovled conflict issues due to rebase * set default resolver scheme passthrough before grpc.NewClient for UNIX socket * Re-generate protobuf and cleanup go.mod * fixed syncserver_test and policysync_test issues * fixed policysync_test nsID issue * addressed hjiawei's comments * addressed hjiawei's comments: updated file names * fixed policysync_test which tried to compare two proto objs by using Expect/Equal * fixed static checks ineffectual assignment for equal * fixed policysync_test index value issue * fixed the panic issue when proto.RouteUpdate try to access Type * addressed hjiawei's comment: should use Eventrually for async assertion * Use one line Expect googleproto equal to be true * Add Expect assertion * Move grpc resolver SetDefaultScheme to init func * Fix app-policy checker unit tests * Fix felix calc state unit tests * Add protobuf target for pod2daemon and remove SKIP_PROTOBUF flag * Fix go import format * Use make fix-changed to reformat generated go files * Revert back to make fix for api * Update go mod * Fix felix untracked policy unit tests --------- Co-authored-by: Jiawei Huang <[email protected]>
- Loading branch information
Showing
99 changed files
with
10,084 additions
and
23,232 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.