Sebastiaan van Stijn
|
4cc796ab93
client: Client.buildRequest: use http.NewRequestWithContext
|
hace 2 años |
Sebastiaan van Stijn
|
87fff769f4
client: Client.checkResponseErr: change errorMessage to an error
|
hace 1 año |
Sebastiaan van Stijn
|
2da589d454
client: return explicit "nil" for no errors, and remove nil check
|
hace 2 años |
Sebastiaan van Stijn
|
92975f0c11
client: define a "dummy" hostname to use for local connections
|
hace 2 años |
Sebastiaan van Stijn
|
83477ce8d0
client: remove custom "headers" type, and use "http.Header" instead
|
hace 2 años |
Sebastiaan van Stijn
|
a6048fc792
client: add WithUserAgent() option
|
hace 2 años |
Cory Snider
|
3ceb3810d7
client: don't marshal typed nils in request body
|
hace 2 años |
Sebastiaan van Stijn
|
10c56efa97
linting: error strings should not be capitalized (revive)
|
hace 3 años |
Drew Erny
|
240a9fcb83
Add Swarm cluster volume supports
|
hace 4 años |
Sebastiaan van Stijn
|
948c2c45bb
client: use canonical names for HTTP Headers
|
hace 4 años |
Sebastiaan van Stijn
|
2cff05e960
client/request.go:157:8: SA1019: err.Temporary is deprecated (staticcheck)
|
hace 3 años |
Eng Zer Jun
|
c55a4ac779
refactor: move from io/ioutil to io and os package
|
hace 3 años |
Akihiro Suda
|
b9ad7b96bd
Merge pull request #41778 from kplachkov/feature/fix_err_canceled
|
hace 4 años |
Sebastiaan van Stijn
|
b92be7e297
client: S1031: unnecessary nil check around range (gosimple)
|
hace 4 años |
Kostadin Plachkov
|
cd40eb89ae
Fix client request error handling
|
hace 4 años |
Evgeniy Makhrov
|
8ccb46a521
Check for context error that is wrapped in url.Error
|
hace 4 años |
Sebastiaan van Stijn
|
dabc7cdb56
client: use constants for http methods
|
hace 5 años |
Kir Kolyshkin
|
6392e765ac
client: remove put()
|
hace 6 años |
Nick Adcock
|
1a5dafb31e
Improve readability of Windows connect error
|
hace 6 años |
Sebastiaan van Stijn
|
b26aa97914
Add client.WithAPIVersionNegotiation() option
|
hace 6 años |
Sebastiaan van Stijn
|
2a9c987e5a
Move httputils error helpers to errdefs package
|
hace 6 años |
Sebastiaan van Stijn
|
38e6d474af
client: return rich / errdefs errors
|
hace 6 años |
Sebastiaan van Stijn
|
7e7e100be0
Add HEAD support for /_ping endpoint
|
hace 6 años |
Sebastiaan van Stijn
|
744940056d
client/request: wrap some errors
|
hace 6 años |
Brian Goff
|
3e5b9cb466
Use net/http instead of x/ctxhttp
|
hace 6 años |
Akihiro Suda
|
1db4be0c32
client: use io.LimitedReader for reading HTTP error
|
hace 6 años |
Kir Kolyshkin
|
7d62e40f7e
Switch from x/net/context -> context
|
hace 7 años |
Daniel Nephin
|
0a91ba2d8c
Remove duplicate calls for getting an APIClient
|
hace 7 años |
Daniel Nephin
|
4f0d95fa6e
Add canonical import comment
|
hace 7 años |
Daniel Nephin
|
81bb9978ab
Cleanup client not found errors.
|
hace 7 años |