ADD: added name to KubePod and added the possibility to pass a shared pointer to start a pod

This commit is contained in:
Henry Winkel
2024-02-12 18:05:32 +01:00
parent 4045f21786
commit 2377948049
6 changed files with 48 additions and 1 deletions

View File

@@ -136,9 +136,19 @@ namespace kubecontrol
return this->Component_;
}
void KubePod::setName(std::string name)
{
this->Name_ = name;
}
std::string KubePod::getName()
{
return this->Name_;
}
std::string KubePod::createYAML()
{
YAML::Node node;