Commit Graph

3 Commits (8e9037e0819f840df03c92e994afce56c8f4139a)

Author SHA1 Message Date
Michael Desa 0d235f646d Generalize chronograf.UsersStore Get method
The `Get` method on the UsersStore was generalize by changing the second
parameter to a struct. This allows the Store to retrieve users by more
than simply their name.

-Get(ctx context.Context, name string) (*User, error)
+Get(ctx context.Context, q UserQuery) (*User, error)
2017-10-18 14:17:42 -04:00
Chris Goller 72dbae043f Add tests to sources/users endpoints 2017-02-21 23:54:24 -06:00
Chris Goller 083b8905ec Add mock usersstore.
Mocks are back!
2017-02-21 21:36:04 -06:00