aboutsummaryrefslogtreecommitdiff
path: root/container.go
Commit message (Collapse)AuthorAgeFilesLines
* Format with go 1.19Sandro Jäckel2022-10-261-48/+47
|
* document non-threadsafetyStefan Majewsky2020-10-141-0/+6
|
* add URL() method also to Container, not just to ObjectStefan Majewsky2018-06-071-0/+9
|
* make the IsEqualTo() methods publicStefan Majewsky2018-05-301-2/+3
|
* proof-read documentationStefan Majewsky2018-05-031-1/+3
|
* add Account.isEqualTo, Container.isEqualToStefan Majewsky2018-04-271-0/+4
|
* revamp the Headers APIStefan Majewsky2018-03-111-9/+6
| | | | | | | | | | | | | | | | | | 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.
* reorganize codeStefan Majewsky2018-02-191-5/+5
| | | | | | * Gophercloud dependencies move into subpackage gopherschwift. * Tests move into subpackage tests (to avoid import cycles). + Rename "Client" to "Backend".
* add Container.Objects(), type ObjectIteratorStefan Majewsky2018-02-171-0/+22
|
* ensure that response body is drainedStefan Majewsky2018-02-111-0/+2
|
* sketch out the initial Object APIStefan Majewsky2018-02-101-5/+5
|
* switch from reflection to code generationStefan Majewsky2018-02-071-15/+5
| | | | | | This allows me to make the API much simpler. More simplification forthcoming in the following commit; I just want to make a cut since `make test` is happy right now.
* apparently having a private member is not enoughStefan Majewsky2018-02-051-1/+10
|
* redesign the header APIStefan Majewsky2018-02-051-12/+16
| | | | | | I'm quite satisfied with this right now (though this doesn't say anything about how I feel about it tomorrow), but it's ugly that some guts (headers.Base) are exposed in the public API.
* add ContainerStefan Majewsky2018-02-041-0/+172