Enhance Code Quality
This MR aims to improve code quality, it includes refactoring and restructuring and code formatting. In particular, it includes:
- Copying the examples folder to the Docker images, this makes it possible to use the examples as default
executionandbenchmarkeven in standalone mode - Renaming
TheodoliteYamlExecutortoTheodoliteStandalone - Replace
KafkaLagExporterRemoverwithResourceByLabelHandler. This handler encapsulates all requests to Kubernetes resources via labels - Replace fabric8
DefaultKubernetesClientwithNamespacedKubernetesClient, this way we can simplify some calls (inNamespace() can be removed) - Extract the code for adding an additional label patcher from
TheodoliteControllerinto a new classConfigOverrideModifier. Add test for thisConfigOverrideModifier - Extract the State Comperator from
TheodoliteControllerinto a new classExecutionComparator - Add
ImagePatcherto thePatcherFactory - Some minor code changes, like changing the type of exceptions, code formatting or cleanup, updating KDoc
Closes #209 (closed)
Edited by Sören Henning