aboutsummaryrefslogtreecommitdiff
path: root/account.go
Commit message (Collapse)AuthorAgeFilesLines
* document non-threadsafetyStefan Majewsky2020-10-141-0/+9
|
* Fix typoMuhammad Talal Anwar2020-04-131-1/+1
|
* make the IsEqualTo() methods publicStefan Majewsky2018-05-301-1/+2
|
* proof-read documentationStefan Majewsky2018-05-031-2/+4
|
* add Account.isEqualTo, Container.isEqualToStefan Majewsky2018-04-271-0/+4
|
* s/project name/project ID/Stefan Majewsky2018-04-271-2/+2
|
* revamp the Headers APIStefan Majewsky2018-03-111-12/+7
| | | | | | | | | | | | | | | | | | 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.
* fix URL computation in Account.Capabilties()Stefan Majewsky2018-03-081-8/+1
|
* add struct Capabilities, Account.{,Raw}CapabilitiesStefan Majewsky2018-02-261-0/+50
|
* reorganize codeStefan Majewsky2018-02-191-23/+14
| | | | | | * Gophercloud dependencies move into subpackage gopherschwift. * Tests move into subpackage tests (to avoid import cycles). + Rename "Client" to "Backend".
* introduce Client interfaceStefan Majewsky2018-02-191-13/+19
|
* ensure that response body is drainedStefan Majewsky2018-02-111-0/+1
|
* sketch out the initial Object APIStefan Majewsky2018-02-101-0/+2
|
* implement container listingStefan Majewsky2018-02-071-1/+21
| | | | Tests will follow sometime later this week.
* switch from reflection to code generationStefan Majewsky2018-02-071-6/+3
| | | | | | 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-0/+2
|
* redesign the header APIStefan Majewsky2018-02-051-10/+13
| | | | | | 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-12/+24
|
* implement compileHeadersStefan Majewsky2018-01-301-1/+1
| | | | Test is still failing though...
* finalize Account.Post() design, add initial account testsStefan Majewsky2018-01-301-4/+11
| | | | Failing right now because compileHeaders() is a stub.
* lay down the full Account APIStefan Majewsky2018-01-291-43/+26
|
* sketch out how requests could workStefan Majewsky2018-01-281-0/+58
|
* add Account, package docsStefan Majewsky2018-01-261-0/+89