Commit Graph

9 Commits

Author SHA1 Message Date
Collin Shoop 1f3cbb437c
registry: Add ListManfiests and ListRepositoriesV2 api endpoint support + Token pagination (#501)
* registry: Added ListRegistryManifests and ListRepositoriesV2

* Updated README with toke pagination example

* Updated README with toke pagination example

* Renamed links helper to be more descriptive

* Added link page token tests

* registry: Removed unnecessary links/meta assignment

* registry: Fix links/meta assignment

Co-authored-by: Collin Shoop <cshoop@digitalocean.com>
2021-12-03 10:07:08 -05:00
Austin b0daa30c34 update isLast to check p.Next 2019-10-17 19:08:28 -07:00
Iheanyi Ekechukwu e6249e5059 Remove support for Go 1.6 (#166)
* Move DoRequest* to godo package with stdlib context

* Use stdlib context package in place of godo context.

* Remove Go 1.6 from TravisCI configuration.

* Use stdlib context in util and tests instead of godo context.

* Add in Go 1.8, 1.9, and 1.10 to TravisCI configuration.

* Put 1.10 in quotes.
2018-05-08 16:24:29 -04:00
akutz 8ed9e9ea6c Portable Go Context Usage
This patch updates the godo package to use a portable Go context -- a
Context that works with Go versions prior to Go 1.7 as well as Go 1.7
and onwards.
2017-04-07 15:32:33 -05:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05:00
Term1nal b814e84f48 make linters happy 2016-12-20 16:00:17 -08:00
bryanl de59235b17 updating documentation for godo 2015-06-01 13:34:27 -04:00
bryanl b335d2a1ba If pages are empty, assume we are on last 2014-10-16 09:35:23 -04:00
bryanl 96accbf5e9 Update to current API spec
* Allow requesting pages in lists by number
* Add tooling to allow examination of page links if they exist
* Add domain management CRUD
2014-09-08 20:36:11 -04:00