Пример #1
0
 internal Status(ConsulClient c)
 {
     _client = c;
 }
Пример #2
0
 internal Health(ConsulClient c)
 {
     _client = c;
 }
Пример #3
0
 internal ACL(ConsulClient c)
 {
     _client = c;
 }
Пример #4
0
 internal Event(ConsulClient c)
 {
     _client = c;
 }
Пример #5
0
 internal Catalog(ConsulClient c)
 {
     _client = c;
 }
Пример #6
0
 internal Agent(ConsulClient c)
 {
     _client       = c;
     _nodeNameLock = new AsyncLock();
 }
Пример #7
0
 public KV(ConsulClient c)
 {
     _client = c;
 }
Пример #8
0
 internal PreparedQuery(ConsulClient c)
 {
     _client = c;
 }
Пример #9
0
 internal Lock(ConsulClient c)
 {
     _client = c;
     _cts    = new CancellationTokenSource();
 }
Пример #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;
 }
Пример #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;
 }
Пример #12
0
 internal Semaphore(ConsulClient c)
 {
     _client = c;
     _cts    = new CancellationTokenSource();
 }
Пример #13
0
 internal Coordinate(ConsulClient c)
 {
     _client = c;
 }
Пример #14
0
 internal Session(ConsulClient c)
 {
     _client = c;
 }
Пример #15
0
 internal Raw(ConsulClient c)
 {
     _client = c;
 }