public HeartbeatProcessor(ILog log, INatsClient natsClient, IBoshConfig config)
 {
     this.log         = log;
     this.natsClient  = natsClient;
     this.config      = config;
     this.actionTimer = new ActionTimer(log, config.HeartbeatInterval, this.Beat, false, false);
 }
Exemplo n.º 2
0
 public HeartbeatProcessor(ILog log, INatsClient natsClient, IBoshConfig config)
 {
     this.log = log;
     this.natsClient = natsClient;
     this.config = config;
     this.actionTimer = new ActionTimer(log, config.HeartbeatInterval, this.Beat, false, false);
 }
Exemplo n.º 3
0
 public BoshAgent(IContainer ioc, ILog log, INatsClient natsClient,
                  IBoshConfig config, IBlobstoreClientFactory blobstoreClientFactory)
 {
     this.ioc                    = ioc;
     this.log                    = log;
     this.natsClient             = natsClient;
     this.config                 = config;
     this.blobstoreClientFactory = blobstoreClientFactory;
 }
Exemplo n.º 4
0
 public BoshAgent(IContainer ioc, ILog log, INatsClient natsClient,
     IBoshConfig config, IBlobstoreClientFactory blobstoreClientFactory)
 {
     this.ioc = ioc;
     this.log = log;
     this.natsClient = natsClient;
     this.config = config;
     this.blobstoreClientFactory = blobstoreClientFactory;
 }
Exemplo n.º 5
0
        public CompilePackage(IBoshConfig config, ILog log, IBlobstoreClientFactory blobstoreClientFactory)
            : base(config)
        {
            dataDirPath = Path.Combine(config.BaseDir, "data");
            tmpDirPath = Path.Combine(dataDirPath, "tmp");
            Directory.CreateDirectory(tmpDirPath);
            logFilePath = Path.Combine(tmpDirPath, config.AgentID);
            compileBasePath = Path.Combine(dataDirPath, "compile");
            installBasePath = Path.Combine(dataDirPath, "packages");

            this.log = log;
            this.blobstoreClientFactory = blobstoreClientFactory;

            log.AddFileTarget(config.AgentID, logFilePath);
        }
Exemplo n.º 6
0
        public CompilePackage(IBoshConfig config, ILog log, IBlobstoreClientFactory blobstoreClientFactory)
            : base(config)
        {
            dataDirPath = Path.Combine(config.BaseDir, "data");
            tmpDirPath  = Path.Combine(dataDirPath, "tmp");
            Directory.CreateDirectory(tmpDirPath);
            logFilePath     = Path.Combine(tmpDirPath, config.AgentID);
            compileBasePath = Path.Combine(dataDirPath, "compile");
            installBasePath = Path.Combine(dataDirPath, "packages");

            this.log = log;
            this.blobstoreClientFactory = blobstoreClientFactory;

            log.AddFileTarget(config.AgentID, logFilePath);
        }
Exemplo n.º 7
0
 public Ssh(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 8
0
 public State(IBoshConfig config) : base(config)
 {
 }
 public PrepareNetworkChange(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 10
0
 public PrepareNetworkChange(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 11
0
 public Ping(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 12
0
 public FetchLogs(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 13
0
 public Stop(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 14
0
 public Stop(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 15
0
 public Apply(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 16
0
 public Shutdown(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 17
0
 public Ssh(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 18
0
 public BlobstoreClientFactory(ILog log, IBoshConfig config)
 {
     this.log    = log;
     this.config = config;
 }
Exemplo n.º 19
0
 public Drain(IBoshConfig config, INatsClient nats)
     : base(config)
 {
     this.nats = nats;
 }
Exemplo n.º 20
0
 public Drain(IBoshConfig config, INatsClient nats)
     : base(config)
 {
     this.nats = nats;
 }
Exemplo n.º 21
0
 public MigrateDisk(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 22
0
 public MigrateDisk(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 23
0
 public FetchLogs(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 24
0
 public Shutdown(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 25
0
 public GetTask(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 26
0
 public Apply(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 27
0
 public Noop(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 28
0
 public BaseMessageHandler(IBoshConfig config)
 {
     this.config = config;
 }
Exemplo n.º 29
0
 public Noop(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 30
0
 public State(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 31
0
 public Start(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 32
0
 public Ping(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 33
0
 public BaseMessageHandler(IBoshConfig config)
 {
     this.config = config;
 }
Exemplo n.º 34
0
 public MountDisk(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 35
0
 public ListDisk(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 36
0
 public Start(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 37
0
 public ListDisk(IBoshConfig config)
     : base(config)
 {
 }
Exemplo n.º 38
0
 public MountDisk(IBoshConfig config) : base(config)
 {
 }
Exemplo n.º 39
0
 public GetTask(IBoshConfig config)
     : base(config)
 {
 }