fleet/server/datastore/mysql
Victor Vrantchan 9d49dbc465 change the implementation of ErrNotFound and AlreadyExists to a struct type (#665)
with an exposed interface.

Not checking for a specific sentinel error reduces coupling between packages
and allows adding context like the resource ID and resource type.
2016-12-20 13:35:22 -05:00
..
migrations Moving query attributes from the query object to the pack-query relationship (#559) 2016-12-13 14:22:05 -08:00
app_configs.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
campaigns.go Add cleanup method for distributed queries and metadata (#547) 2016-12-01 10:31:16 -08:00
config.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
datastore.go Always return "All Hosts" label in targets unless selected (#637) 2016-12-14 18:27:22 -08:00
datastore_test.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
errors.go change the implementation of ErrNotFound and AlreadyExists to a struct type (#665) 2016-12-20 13:35:22 -05:00
hosts.go Fixes host detail updates with MySQL backend (#568) 2016-12-07 03:51:11 +08:00
invites.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
labels.go Fix parentheses in labels search SQL (#644) 2016-12-14 19:24:53 -08:00
packs.go Moving query attributes from the query object to the pack-query relationship (#559) 2016-12-13 14:22:05 -08:00
password_reset.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
queries.go Moving query attributes from the query object to the pack-query relationship (#559) 2016-12-13 14:22:05 -08:00
scheduled_queries.go Moving query attributes from the query object to the pack-query relationship (#559) 2016-12-13 14:22:05 -08:00
sessions.go Fixes for bugs in MySQL migration (#501) 2016-11-16 15:12:59 -08:00
users.go Fixes for bugs in MySQL migration (#501) 2016-11-16 15:12:59 -08:00