k8snetworkplumbingwg / sriov-network-operator

Operator for provisioning and configuring SR-IOV CNI plugin and device plugin
Apache License 2.0
85 stars 114 forks source link

Refactor SriovNetwork and SriovIBNetwork controllers to use same code #663

Closed ykulazhenkov closed 8 months ago

ykulazhenkov commented 8 months ago

Controllers were refactoring to use genericNetworkReconciler, which contains all logic

This is necessary to make it easier to add new controllers.

github-actions[bot] commented 8 months ago

Thanks for your PR, To run vendors CIs use one of:

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 8355447020

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
controllers/generic_network_controller.go 125 161 77.64%
<!-- Total: 153 189 80.95% -->
Files with Coverage Reduction New Missed Lines %
controllers/drain_controller.go 1 70.36%
pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodestate.go 2 48.65%
pkg/daemon/daemon.go 3 48.01%
<!-- Total: 6 -->
Totals Coverage Status
Change from base Build 8340797420: -0.2%
Covered Lines: 4789
Relevant Lines: 12722

💛 - Coveralls
ykulazhenkov commented 8 months ago

used by #646

ykulazhenkov commented 8 months ago

@zeeke @SchSeba Could you please review this PR? :) Thx!