ADD: added Util class with the function to lowercase the vals for yaml and added support of setting args and command
This commit is contained in:
@@ -29,7 +29,14 @@ namespace kubecontrol
|
||||
|
||||
void setEnvironmentVar(std::string key, std::string val);
|
||||
std::map<std::string, std::string> GetEnvironmentVars();
|
||||
std::string* GetEnvironmentVar(std::string key);
|
||||
std::string GetEnvironmentVar(std::string key);
|
||||
|
||||
void setArgs(std::string args);
|
||||
std::vector<std::string> GetArgs();
|
||||
|
||||
void setCommand(std::string command);
|
||||
std::string getCommand();
|
||||
|
||||
|
||||
std::string createYAML();
|
||||
std::string start(std::string apiAddress,std::string token);
|
||||
@@ -45,7 +52,12 @@ namespace kubecontrol
|
||||
std::string ContainerRegistry_;
|
||||
std::string PathToYaml_;
|
||||
|
||||
std::string PodCommand_;
|
||||
|
||||
std::map<std::string, std::string> EnvirmonentVars_;
|
||||
std::vector<std::string> Args_;
|
||||
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user