mirror of https://github.com/knative/func.git
This commit modifies the progress meter so that, by default there is no step counter. It also modifies the responsibility for calling `Done()`, making it the job of the command rather than the client. This is because the client does not know how many commands will be executed and therefore cannot know when the progress bar is done. This commit also adds String() to the progress bar, and moves logging responsibility out of the deployer itself and fully into the client. Deployer#Deploy() now returns a DeploymentResult. Fixes: https://github.com/boson-project/func/issues/296 Signed-off-by: Lance Ball <lball@redhat.com> |
||
---|---|---|
.. | ||
progress.go |