2021-04-04 23:12:36 +03:00
|
|
|
#ifndef CLOAK_CONFIGURATOR_H
|
|
|
|
|
#define CLOAK_CONFIGURATOR_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
2022-08-25 17:35:28 +03:00
|
|
|
#include "configurator_base.h"
|
2021-04-04 23:12:36 +03:00
|
|
|
|
2022-08-25 17:35:28 +03:00
|
|
|
using namespace amnezia;
|
|
|
|
|
|
2024-04-01 20:20:02 +07:00
|
|
|
class CloakConfigurator : public ConfiguratorBase
|
2021-04-04 23:12:36 +03:00
|
|
|
{
|
2022-08-25 17:35:28 +03:00
|
|
|
Q_OBJECT
|
2021-04-04 23:12:36 +03:00
|
|
|
public:
|
2024-04-12 20:00:21 +05:00
|
|
|
CloakConfigurator(std::shared_ptr<Settings> settings, const QSharedPointer<ServerController> &serverController, QObject *parent = nullptr);
|
2021-04-04 23:12:36 +03:00
|
|
|
|
2024-04-01 20:20:02 +07:00
|
|
|
QString createConfig(const ServerCredentials &credentials, DockerContainer container,
|
2024-05-09 20:56:52 +03:00
|
|
|
const QJsonObject &containerConfig, ErrorCode &errorCode);
|
2021-04-04 23:12:36 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CLOAK_CONFIGURATOR_H
|