Commit Graph

259 Commits (1e461110e6f4d5b70aeefa5979a00c276dbcf7ae)

Author SHA1 Message Date
Brian Shumate f499584c38
API: Add struct fields, fixes #2882
8 years ago
James Phillips 08f81ebddb
Moves operator sub-functions into their own files.
8 years ago
Kyle Havlovitz da9c825592
Add CLI/API endpoints for removing peer by ID
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
Kyle Havlovitz 390f41d8d5
Add advanced autopilot features
8 years ago
James Phillips 3f3889022e
Tweaks the agent leave test to patch an occasional local failure.
8 years ago
James Phillips 7d011d7d77
Adds missing area API.
8 years ago
James Phillips e91377fa26
Cleans up based on review feedback.
8 years ago
James Phillips 3a0739cdfc
Tweaks the join response to be more useful.
8 years ago
James Phillips 79e192fd07
Adds public API for the network area endpoints.
8 years ago
James Phillips 472f1bd63e
Adds router into RPC paths with work in progress on coordinates.
8 years ago
Kyle Havlovitz 5353221666
Reorganized cluster health check loop and logic
8 years ago
Kyle Havlovitz 51b11cd344
Fix an issue with changing server IDs and add a few UX enhancements around autopilot features
8 years ago
Kyle Havlovitz 9b4497de09
Cleaned up and reorganized some autopilot-related code
8 years ago
Kyle Havlovitz 2eefe3ca5b
Add autopilot server health tracking
8 years ago
Kyle Havlovitz 92c8b9c3a0
Rename DeadServerCleanup and make wording adjustments
8 years ago
Kyle Havlovitz c1f776c78b
Added operator autopilot subcommands
8 years ago
Kyle Havlovitz c2e7f45002
Add CAS capability to autopilot config endpoint
8 years ago
Kyle Havlovitz 1c24c5d8d6
Add docs and api client methods for autopilot config
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
James Phillips 585958746a
Lets the leave unit test proceed even after an EOF.
8 years ago
Kyle Havlovitz a55968f009
Merge branch 'master' into f-prepared-query-nodemeta
8 years ago
Kyle Havlovitz 3f3d7f9891
Add tests for node meta in prepared queries and update docs
8 years ago
James Phillips 6ca0173907
Adds catalog support for node IDs.
8 years ago
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
Kyle Havlovitz 5acd69b4fc
Add node metadata filtering to remaining health/catalog endpoints
8 years ago
Kyle Havlovitz 023b6533e0
Fix formatting
8 years ago
Kyle Havlovitz 87c0283bb1
Update client api and docs for node metadata
8 years ago
James Phillips 0ed6b1bb18
Bans anonymous queries that aren't tied to a session.
8 years ago
James Phillips 0282dd908a Merge pull request #2531 from alicebob/txntypes
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Seth Vargo f7958983e4
Return the correct type
8 years ago
Seth Vargo 7520ce2d49 Merge pull request #2544 from hashicorp/sethvargo/best_status
8 years ago
James Phillips d079e62d57 Merge pull request #2530 from coffeehc/master
8 years ago
Seth Vargo 190249424b
Do not log
8 years ago
Seth Vargo 4179aacf11
Add an API method for determining the best status
8 years ago
Kyle Havlovitz 8079c49c0a Add QueryOptions to api package's monitor
8 years ago
Kyle Havlovitz 124f907063 Add monitor http endpoint
8 years ago
Harmen 92b2369f82 fix KVOp types
8 years ago
James Phillips a5baa091c8
Runs `go fmt`.
8 years ago
Kyle Havlovitz dcdadd012f Fix keyring doc method wording
8 years ago
Kyle Havlovitz 6bd65c668b Combine keyring endpoints into one
8 years ago
Kyle Havlovitz dd3368c19e Add keyring http endpoints
8 years ago
coffee a5e08845c2 adapt to server's checker field TLSSkipVerify type
8 years ago
James Phillips 6ce295e0de Merge pull request #2366 from aksentyev/master
8 years ago
James Phillips ad25acaf6a Moves index fields to the bottom of the structure.
8 years ago
James Phillips 9a81d402b7
Adds notes field to API.
8 years ago
James Phillips c744792fc4 Merge pull request #2238 from hasyimibhar/master
8 years ago
Kyle Havlovitz 8c3db1c5c6 Trim leading slash on key to avoid redirect (golang/go#4800) (#2476)
8 years ago
Kyle McCullough 73b281a27c Add setting to skip ssl certificate verification for HTTP checks (#1984)
8 years ago
Mike Cowgill cbf2874464 Delete prepared query using WriteOptions (#2417)
8 years ago
Kyle Havlovitz dce6702268 More flaky unit test fixes (#2449)
8 years ago
James Phillips c01a3871c9 Adds support for snapshots and restores. (#2396)
8 years ago
Kyle Havlovitz f6c971f46c Fix race condition in TestClient_WatchList and TestClient_WatchGet
8 years ago
James Phillips 554c898338 Merge pull request #2382 from zaunerc/master
8 years ago
James Phillips 556ffc588b Adds comment about SessionOpts.
8 years ago
James Phillips 25455c97c3 Merge pull request #2372 from HotelsDotCom/flexible-lock-sessions
8 years ago
Christoph Zauner faf85f602b Add info about return values for function Get().
8 years ago
Maxim Ivanov 2ed58a2747 More flexible Session configuration when using api.Lock
8 years ago
aksentyev 4f96fa0aea CreateIndex, ModifyIndex added for CatalogService
8 years ago
Seth Vargo 40de5858d3
Fix typo
8 years ago
Seth Vargo 55f1b4ac44
Rename session name to session ID
8 years ago
Seth Vargo 12e46503f7
Update ModifyIndex comment
8 years ago
Seth Vargo 227019ec59
Add documentation to KVPair
8 years ago
James Phillips 84e8fc5848
Removes Raft types from public API interface.
8 years ago
James Phillips 3c9188c38b
Makes the Raft configuration API easier to consume.
8 years ago
James Phillips 0558b9c44b
Fixes a stale comment.
8 years ago
James Phillips e5850d8a26
Adds new consul operator endpoint, CLI, and ACL and some basic Raft commands.
8 years ago
James Phillips defa2a6180 Merge pull request #2226 from abhinavdahiya/rm-health-unknown
8 years ago
James Phillips 4c7a0ed3b0
Merge branch 'master' into f-deregister-critical
8 years ago
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
8 years ago
James Phillips 1d5eb36689
Adds missing TaggedAddress structures to API client.
8 years ago
James Phillips 231f5a957f
Fixes a typo and adds an admonition about only being in Consul 0.7+.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
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
Abhinav Dahiya 7c6c3b38bc Fixes #1775; Removes 'unknown' state
8 years ago
Ryan Uber 499537addf api: add query templates
9 years ago
Ryan Uber 72b43eba26 api: add Near parameter to PQ's
9 years ago
James Phillips 778b975e7a Adds a get-tree verb to KV transaction operations.
9 years ago
James Phillips a37bf9de56 Adds a read-only optimized path for transactions.
9 years ago
James Phillips 04d99cd702 Makes get fail a transaction if the key doesn't exist.
9 years ago
James Phillips 4882a9fe43 De-nests the KV output structure (removes DirEnt member).
9 years ago
James Phillips 960b9d6fb6 Switches to "KV" instead of "KV" for the KV operations.
9 years ago
James Phillips 38d0f6676f Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops.
9 years ago
James Phillips 69f58ad04a Moves txn code into a new endpoint, not specific to KV.
9 years ago
James Phillips 44ab1aa418 Adds type for API ops and an example transaction.
9 years ago
James Phillips e491245062 Performs basic plumbing of KVS transactions through all the layers.
9 years ago
Sean Chittenden 4255a0826d Correct a small typo
9 years ago
Sean Chittenden f1873c21d7 consul/ uses structs.Health*, the api uses api.Health*
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
James Phillips 3340d7ccd7 Merge pull request #1876 from hashicorp/f-tls-helper
9 years ago
James Phillips 0eb6279c5e Improves the comment for the Address field.
9 years ago
Diptanu Choudhury 4811a72d80 Added some constants in the api for check health statuses
9 years ago
James Phillips 1cfed981b3 Adds TLS config helper to API client.
9 years ago