ADD: added a podcontroller and test for the first basic usage

This commit is contained in:
Henry Winkel
2023-08-08 15:09:18 +02:00
parent 1c4c883648
commit 5f043ca88e
13 changed files with 196 additions and 192 deletions

View File

@@ -11,10 +11,14 @@ namespace kubecontrol
std::string getServerAddress();
void startPod(KubePod Pod);
void stopPod(std::string Label);
void stopAllPods();
std::string getPodsInfo();
std::string getInfoForPod(std::string Label);
private:
std::vector<KubePod> PodList;
std::vector<KubePod> PodList_;
std::string BearerToken_;
std::string ServerAddress_;