-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Gateway API types from Configuration-related types in dataplan…
…e package (#976) Problem: Configuration-related types in the data plane package include Gateway API types. As a result: - We need to make any validation-related assumptions about them (ex. certain fields cannot be not nil) in the config package. - It makes it difficult maintain/extend and potentially allow for supporting more routing resource types (outside of Gateway API) in the future. - It makes unit tests more complicated in the config package Solution: - Remove Gateway API types from Configuration-related types. - Move the types to types.go file. - Move converters to convert.go Testing: Unit testing Closes #660
- Loading branch information
Showing
10 changed files
with
913 additions
and
1,176 deletions.
There are no files selected for viewing
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.