ADD: added setting of namespace in to KubePod class

This commit is contained in:
Henry Winkel
2023-09-27 09:20:04 +02:00
parent 5d3dcb25db
commit f95542b893
2 changed files with 10 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ namespace kubecontrol
class KubePod
{
public:
KubePod(std::string Owner, std::string Uuid, std::string ContainerImage);
KubePod(std::string Owner, std::string Uuid, std::string Component, std::string ContainerImage);
KubePod(std::string Owner, std::string Uuid, std::string ContainerImage,std::string Namespace = "simulator");
KubePod(std::string Owner, std::string Uuid, std::string Component, std::string ContainerImage,std::string Namespace = "simulator");
std::string getUUID();
std::string getOwner();
@@ -62,6 +62,7 @@ namespace kubecontrol
std::string ContainerImage_;
std::string ContainerRegistry_;
std::string PathToYaml_;
std::string Namespace_;
std::string PodCommand_;