Files
KubeControl/include/kubecontrol/PodController.hpp
2023-08-07 21:30:53 +02:00

25 lines
505 B
C++

#pragma once
#include <kubecontrol/KubePod.hpp>
namespace kubecontrol
{
class PodController
{
public:
PodController(std::string pathToKubectlConfig);
std::string getServerAddress();
void startPod(KubePod Pod);
void stopAllPods();
private:
std::vector<KubePod> PodList;
std::string BearerToken_;
std::string ServerAddress_;
std::string ApiCall_;
};
} // namespace ku