Closed baude closed 1 year ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: gbraad Once this PR has been reviewed and has the lgtm label, please ask for approval from baude. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
An alternative would be to use interfaces to separate the code-hex/vz code from the rest code, I tried this in https://github.com/cfergeau/vfkit/commit/c39510306f8ead5268b8e8329d16dc201b249e76
closing in favor of #52
PR needs rebase.
Refactored portions of the rest code to not require CGO for rest consumers. Most of the refactored code was moved into pkg/rest/define to isolate it.
Also pruned an unused function and related unit test.