Broken
This commit is contained in:
@ -99,20 +99,30 @@ namespace dropshell {
|
||||
// |-- .template_info.env
|
||||
// |-- (other config files for specific server&service)
|
||||
|
||||
namespace remotefile {
|
||||
std::string service_env(const std::string &server_name, const std::string &service_name);
|
||||
} // namespace remotefile
|
||||
class remotefile {
|
||||
public:
|
||||
remotefile(const std::string &server_name, const std::string &user);
|
||||
std::string service_env(const std::string &service_name) const;
|
||||
private:
|
||||
std::string mServer_name;
|
||||
std::string mUser;
|
||||
};
|
||||
|
||||
namespace remotepath {
|
||||
std::string DROPSHELL_DIR(const std::string &server_name);
|
||||
std::string services(const std::string &server_name);
|
||||
std::string service(const std::string &server_name, const std::string &service_name);
|
||||
std::string service_config(const std::string &server_name, const std::string &service_name);
|
||||
std::string service_template(const std::string &server_name, const std::string &service_name);
|
||||
std::string backups(const std::string &server_name);
|
||||
std::string temp_files(const std::string &server_name);
|
||||
std::string agent(const std::string &server_name);
|
||||
} // namespace remotepath
|
||||
class remotepath {
|
||||
public:
|
||||
remotepath(const std::string &server_name, const std::string &user);
|
||||
std::string DROPSHELL_DIR() const;
|
||||
std::string services() const;
|
||||
std::string service(const std::string &service_name) const;
|
||||
std::string service_config(const std::string &service_name) const;
|
||||
std::string service_template(const std::string &service_name) const;
|
||||
std::string backups() const;
|
||||
std::string temp_files() const;
|
||||
std::string agent() const;
|
||||
private:
|
||||
std::string mServer_name;
|
||||
std::string mUser;
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------------------------
|
||||
// utility functions
|
||||
|
Reference in New Issue
Block a user