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);
 }
 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);
 }
Example #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;
 }
Example #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;
 }
        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);
        }
        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);
        }
Example #7
0
 public Ssh(IBoshConfig config) : base(config)
 {
 }
Example #8
0
 public State(IBoshConfig config) : base(config)
 {
 }
 public PrepareNetworkChange(IBoshConfig config) : base(config)
 {
 }
 public PrepareNetworkChange(IBoshConfig config)
     : base(config)
 {
 }
Example #11
0
 public Ping(IBoshConfig config)
     : base(config)
 {
 }
Example #12
0
 public FetchLogs(IBoshConfig config)
     : base(config)
 {
 }
Example #13
0
 public Stop(IBoshConfig config) : base(config)
 {
 }
Example #14
0
 public Stop(IBoshConfig config)
     : base(config)
 {
 }
Example #15
0
 public Apply(IBoshConfig config) : base(config)
 {
 }
Example #16
0
 public Shutdown(IBoshConfig config)
     : base(config)
 {
 }
Example #17
0
 public Ssh(IBoshConfig config)
     : base(config)
 {
 }
Example #18
0
 public BlobstoreClientFactory(ILog log, IBoshConfig config)
 {
     this.log    = log;
     this.config = config;
 }
Example #19
0
 public Drain(IBoshConfig config, INatsClient nats)
     : base(config)
 {
     this.nats = nats;
 }
Example #20
0
 public Drain(IBoshConfig config, INatsClient nats)
     : base(config)
 {
     this.nats = nats;
 }
Example #21
0
 public MigrateDisk(IBoshConfig config) : base(config)
 {
 }
Example #22
0
 public MigrateDisk(IBoshConfig config)
     : base(config)
 {
 }
Example #23
0
 public FetchLogs(IBoshConfig config) : base(config)
 {
 }
Example #24
0
 public Shutdown(IBoshConfig config) : base(config)
 {
 }
Example #25
0
 public GetTask(IBoshConfig config) : base(config)
 {
 }
Example #26
0
 public Apply(IBoshConfig config)
     : base(config)
 {
 }
Example #27
0
 public Noop(IBoshConfig config)
     : base(config)
 {
 }
Example #28
0
 public BaseMessageHandler(IBoshConfig config)
 {
     this.config = config;
 }
Example #29
0
 public Noop(IBoshConfig config) : base(config)
 {
 }
Example #30
0
 public State(IBoshConfig config)
     : base(config)
 {
 }
Example #31
0
 public Start(IBoshConfig config)
     : base(config)
 {
 }
Example #32
0
 public Ping(IBoshConfig config) : base(config)
 {
 }
 public BaseMessageHandler(IBoshConfig config)
 {
     this.config = config;
 }
Example #34
0
 public MountDisk(IBoshConfig config)
     : base(config)
 {
 }
Example #35
0
 public ListDisk(IBoshConfig config) : base(config)
 {
 }
Example #36
0
 public Start(IBoshConfig config) : base(config)
 {
 }
Example #37
0
 public ListDisk(IBoshConfig config)
     : base(config)
 {
 }
Example #38
0
 public MountDisk(IBoshConfig config) : base(config)
 {
 }
Example #39
0
 public GetTask(IBoshConfig config)
     : base(config)
 {
 }