aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add DeleteOptions to Object.Delete()Stefan Majewsky2018-04-306-13/+129
|
* initial support for large objectsStefan Majewsky2018-04-3016-10/+1522
| | | | | | | | | | | | This has gone through a lot of iterations on my branch, and I'm quite happy with the parts of the API that exist now. Test coverage can still be better, and will get better in the following commits. The API is not yet finished: I want to add Options arguments to Object.Upload(), Object.Copy(), Object.Move() and Object.Delete() that specify how each of these operations affect existing segments (and, later, also existing symlinks). For Upload(), uploading in segments shall become as easy as flipping a single switch.
* update documentation with new Gophercloud best practicesStefan Majewsky2018-04-293-16/+65
|
* tryCompute{ContentLength, Etag}: add special cases for strings.Reader, nilStefan Majewsky2018-04-272-10/+31
|
* fix tests for Swift QueensStefan Majewsky2018-04-271-3/+5
|
* add Account.isEqualTo, Container.isEqualToStefan Majewsky2018-04-273-4/+10
|
* s/project name/project ID/Stefan Majewsky2018-04-271-2/+2
|
* revamp the Headers APIStefan Majewsky2018-03-1127-385/+335
| | | | | | | | | | | | | | | | | | 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-094-41/+330
|
* generalize BulkUploadError into BulkErrorStefan Majewsky2018-03-084-23/+25
| | | | For use in Account.BulkDelete().
* add Account.BulkUpload(), BulkUploadError, BulkObjectErrorStefan Majewsky2018-03-083-0/+337
|
* fix URL computation in Account.Capabilties()Stefan Majewsky2018-03-081-8/+1
|
* fix a panic in the error case of Object.Download()Stefan Majewsky2018-03-081-1/+3
|
* add struct Capabilities, Account.{,Raw}CapabilitiesStefan Majewsky2018-02-262-0/+137
|
* add Object.Copy() and Object.Move()Stefan Majewsky2018-02-212-31/+105
|
* reorganize codeStefan Majewsky2018-02-1920-221/+345
| | | | | | * Gophercloud dependencies move into subpackage gopherschwift. * Tests move into subpackage tests (to avoid import cycles). + Rename "Client" to "Backend".
* introduce Client interfaceStefan Majewsky2018-02-196-72/+124
|
* test coverage for object upload, download, metadata updateStefan Majewsky2018-02-195-12/+181
|
* replace expectError by expectSuccess where possibleStefan Majewsky2018-02-196-45/+42
|
* add Object.Download(), DownloadedObjectStefan Majewsky2018-02-192-1/+114
|
* initialize .Headers on accounts/containers during GET requestsStefan Majewsky2018-02-194-2/+47
|
* remove old cruftStefan Majewsky2018-02-171-14/+0
|
* add test for FieldHTTPTimeReadonlyStefan Majewsky2018-02-172-2/+40
|
* generalize cleanup phase of object testStefan Majewsky2018-02-172-10/+6
|
* add Container.Objects(), type ObjectIteratorStefan Majewsky2018-02-176-2/+426
|
* Object.upload: generate, validate Content-Length and EtagStefan Majewsky2018-02-163-6/+91
|
* make govet happyStefan Majewsky2018-02-161-7/+10
|
* from the surprising-oversights dept.Stefan Majewsky2018-02-161-3/+4
|
* add object lifecycle testcaseStefan Majewsky2018-02-163-6/+69
|
* add useProxy() helper function for testsStefan Majewsky2018-02-161-0/+19
|
* fix docStefan Majewsky2018-02-162-16/+12
|
* prepare ContainerIterator for sharing code with ObjectIteratorStefan Majewsky2018-02-162-92/+163
|
* ensure that response body is drainedStefan Majewsky2018-02-114-1/+12
|
* sketch out the initial Object APIStefan Majewsky2018-02-104-5/+191
|
* add tests for container iteratorStefan Majewsky2018-02-104-27/+208
|
* add ObjectHeadersStefan Majewsky2018-02-087-52/+287
|
* adjust example for current APIStefan Majewsky2018-02-071-7/+9
|
* implement container listingStefan Majewsky2018-02-073-6/+305
| | | | Tests will follow sometime later this week.
* more detailed coverage reportingStefan Majewsky2018-02-071-1/+1
|
* increase test coverageStefan Majewsky2018-02-077-63/+285
|
* finish moving towards new auto-generated Headers implementationStefan Majewsky2018-02-0712-578/+273
| | | | | Everything in one package once more. The bigger API in *this* package is worth it when we don't have to expose guts to cross package boundaries.
* switch from reflection to code generationStefan Majewsky2018-02-0711-203/+625
| | | | | | 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.
* cleanupStefan Majewsky2018-02-061-2/+2
|
* compactify readme examplesStefan Majewsky2018-02-061-13/+1
|
* rewrite the comparison part of the README to be more positiveStefan Majewsky2018-02-051-27/+36
|
* link to GodocStefan Majewsky2018-02-051-0/+2
|
* add type-safe accessors for most container headersStefan Majewsky2018-02-052-9/+96
|
* include subpackages in coverage testStefan Majewsky2018-02-051-1/+1
|
* start-saio.sh: set permissions correctly on first startupStefan Majewsky2018-02-051-1/+9
|
* apparently having a private member is not enoughStefan Majewsky2018-02-053-3/+37
|