sriov-network-device-plugin
sriov-network-device-plugin copied to clipboard
Introducing FeatureGates and global feature config
Regards discussion: https://github.com/k8snetworkplumbingwg/sriov-network-device-plugin/issues/321
This PR introduces FeatureGates mechanism similar to one available in Kubernetes, that could be used by users to disable/enable features provided by SR-IOV DP. Additionally added global config structure that could hold configuration of features introduced in the future.
Hi, @martinkennelly, @zshi-redhat, @adrianchiris is it possible we could move this thing further? Also tagging @Eoghan1232 who was interested.
Pull Request Test Coverage Report for Build 3345652242
- 0 of 43 (0.0%) changed or added relevant lines in 1 file are covered.
- 1 unchanged line in 1 file lost coverage.
- Overall coverage decreased (-1.3%) to 75.942%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| cmd/sriovdp/main.go | 0 | 43 | 0.0% |
| <!-- | Total: | 0 | 43 |
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| cmd/sriovdp/main.go | 1 | 0% |
| <!-- | Total: | 1 |
| Totals | |
|---|---|
| Change from base Build 2733786348: | -1.3% |
| Covered Lines: | 1572 |
| Relevant Lines: | 2070 |
💛 - Coveralls
Hi all! This PR has been rebased onto the current master.
Is this PR still relevant or we can close it?