Commit Graph

65 Commits (aa1519c9f716f1e1075cfd95de88206fa759fcab)

Author SHA1 Message Date
Frank Schroeder 3865f14a25
agent: simplify agent creation
8 years ago
Frank Schroeder 82650f73e3
agent: move http/dns endpoints into agent
8 years ago
Frank Schroeder 8ad66f4bea
agent: support custom check id and name
8 years ago
Frank Schroeder ad40a855bd agent: move isAddrANY to separate package
8 years ago
Frank Schroeder e2c37b47ee agent: Replace client/server with delegate interface
8 years ago
Frank Schroeder 8ad52ee9b5
agent: Disallow :: and [::] as service address
8 years ago
Frank Schroeder 73a31b9bfe
agent: Disallow 0.0.0.0 as service address
8 years ago
Frank Schroeder 84d6ac2d51 api: Return empty list instead of nil
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Frank Schroeder d7e23857ad golint: No stutter
8 years ago
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs
8 years ago
Frank Schroeder 5a3961f31f golint: Replace a += 1 with a++
8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants
8 years ago
Frank Schroeder ee5b06a231 Use fmt.Fprint/Fprintf/Fprintln
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
Kyle Havlovitz 52d6fd831e
Add support for setting node metadata fields
8 years ago
James Phillips 03f40116f4
Adds complete ACL coverage for non-utility agent endpoints.
8 years ago
James Phillips 01b6766099
Adds complete ACL support for agent utility endpoints.
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Kyle Havlovitz 338e36cc5d Add logWriter to agent Create() method
8 years ago
Kyle Havlovitz 124f907063 Add monitor http endpoint
8 years ago
James Phillips a48463f100
Removed bad error message for health check status.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
James Phillips bd5e5bf19c Adds consul info data into /v1/agent/self endpoint.
8 years ago
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`."
9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
James Phillips f46fa33278 Tweaks formatting of inline output messages.
9 years ago
James Phillips 7ebad899da Adds a new PUT-based TTL check update endpoint.
9 years ago
Ryan Slade dd98602bd7 Updated invalid check error message.
9 years ago
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2.
9 years ago
James Phillips f9da231a1c Adds coordinate of agent to self endpoint.
9 years ago
Ryan Uber 125d7fd4ee agent: thread tokens through for maintenance mode
9 years ago
Armon Dadgar 8d86290ebf Fixing merge conflict
10 years ago
Ryan Uber 2b62f2f172 agent: use an additional parameter for passing tokens
10 years ago
Ryan Uber 442933650e agent: safer read methods for tokens
10 years ago
Ryan Uber bebb5d9641 agent: add service/check token methods to reduce invasiveness
10 years ago
Ryan Uber bfb27d18cd agent: initial pass threading through tokens for services/checks
10 years ago
Ryan Mills 275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
10 years ago
Ryan Uber 6ce6d2d806 agent: write API's on /v1/agent block for anti-entropy
10 years ago
Ryan Uber 8b0fe52be2 agent/http: fix service registration with nil checks value
10 years ago
Ryan Uber 61d17e65f5 agent: prevent duplicate error messages for maintenance api
10 years ago
Ryan Uber f00b5b542e agent: support passing ?reason= for custom notes field values on maintenance checks
10 years ago
Ryan Uber 9c69dc05fb agent: use strconv.ParseBool for parsing maintenance enable flag
10 years ago
Ryan Uber 2a7211cd5d agent: support adding multiple checks during service registration from the API
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
10 years ago
Ryan Uber 7748c62d09 agent: node maintenance mode works
10 years ago
Ryan Uber 9ee1e6e858 agent: maintenance mode api's are idempotent
10 years ago
Ryan Uber 35c10a902f agent: test http endpoints for maintenance mode
10 years ago