Commit Graph

106 Commits (bd136d12dc5746b876b0177f336feec8b0b9c4c5)

Author SHA1 Message Date
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Paul Banks 36dbd878c9
Adds `api` client code and tests for new Proxy Config endpoint, registering with proxy and seeing proxy config in /agent/services list.
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Anubhav Mishra 0813175340
fix typo
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
Ryan Slade 85e4aea9d1 Replace time.Now().Sub(x) with time.Since(x)
7 years ago
James Bardin fea32fb7d7 retry locks on network errors (#3553)
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Kyle Havlovitz 2ada0439d4
Add rpc_listener option to segment config
7 years ago
Illirgway e0cc1ce679 Fix bug with unused (replaced with "") CONSUL_HTTP_AUTH in some places
7 years ago
James Phillips 8d0a048408 Expands and rework context support in the API client. (#3273)
7 years ago
Preetha Appan 9eaf56bfe3 Fix socket file handle leaks from old blocking queries upon consul reload. This fixes issue #3018
8 years ago
James Phillips 3baa703d02 Merge pull request #3077 from jwasinger/issue-2850
8 years ago
Jared Wasinger d2ef61d079 Prevent Session.Destroy from leaving open TCP connections
8 years ago
Kyle Havlovitz 4e44db87e3
Don't overwrite Transport's TLS config if it's been set
8 years ago
Kyle Havlovitz 04f1ff78f8 Remove superfluous default HttpClient check in NewClient
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Kyle Havlovitz c6d0b4cf90 Make the API client's httpClient more pluggable (#2926)
8 years ago
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli
8 years ago
Jeff Mitchell 44733caf5c Update unix dial functions to use DialContext with new go-cleanhttp
8 years ago
Kyle Havlovitz c9abafab92
Update docs and give better error for unknown client scheme
8 years ago
Kyle Havlovitz a7a6ee9f4c
Allow prefixing -http-addr with http/https schemes
8 years ago
Kyle Havlovitz bad037fb58
Cleanup and formatting adjustments
8 years ago
Kyle Havlovitz abdf1fbab3
Convert keyring command to use base.Command
8 years ago
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata
8 years ago
James Phillips c744792fc4 Merge pull request #2238 from hasyimibhar/master
8 years ago
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
8 years ago
Hasyimi Bahrudin 105cea9bae Add api environment variables as constants for consistency
8 years ago
Hasyimi Bahrudin bb6bb19aad Remove redundant hardcoded environment variables
8 years ago
Jeff Mitchell f1a67836d8 Use header to send Consul token rather than query param.
8 years ago
James Phillips 0eb6279c5e Improves the comment for the Address field.
9 years ago
James Phillips 1cfed981b3 Adds TLS config helper to API client.
9 years ago
James Phillips abacccd6e5 Switches default for API client to pooled connections.
9 years ago
James Phillips 58fb27e70f Factors server error checking into a new function.
9 years ago
James Phillips c048c5aca6 Makes the API behave better with small wait values.
9 years ago
James Phillips ebff3fe0d0 Builds the insecure SSL transport off the clean default transport.
9 years ago
Jeff Mitchell 4604af6aa5 Revert "Adds client and transport pooling in the API so we don't leak connections."
9 years ago
James Phillips f6546a0e46 Makes the insecure transport work like the default one.
9 years ago
James Phillips d57e60a123 Adds client and transport pooling in the API so we don't leak connections.
9 years ago
James Phillips 787f946f8d Adds support for coordinates to client API.
9 years ago
Jeff Mitchell 1e3840b044 Update cleanhttp repo location
9 years ago
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport
9 years ago
Jeff Mitchell f49fc095ef Don't use http.DefaultClient
9 years ago
Dale Wijnand 5a28ebcaa3 Fix a bunch of typos.
9 years ago
Seth Vargo b4f8c98fbb Read select environment variables when generating the default configuration
10 years ago
Armon Dadgar 5f627fca1b api: Refactoring into shared write logic
10 years ago
Armon Dadgar c0c9fb58ce api: Refactoring into shared query logic
10 years ago
Ryan Uber b30af9536d Merge pull request #608 from imkira/fixBodyLeak
10 years ago
Mário Freitas f45105383c fixed: requireOK should close Body on error
10 years ago
Ryan Uber 4675cdf01c agent: beginning refactor
10 years ago
Jeff Mitchell 9fcea08dbb Ensure a socket is created for permissions adjustment tests and fix some
10 years ago
Jeff Mitchell 11a3ce0bdd RPC and HTTP interfaces fully generically-sockified so Unix is supported.
10 years ago
Ryan Uber 60ebd63760 Import HTTP basic auth patch from armon/consul-api#16
10 years ago
Ryan Uber 5555e0eb9b api: initial import from armon/consul-api
10 years ago