fleet/server/datastore
Mike Arpaia 704ddd424b Host summary endpoint (#742)
* Initial scaffolding of the host summary endpoint

* inmem datastore implementation of GenerateHostStatusStatistics

* HostSummary docstring

* changing the url of the host summary endpoint

* datastore tests for GenerateHostStatusStatistics

* MySQL datastore implementation of GenerateHostStatusStatistics

* <= and >= to catch exact time edge case

* removing clock interface method

* lowercase error wraps

* removin superfluous whitespace

* use updated_at

* adding a seen_at column to the hosts table

* moving the update of seen_time to the caller

* using db.Get instead of db.Select
2017-01-04 14:16:17 -07:00
..
inmem Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
internal/appstate Osquery options 365 (#657) 2016-12-29 12:32:28 -06:00
mysql Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_app_test.go App Settings - /admin/settings #363 (#590) 2016-12-20 15:54:30 -06:00
datastore_campaigns_test.go Moving query attributes from the query object to the pack-query relationship (#559) 2016-12-13 14:22:05 -08:00
datastore_hosts_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_invites_test.go consolidate delete operations in mysql store (#746) 2017-01-04 13:18:21 -05:00
datastore_labels_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_options_test.go Osquery Options - /config/osquery-options #365 (#729) 2016-12-31 11:56:54 -06:00
datastore_packs_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_password_reset_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_queries_test.go consolidate delete operations in mysql store (#746) 2017-01-04 13:18:21 -05:00
datastore_scheduled_queries_test.go Return query and name after creating a scheduled query (#690) 2016-12-22 14:29:29 -05:00
datastore_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_users_test.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
inmem_test.go Added built in labels (#526) 2016-11-26 02:08:22 +08:00
mysql_test.go MySQL's datastore.Drop should drop all tables (#738) 2017-01-03 09:54:24 -07:00