aboutsummaryrefslogtreecommitdiff
path: root/tests/container_test.go
Commit message (Collapse)AuthorAgeFilesLines
* change module path to go.xyrillian.de/schwift/v2Stefan Majewsky2026-04-191-1/+1
|
* update module path for v2Stefan Majewsky2024-07-081-1/+1
|
* Remove context from struct, add ctx as first args to many functionsSandro Jäckel2024-07-011-10/+11
|
* fix autofixable lintsStefan Majewsky2024-07-011-2/+2
|
* add Method, Target to type UnexpectedStatusCodeErrorStefan Majewsky2023-10-231-2/+3
|
* Fix linting errorsSandro Jäckel2022-10-281-2/+0
|
* revamp the Headers APIStefan Majewsky2018-03-111-4/+4
| | | | | | | | | | | | | | | | | | 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 Account.BulkDelete()Stefan Majewsky2018-03-091-0/+8
|
* reorganize codeStefan Majewsky2018-02-191-0/+85
* Gophercloud dependencies move into subpackage gopherschwift. * Tests move into subpackage tests (to avoid import cycles). + Rename "Client" to "Backend".