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. |
||
---|---|---|
.. | ||
kubectl | ||
resources | ||
install_test.go | ||
install.go | ||
k8sutil.go | ||
kubeadm_config_test.go | ||
kubeadm_config.go | ||
systemd.go |