| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | run `go fix ./...` | Stefan Majewsky | 2026-04-19 | 1 | -12/+3 |
| | | |||||
| * | add ctx argument to Account.Capabilities | Stefan Majewsky | 2024-07-08 | 1 | -4/+4 |
| | | |||||
| * | Remove context from struct, add ctx as first args to many functions | Sandro Jäckel | 2024-07-01 | 1 | -27/+28 |
| | | |||||
| * | Fix remaining lints | Sandro Jäckel | 2024-07-01 | 1 | -3/+4 |
| | | |||||
| * | Fix gophercloud lint complains | Sandro Jäckel | 2024-07-01 | 1 | -40/+40 |
| | | |||||
| * | Fix remaining lints | Sandro Jäckel | 2023-10-25 | 1 | -10/+16 |
| | | |||||
| * | remove sha512 as a tempurl digest option | Stefan Majewsky | 2022-10-28 | 1 | -4/+1 |
| | | | | | | | | After consulting the Swift source code, we learned that sha512 signatures are formatted using a different scheme. Since sha512 offers no real advantage at this point as long as we support sha256 instead, we can just avoid the complexity of supporting the other scheme for now. | ||||
| * | Generate digest preferable with sha2, then sha512 and fallback to insecure sha1 | Sandro Jäckel | 2022-10-28 | 1 | -1/+29 |
| | | |||||
| * | Fix linting errors | Sandro Jäckel | 2022-10-28 | 1 | -15/+27 |
| | | |||||
| * | Format with go 1.19 | Sandro Jäckel | 2022-10-26 | 1 | -105/+104 |
| | | |||||
| * | rename Object.UploadWithWriter to UploadFromWriter | Stefan Majewsky | 2021-05-28 | 1 | -6/+4 |
| | | |||||
| * | document non-threadsafety | Stefan Majewsky | 2020-10-14 | 1 | -0/+12 |
| | | |||||
| * | 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. | ||||
| * | add Object.TempURL() | Stefan Majewsky | 2018-07-10 | 1 | -0/+50 |
| | | |||||
| * | add URL() method also to Container, not just to Object | Stefan Majewsky | 2018-06-07 | 1 | -1/+3 |
| | | |||||
| * | 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 |
| | | | |||||
| * | | make the IsEqualTo() methods public | Stefan Majewsky | 2018-05-30 | 1 | -1/+6 |
| | | | |||||
| * | | adjust semantics of Object.InspectSymlink, rename to Object.SymlinkHeaders | Stefan Majewsky | 2018-05-30 | 1 | -9/+21 |
| |/ | | | | | | 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. | ||||
| * | add support for symlinks to ObjectIterator | Stefan Majewsky | 2018-05-07 | 1 | -0/+5 |
| | | | | | Closes #2. | ||||
| * | add Object.SymlinkTo(), Object.InspectSymlink() etc. | Stefan Majewsky | 2018-05-07 | 1 | -23/+111 |
| | | |||||
| * | proof-read documentation | Stefan Majewsky | 2018-05-03 | 1 | -9/+15 |
| | | |||||
| * | 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). | ||||
| * | remove Object.MoveTo | Stefan Majewsky | 2018-05-02 | 1 | -12/+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 | 1 | -2/+2 |
| | | |||||
| * | revamp the LargeObject API | Stefan Majewsky | 2018-05-02 | 1 | -16/+59 |
| | | | | | | | | | | | 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. | ||||
| * | add DeleteOptions to Object.Delete() | Stefan Majewsky | 2018-04-30 | 1 | -4/+36 |
| | | |||||
| * | initial support for large objects | Stefan Majewsky | 2018-04-30 | 1 | -7/+15 |
| | | | | | | | | | | | | | 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. | ||||
| * | tryCompute{ContentLength, Etag}: add special cases for strings.Reader, nil | Stefan Majewsky | 2018-04-27 | 1 | -6/+20 |
| | | |||||
| * | revamp the Headers API | Stefan Majewsky | 2018-03-11 | 1 | -31/+24 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | generalize BulkUploadError into BulkError | Stefan Majewsky | 2018-03-08 | 1 | -0/+2 |
| | | | | | For use in Account.BulkDelete(). | ||||
| * | fix a panic in the error case of Object.Download() | Stefan Majewsky | 2018-03-08 | 1 | -1/+3 |
| | | |||||
| * | add Object.Copy() and Object.Move() | Stefan Majewsky | 2018-02-21 | 1 | -8/+55 |
| | | |||||
| * | reorganize code | Stefan Majewsky | 2018-02-19 | 1 | -5/+5 |
| | | | | | | | * Gophercloud dependencies move into subpackage gopherschwift. * Tests move into subpackage tests (to avoid import cycles). + Rename "Client" to "Backend". | ||||
| * | test coverage for object upload, download, metadata update | Stefan Majewsky | 2018-02-19 | 1 | -2/+37 |
| | | |||||
| * | add Object.Download(), DownloadedObject | Stefan Majewsky | 2018-02-19 | 1 | -1/+31 |
| | | |||||
| * | initialize .Headers on accounts/containers during GET requests | Stefan Majewsky | 2018-02-19 | 1 | -1/+1 |
| | | |||||
| * | Object.upload: generate, validate Content-Length and Etag | Stefan Majewsky | 2018-02-16 | 1 | -5/+87 |
| | | |||||
| * | add object lifecycle testcase | Stefan Majewsky | 2018-02-16 | 1 | -4/+6 |
| | | |||||
| * | ensure that response body is drained | Stefan Majewsky | 2018-02-11 | 1 | -0/+1 |
| | | |||||
| * | sketch out the initial Object API | Stefan Majewsky | 2018-02-10 | 1 | -0/+181 |
