influxdb/mocks
Tim Raymond fcf325bbbe Add PaginatingKapacitorClient
The kapacitor client used in the kapacitor endpoints is limited to
fetching whatever limit you provide it. If you provide no limit, it
defaults to a limit of 100. We use this default behavior currently.

Some users have more than 100 tasks, so we need a client that's capable
of continually fetching tasks from Kapacitor until there are none left,
and returning the full response to the frontend.

This introduces a PaginatingKapacitorClient which does exactly that.
Also, test coverage was added around the KapacitorRulesGet endpoint,
since it was previously untested.
2017-08-15 16:55:47 -04:00
..
dashboards.go Enforce presence of "x", "y", and "y2" axes 2017-07-31 16:36:07 -04:00
kapacitor_client.go Add PaginatingKapacitorClient 2017-08-15 16:55:47 -04:00
logger.go Enforce presence of "x", "y", and "y2" axes 2017-07-31 16:36:07 -04:00
roles.go Add roles to chronograf 2017-02-23 16:02:53 -06:00
servers.go Add test for creating NewSources via server flag 2017-07-07 12:56:12 -07:00
sources.go Add tests to sources/users endpoints 2017-02-21 23:54:24 -06:00
timeseries.go Update schema for /permissions endpoint to have scopes 2017-02-27 13:31:38 -06:00
users.go Add tests to sources/users endpoints 2017-02-21 23:54:24 -06:00