Exemplo n.º 1
0
 public ProxyClient(IHttpClientFactory clientFactory, IConfiguration config, IMemoryCache cache, ILogger <ProxyClient> logger,
                    ConnectionLogService connectionLog, DockerJsonSerializer dockerSerializer)
 {
     this.clientFactory    = clientFactory;
     this.config           = config;
     this.cache            = cache;
     this.logger           = logger;
     this.connectionLog    = connectionLog;
     this.dockerSerializer = dockerSerializer;
 }
Exemplo n.º 2
0
 public NodeUpdaterService(
     ILogger <NodeUpdaterService> logger,
     SuperComposeContext ctx,
     IConnectionMultiplexer multiplexer,
     ConnectionService connectionService,
     CryptoService cryptoService,
     ConnectionLogService connectionLog,
     ProxyClient proxyClient,
     IDistributedCache cache
     )
 {
     this.logger        = logger;
     this.ctx           = ctx;
     this.multiplexer   = multiplexer;
     this.cryptoService = cryptoService;
     this.connectionLog = connectionLog;
     this.proxyClient   = proxyClient;
     this.cache         = cache;
 }
Exemplo n.º 3
0
 public NodeAgentService(
     IDbContextFactory <SuperComposeContext> ctxFactory,
     ConnectionService connService,
     CryptoService cryptoService,
     ILogger <NodeAgentService> logger,
     PubSubService pubSub,
     ConnectionLogService connectionLog,
     ProxyClient proxyClient,
     NodeService nodeService
     )
 {
     this.ctxFactory    = ctxFactory;
     this.connService   = connService;
     this.cryptoService = cryptoService;
     this.logger        = logger;
     this.pubSub        = pubSub;
     this.connectionLog = connectionLog;
     this.proxyClient   = proxyClient;
     this.nodeService   = nodeService;
 }