mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
6af54142f2
The nested client pkg was necessary to implement a generator pattern. The generator was necessary as the Kubewrapper type expects a k8sapi.Client object during instantiation. However, the required kubeconfig is not ready during Kubewrapper creation. This patch relies on an Initialize function to set the Kubeconfig and hands over an empty struct during Kubewrapper creation. This allows us to remove the extra Client abstraction. |
||
---|---|---|
.. | ||
k8sapi | ||
kubeWaiter | ||
cloud_provider.go | ||
k8sutil.go | ||
kubeconfig_test.go | ||
kubeconfig.go | ||
kubernetes_test.go | ||
kubernetes.go |