| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | rename Object.UploadWithWriter to UploadFromWriter | Stefan Majewsky | 2021-05-28 | 2 | -7/+5 |
| | | |||||
| * | doc: extend usage example | Stefan Majewsky | 2021-05-28 | 2 | -1/+9 |
| | | |||||
| * | document non-threadsafety | Stefan Majewsky | 2020-10-14 | 3 | -0/+27 |
| | | |||||
| * | Merge pull request #10 from talal/typo | Stefan Majewsky | 2020-04-16 | 1 | -1/+1 |
| |\ | | | | | Fix typo | ||||
| | * | Fix typo | Muhammad Talal Anwar | 2020-04-13 | 1 | -1/+1 |
| |/ | |||||
| * | guard against Swift sending 100 status too early | Stefan Majewsky | 2020-02-24 | 1 | -0/+14 |
| | | |||||
| * | Merge pull request #9 from talal/master | Stefan Majewsky | 2018-09-06 | 3 | -22/+59 |
| |\ | | | | | add RequestOptions to LargeObject.Append() | ||||
| | * | add test for segment expiration | Muhammad Talal Anwar | 2018-09-06 | 1 | -4/+6 |
| | | | |||||
| | * | add test for large object expiration | Muhammad Talal Anwar | 2018-09-06 | 1 | -19/+54 |
| | | | |||||
| | * | add support for RequestOptions in lo.Append() | Muhammad Talal Anwar | 2018-09-06 | 1 | -2/+2 |
| | | | |||||
| | * | fix typo | Muhammad Talal Anwar | 2018-09-06 | 1 | -1/+1 |
| | | | |||||
| * | | goddammit macos | Stefan Majewsky | 2018-09-06 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #7 from databus23/patch-2 | Stefan Majewsky | 2018-09-03 | 1 | -9/+2 |
| |\ | | | | | Cover more readers for automatic etag calculation | ||||
| | * | Cover more readers for automatic tag calculation | Fabian Ruff | 2018-09-03 | 1 | -9/+2 |
| |/ | | | | | Not sure If I'm missing something but this seems more general (specifically it covers `*os.File` which doesn't have a `WriteTo` method). Note: This is untested. Just putting it up for discussion. | ||||
| * | fix obvious crash | Stefan Majewsky | 2018-07-26 | 1 | -1/+1 |
| | | |||||
| * | support aborting requests with context.Context | Stefan Majewsky | 2018-07-11 | 1 | -0/+6 |
| | | |||||
| * | add Object.TempURL() | Stefan Majewsky | 2018-07-10 | 2 | -0/+108 |
| | | |||||
| * | add URL() method also to Container, not just to Object | Stefan Majewsky | 2018-06-07 | 2 | -1/+12 |
| | | |||||
| * | Merge pull request #4 from databus23/patch-1 | Stefan Majewsky | 2018-06-07 | 1 | -0/+8 |
| |\ | | | | | Add URL() function for Object | ||||
| | * | Add URL() function for Object | Fabian Ruff | 2018-05-11 | 1 | -0/+8 |
| | | | |||||
| * | | add Capabilities.Symlink | Stefan Majewsky | 2018-05-30 | 1 | -0/+3 |
| | | | |||||
| * | | make the IsEqualTo() methods public | Stefan Majewsky | 2018-05-30 | 5 | -10/+17 |
| | | | |||||
| * | | adjust semantics of Object.InspectSymlink, rename to Object.SymlinkHeaders | Stefan Majewsky | 2018-05-30 | 3 | -19/+28 |
| | | | | | | | | | | | | | The additional guarantee that Object.SymlinkHeaders becomes equivalent to Object.Headers for non-symlinks will be useful e.g. for swift-http-import's usecase. | ||||
| * | | my PR has been merged | Stefan Majewsky | 2018-05-30 | 1 | -3/+0 |
| |/ | |||||
| * | add support for symlinks to ObjectIterator | Stefan Majewsky | 2018-05-07 | 4 | -14/+113 |
| | | | | | Closes #2. | ||||
| * | add Object.SymlinkTo(), Object.InspectSymlink() etc. | Stefan Majewsky | 2018-05-07 | 3 | -24/+192 |
| | | |||||
| * | fix formatting of X-Delete-At header | Stefan Majewsky | 2018-05-04 | 1 | -2/+1 |
| | | |||||
| * | make tests work with Keystone auth | Stefan Majewsky | 2018-05-04 | 1 | -8/+4 |
| | | |||||
| * | add support for pseudo-directories to ObjectIterator | Stefan Majewsky | 2018-05-03 | 3 | -29/+125 |
| | | |||||
| * | add configurable User-Agent to Schwift, Gopherschwift | Stefan Majewsky | 2018-05-03 | 5 | -14/+61 |
| | | |||||
| * | fix CopyTo test | Stefan Majewsky | 2018-05-03 | 1 | -1/+1 |
| | | |||||
| * | proof-read documentation | Stefan Majewsky | 2018-05-03 | 12 | -53/+65 |
| | | |||||
| * | add (currently empty) CopyOptions arg to Object.CopyTo | Stefan Majewsky | 2018-05-02 | 1 | -5/+11 |
| | | | | | | For backwards compatiblity when later expanding the scope of this function (analogous to DeleteOptions, UploadOptions, TruncateOptions). | ||||
| * | test coverage for bulk-delete fallback code path | Stefan Majewsky | 2018-05-02 | 3 | -33/+81 |
| | | |||||
| * | remove Object.MoveTo | Stefan Majewsky | 2018-05-02 | 2 | -19/+0 |
| | | | | | | It's trivially replicable by clients, and has an ugly API that I don't want to commit on at this point. | ||||
| * | test coverage for large object operations | Stefan Majewsky | 2018-05-02 | 3 | -4/+208 |
| | | |||||
| * | revamp the LargeObject API | Stefan Majewsky | 2018-05-02 | 8 | -354/+524 |
| | | | | | | | | | | | I thought about this some more, and I believe the Writer-based approach in the previous version of the LargeObject API does not scale: It makes it very hard to write code that uploads segments without resorting to a buffer the same size as the segments. I don't want gigabyte-scale buffers filling up my RAM, so this commit switches to a different API based on Readers. LargeObject.Append() now behaves very similar to Object.Upload(), which I find quite nice. | ||||
| * | exclude util/ from golint, govet | Stefan Majewsky | 2018-05-02 | 1 | -6/+6 |
| | | |||||
| * | add DeleteOptions to Object.Delete() | Stefan Majewsky | 2018-04-30 | 6 | -13/+129 |
| | | |||||
| * | initial support for large objects | Stefan Majewsky | 2018-04-30 | 16 | -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 practices | Stefan Majewsky | 2018-04-29 | 3 | -16/+65 |
| | | |||||
| * | tryCompute{ContentLength, Etag}: add special cases for strings.Reader, nil | Stefan Majewsky | 2018-04-27 | 2 | -10/+31 |
| | | |||||
| * | fix tests for Swift Queens | Stefan Majewsky | 2018-04-27 | 1 | -3/+5 |
| | | |||||
| * | add Account.isEqualTo, Container.isEqualTo | Stefan Majewsky | 2018-04-27 | 3 | -4/+10 |
| | | |||||
| * | s/project name/project ID/ | Stefan Majewsky | 2018-04-27 | 1 | -2/+2 |
| | | |||||
| * | revamp the Headers API | Stefan Majewsky | 2018-03-11 | 27 | -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 Majewsky | 2018-03-09 | 4 | -41/+330 |
| | | |||||
| * | generalize BulkUploadError into BulkError | Stefan Majewsky | 2018-03-08 | 4 | -23/+25 |
| | | | | | For use in Account.BulkDelete(). | ||||
| * | add Account.BulkUpload(), BulkUploadError, BulkObjectError | Stefan Majewsky | 2018-03-08 | 3 | -0/+337 |
| | | |||||
| * | fix URL computation in Account.Capabilties() | Stefan Majewsky | 2018-03-08 | 1 | -8/+1 |
| | | |||||
