blob: 4c6ab59123461f14f7466d268ebe4832977f952c [file] [log] [blame]
Giorgi Lekveishvili7fb28bf2023-06-24 19:51:16 +04001package main
2
3import (
4 "github.com/giolekva/pcloud/core/installer"
5)
6
7func newNSCreator() (installer.NamespaceCreator, error) {
Giorgi Lekveishvilicd9e42c2023-12-13 09:49:44 +04008 return installer.NewNamespaceCreator(rootFlags.kubeConfig)
9}
10
11func newZoneFetcher() (installer.ZoneStatusFetcher, error) {
12 return installer.NewZoneStatusFetcher(rootFlags.kubeConfig)
Giorgi Lekveishvili7fb28bf2023-06-24 19:51:16 +040013}
gio778577f2024-04-29 09:44:38 +040014
15func newHelmReleaseMonitor() (installer.HelmReleaseMonitor, error) {
16 return installer.NewHelmReleaseMonitor(rootFlags.kubeConfig)
17}