storj/pkg/accounting
Jess G d51bdf14df
project usage limiting (#1561)
* reorg uplink cmd files for consistency

* init implementation of usage limiting

* Revert "reorg uplink cmd files for consistency"

This reverts commit 91ced7639bf36fc8af1db237b01e233ca92f1890.

* add changes per CR comments

* fix custom query to use rebind

* updates per convo about what to limit on

* changes per comments

* fix syntax and comments

* add integration test, add db methods for test

* update migration, add rebind to query

* update testdata for psql

* remove unneeded drop index statement

* fix migrations, fix calculate usage limit

* fix comment

* add audit test back

* change methods to use bucketName/projectID, fix tests

* add changes per CR comments

* add test for uplink upload and err ssg

* changes per CR comments

* check get/put limit separately
2019-04-02 11:21:18 -07:00
..
rollup project usage limiting (#1561) 2019-04-02 11:21:18 -07:00
tally record bucket data into bucket_storage_tally table (#1595) 2019-04-01 09:42:17 -04:00
bucketstats.go record bucket data into bucket_storage_tally table (#1595) 2019-04-01 09:42:17 -04:00
bucketusage_test.go Bucket usage info rollup table creation and implementation (#1340) 2019-03-06 17:54:48 +02:00
bucketusage.go project usage limiting (#1561) 2019-04-02 11:21:18 -07:00
common.go remove unused date field in csv row (#1388) 2019-03-01 08:23:27 -05:00
db.go project usage limiting (#1561) 2019-04-02 11:21:18 -07:00
projectusage_test.go project usage limiting (#1561) 2019-04-02 11:21:18 -07:00
projectusage.go project usage limiting (#1561) 2019-04-02 11:21:18 -07:00