2024-03-27 11:02:34 +00:00
|
|
|
#ifndef XRAY_CONFIGURATOR_H
|
|
|
|
|
#define XRAY_CONFIGURATOR_H
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
|
|
#include "configurator_base.h"
|
|
|
|
|
#include "core/defs.h"
|
|
|
|
|
|
2024-04-01 20:20:02 +07:00
|
|
|
class XrayConfigurator : public ConfiguratorBase
|
2024-03-27 11:02:34 +00:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
XrayConfigurator(std::shared_ptr<Settings> settings, QObject *parent = nullptr);
|
|
|
|
|
|
2024-04-01 20:20:02 +07:00
|
|
|
QString createConfig(const ServerCredentials &credentials, DockerContainer container, const QJsonObject &containerConfig,
|
|
|
|
|
ErrorCode errorCode);
|
2024-03-27 11:02:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // XRAY_CONFIGURATOR_H
|