intel-device-plugins-for-ku.../pkg/fpgacontroller/patcher
Mikko Ylinen 0574c42078 fpga: move getRequestedResources() to new package
The function will be re-used by other webhooks too so it's better
to move it to its own package.

The unit tests are taken from the original implementation with some
minor changes.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-10 15:31:26 +03:00
..
patcher_test.go patcher: move ENV validation away from getRequestedResources 2020-09-10 15:31:26 +03:00
patcher.go fpga: move getRequestedResources() to new package 2020-09-10 15:31:26 +03:00
patchermanager_test.go fpga webhook: reimplement to use kubebuilder framework 2020-08-17 12:09:03 +03:00
patchermanager.go lint: enable exportloopref, prealloc and scopelint checks 2020-08-31 11:10:51 +03:00