Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync uber kraken to wish kraken #1

Merged
merged 11 commits into from
Jul 25, 2019
Merged

Sync uber kraken to wish kraken #1

merged 11 commits into from
Jul 25, 2019

Conversation

ThaoTrann
Copy link

No description provided.

rmalpani-uber and others added 11 commits June 17, 2019 13:16
+ Config example for GCS backend
+ Mock tests for GCS backend
* Add list options to client interface

* Add s3 pagination

* Add test for s3 client pagination

* Err out pagination on unsupported clients

* Eliminate duplicate code

* Pack names and continuation token into ListResult

* Use variadic functional options for list configuration

* Better default

* Fix typo
* Refactor s3 backend to use ListObjectsV2Pages

* Inline anon func

* Better unit test mocks

* Remove binary files

* Iterate pages until have maxkeys

* Review comments

* Only capture continuation token from last page

* Remove unnecessary token masking out
* Make S3 continuation token nil instead of empty string

* Update unit tests
* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml
+ Support pagination in list and listRespositories handler
+ Fix bug in gcsbackend pagination
+ Response for list with pagination
type ListResponse struct {
       Links struct {
               Next string `json:"next"`
               Self string `json:"self"`
       }
       Size   int      `json:"size"`
       Result []string `json:"result"`
}
Signed-off-by: peimingming <peimingming@corp.netease.com>
@ThaoTrann ThaoTrann merged commit 5df03d8 into wish:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants