Example #1
0
 internal Status(ConsulClient c)
 {
     _client = c;
 }
Example #2
0
 internal Health(ConsulClient c)
 {
     _client = c;
 }
Example #3
0
 internal ACL(ConsulClient c)
 {
     _client = c;
 }
Example #4
0
 internal Event(ConsulClient c)
 {
     _client = c;
 }
Example #5
0
 internal Catalog(ConsulClient c)
 {
     _client = c;
 }
Example #6
0
 internal Agent(ConsulClient c)
 {
     _client       = c;
     _nodeNameLock = new AsyncLock();
 }
Example #7
0
File: KV.cs Project: stulzq/NConsul
 public KV(ConsulClient c)
 {
     _client = c;
 }
Example #8
0
 internal PreparedQuery(ConsulClient c)
 {
     _client = c;
 }
Example #9
0
 internal Lock(ConsulClient c)
 {
     _client = c;
     _cts    = new CancellationTokenSource();
 }
Example #10
0
 /// <summary>
 /// Operator can be used to perform low-level operator tasks for Consul.
 /// </summary>
 /// <param name="c"></param>
 internal Operator(ConsulClient c)
 {
     _client = c;
 }
Example #11
0
 /// <summary>
 /// Snapshot can be used to query the /v1/snapshot endpoint to take snapshots of
 /// Consul's internal state and restore snapshots for disaster recovery.
 /// </summary>
 /// <param name="c"></param>
 internal Snapshot(ConsulClient c)
 {
     _client = c;
 }
Example #12
0
 internal Semaphore(ConsulClient c)
 {
     _client = c;
     _cts    = new CancellationTokenSource();
 }
Example #13
0
 internal Coordinate(ConsulClient c)
 {
     _client = c;
 }
Example #14
0
 internal Session(ConsulClient c)
 {
     _client = c;
 }
Example #15
0
 internal Raw(ConsulClient c)
 {
     _client = c;
 }