open-consul/connect
Matt Keeler 2831c8993d
Move the watch package into the api module (#5664)
* Move the watch package into the api module

It was already just a thin wrapper around the API anyways. The biggest change was to the testing. Instead of using a test agent directly from the agent package it now uses the binary on the PATH just like the other API tests.

The other big changes were to fix up the connect based watch tests so that we didn’t need to pull in the connect package (and therefore all of Consul)
2019-04-26 12:33:01 -04:00
..
certgen Rework connect/proxy and command/connect/proxy. End to end demo working again 2018-06-14 09:41:57 -07:00
proxy Move the watch package into the api module (#5664) 2019-04-26 12:33:01 -04:00
example_test.go connect.Service based implementation after review feedback. 2018-06-14 09:41:56 -07:00
resolver.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
resolver_test.go Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
service.go Move the watch package into the api module (#5664) 2019-04-26 12:33:01 -04:00
service_test.go Add fmt and vet (#5671) 2019-04-25 12:26:33 -04:00
testing.go Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
tls.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
tls_test.go Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00