diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/Application.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/Application.kt index 7148f58..1da5368 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/Application.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/application/Application.kt @@ -4,6 +4,7 @@ import org.domaindrivenarchitecture.provs.framework.core.cli.createProvInstance import org.domaindrivenarchitecture.provs.server.domain.ServerType import org.domaindrivenarchitecture.provs.server.domain.k3s.K3sCliCommand import org.domaindrivenarchitecture.provs.server.domain.k3s.provisionK3s +// TODO: jem - 2022-06-30: unused import import org.domaindrivenarchitecture.provs.server.infrastructure.provisionServerCliConvenience import kotlin.system.exitProcess diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sService.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sService.kt index 535aee8..e09a71a 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sService.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/domain/k3s/K3sService.kt @@ -20,12 +20,14 @@ fun Prov.provisionK3s(cli: K3sCliCommand) = task { provisionMeissaDesktopSubmodules(cli.submodules, grafanaConfigResolved) } + // TODO: jem - 2022-06-30: das hier ist auf der falschen Ebene - gehört doch eher in die methode unten provisionServerCliConvenience() } /** * Installs a k3s server. */ +// TODO: jem - 2022-06-30: die überladenen methoden sind schwierig - lieber unterschiedlich benennen fun Prov.provisionK3s( k3sConfig: K3sConfig, grafanaConfigResolved: GrafanaAgentConfigResolved? = null, @@ -56,6 +58,7 @@ fun Prov.provisionK3s( } } +// TODO: jem - 2022-06-30: warum heisst diese methode meissa? private fun Prov.provisionMeissaDesktopSubmodules( submodules: List, grafanaConfigResolved: GrafanaAgentConfigResolved?) = task {