Commit Graph

11 Commits

Author SHA1 Message Date
Guillame Tardif 7ddd8e5e97 Helper methods to create progress events, more homogeneous display for “creating”, “Created”, …
Signed-off-by: Guillame Tardif <guillaume.tardif@gmail.com>
2020-11-27 17:55:36 +01:00
Djordje Lukic be40bdb032 Remove useless Done in the progress writer
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-11-22 17:30:28 +01:00
Sarath Kumar Sivan f1badf0da8 Fix typo in comments against Event struct definition inside writer.go
Signed-off-by: Sarath Kumar Sivan <sarathkumarsivan@gmail.com>
2020-10-25 20:09:18 -07:00
Guillaume Tardif 7e534153f3 Avoid nil panic when no progress writer in context, add noop writer. (Especially for gRPC invocations)
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-24 10:16:03 +02:00
Chris Crone d154c41586 Update copyright
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-09-22 12:13:00 +02:00
Guillaume Tardif 267b267201 Progress functions can return a string, that can be used in the caller of progress.Run to display final result after progress display
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-09-14 14:29:03 +02:00
Djordje Lukic ad72c866cc Add license headers 2020-06-18 16:48:03 +02:00
Djordje Lukic a1bb04ebe1 Refactor calling the progress writer to make it easier 2020-06-18 12:10:36 +02:00
Djordje Lukic b55267739a Azure backend reports progress 2020-06-18 11:01:33 +02:00
Djordje Lukic fe47237767 Add functions to add the writer in the context 2020-06-18 11:01:00 +02:00
Djordje Lukic d0e48a25aa Implement a progress writer 2020-06-18 11:01:00 +02:00