Upload uploads files created by the topology output to a configured location.
| 145 | |
| 146 | // Upload uploads files created by the topology output to a configured location. |
| 147 | type Upload interface { |
| 148 | // Run processes the output result as it comes through the channel. |
| 149 | // Run must block forever |
| 150 | // upch will receive filenames that Output wants to see uploaded. |
| 151 | Run(upch <-chan string) error |
| 152 | |
| 153 | // Stop forces the upload to stop as cleanly as possible, which usually |
| 154 | // means to finish up all the existing downloads. |
| 155 | Stop() |
| 156 | |
| 157 | // Stats returns stats about the upload process |
| 158 | Stats() UploadStats |
| 159 | } |
nothing calls this directly
no outgoing calls
no test coverage detected