ADD: added name to KubePod and added the possibility to pass a shared pointer to start a pod
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user