aboutsummaryrefslogtreecommitdiff
path: root/container_iterator.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix gophercloud lint complainsSandro Jäckel2024-07-011-9/+9
|
* Fix linting errorsSandro Jäckel2022-10-281-1/+1
|
* Format with go 1.19Sandro Jäckel2022-10-261-31/+31
|
* proof-read documentationStefan Majewsky2018-05-031-2/+2
|
* revamp the Headers APIStefan Majewsky2018-03-111-3/+1
| | | | | | | | | | | | | | | | | | 1. Move common methods of AccountHeaders, ContainerHeaders, ObjectHeaders into a base type Headers. 2. Fold Headers into RequestOptions to remove one of the two optional arguments on request methods. The new Headers.ToOpts() method offers a nice experience for users passing Headers to request methods. The Update() methods keep the explicit Headers argument since the Headers argument is not optional there. The only downside is that we lose a bit of type-safety because RequestOptions takes any Headers instance, so e.g. ContainerHeaders could be passed to Object.Upload(). I believe the benefits outweigh this problem.
* add Container.Objects(), type ObjectIteratorStefan Majewsky2018-02-171-1/+1
|
* prepare ContainerIterator for sharing code with ObjectIteratorStefan Majewsky2018-02-161-92/+27
|
* add tests for container iteratorStefan Majewsky2018-02-101-21/+28
|
* implement container listingStefan Majewsky2018-02-071-0/+267
Tests will follow sometime later this week.