ADD: added podinfo with building a tree hierarchy for a pod
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "kubecontrol/PodInfo.hpp"
|
||||
#include "nlohmann/json_fwd.hpp"
|
||||
#include "yaml-cpp/node/node.h"
|
||||
#include <map>
|
||||
@@ -19,6 +20,7 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
||||
namespace kubecontrol
|
||||
{
|
||||
class KubePod
|
||||
@@ -49,8 +51,10 @@ namespace kubecontrol
|
||||
std::string stop(std::string apiAddress,std::string token);
|
||||
std::string getInfo(std::string apiAddress,std::string token);
|
||||
|
||||
PodInfo PodInfo;
|
||||
|
||||
|
||||
|
||||
private:
|
||||
std::string Owner_;
|
||||
std::string Uuid_;
|
||||
@@ -69,5 +73,7 @@ namespace kubecontrol
|
||||
|
||||
|
||||
|
||||
std::string StopChilds(std::string apiAddress,std::string token,std::string uuid);
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user