summaryrefslogtreecommitdiff
path: root/api/server/httputils/write_log_stream.go
Commit message (Collapse)AuthorAgeFilesLines
* API: explicitely ignore unhandled errorsSebastiaan van Stijn2019-09-181-2/+2
| | | | Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Switch from x/net/context -> contextKir Kolyshkin2018-04-231-2/+1
| | | | | | | | | | | Since Go 1.7, context is a standard package. Since Go 1.9, everything that is provided by "x/net/context" is a couple of type aliases to types in "context". Many vendored packages still use x/net/context, so vendor entry remains for now. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
* Add canonical import commentDaniel Nephin2018-02-051-1/+1
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Move RFC3339NanoFixed to a more appropriate package.Daniel Nephin2017-09-251-6/+2
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Add gosimple linterDaniel Nephin2017-09-121-9/+2
| | | | | | Update gometalinter Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Avoid using a map for log attributesAaron Lehmann2017-07-181-19/+21
| | | | | | | | | | | | | Having a map per log entry seemed heavier than necessary. These attributes end up being sorted and serialized, so storing them in a map doesn't add anything (there's no random access element). In SwarmKit, they originate as a slice, so there's an unnecessary conversion to a map and back. This also fixes the sort comparator, which used to inefficiently split the string on each comparison. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
* Change log details encoding format and support details on service logsDrew Erny2017-05-121-0/+2
| | | | | | | | | | URL query encode log details, so that characters like spaces don't make log parsing ambiguous. Add a helper function to parse these details to a map, if needed Add support for details on service logs Signed-off-by: Drew Erny <drew.erny@docker.com>
* refactor logs and support service logs /w ttyDrew Erny2017-04-061-0/+92
Refactor container logs system to make communicating log messages internally much simpler. Move responsibility for marshalling log messages into the REST server. Support TTY logs. Pave the way for fixing the ambiguous bytestream format. Pave the way for fixing details. Signed-off-by: Drew Erny <drew.erny@docker.com>