Not better.
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m29s

This commit is contained in:
Your Name
2025-05-25 19:31:43 +12:00
parent 8f06fc31ae
commit e7558be416
3 changed files with 46 additions and 26 deletions

View File

@ -8,6 +8,19 @@
namespace dropshell {
class tRegistryEntry {
public:
tRegistryEntry(nlohmann::json json);
~tRegistryEntry();
public:
std::string name;
std::string url;
std::string token;
bool valid;
};
class config {
public:
config();
@ -19,15 +32,12 @@ class config {
bool is_config_set() const;
static bool is_agent_installed();
std::vector<std::string> get_template_registry_urls();
std::vector<tRegistryEntry> get_template_registry_urls();
std::vector<std::string> get_local_template_paths();
std::vector<std::string> get_local_server_definition_paths();
std::string get_server_create_path();
std::string get_template_create_path();
std::string get_template_upload_url();
std::string get_template_upload_token();
std::string get_backups_path();
private: