#pragma once #include "nlohmann/json_fwd.hpp" #include #include #include #include #include #include #include #include #include #include #include namespace kubecontrol { class KubePod { public: KubePod(std::string Label, std::string Uuid, std::string ContainerImage); std::string getUUID(); std::string getLabel(); void setEnvironmentVar(std::string key, std::string val); std::map GetEnvironmentVars(); std::string* GetEnvironmentVar(std::string key); std::string createYAML(); std::string start(std::string apiAddress,std::string token); std::string stop(std::string apiAddress,std::string token); std::string getInfo(std::string apiAddress,std::string token); private: std::string Label_; std::string Uuid_; std::string ContainerImage_; std::string ContainerRegistry_; std::string PathToYaml_; std::map EnvirmonentVars_; }; }