compose/pkg/progress
Nikhil Benesch 5eb314a4ca Add progress output while waiting for dependencies
This commit adds progress output while waiting for `depends_on`
conditions to resolve. The initial output looks like so:

     ⠿ Container chbench-zookeeper-1        Waiting      0s
     ⠿ Container chbench-kafka-1            Waiting      0s
     ⠿ Container chbench-one-off            Waiting      0s

Once all conditions have been resolved, the ouput looks like this:

     ⠿ Container chbench-zookeeper-1        Healthy      1.2s
     ⠿ Container chbench-kafka-1            Healthy      3.2s
     ⠿ Container chbench-schema-registry-1  Exited       4s

As shown above, `service_healthy` conditions result in a terminal status
of "Healthy" while `service_exited_successfully` conditions result in a
terminal status of "Exited".

Signed-off-by: Nikhil Benesch <nikhil.benesch@gmail.com>
2022-01-07 21:22:57 +01:00
..
event.go Add progress output while waiting for dependencies 2022-01-07 21:22:57 +01:00
noop.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
plain.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
spinner.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
tty.go stop time.Ticker after use 2021-09-30 17:09:49 +02:00
tty_test.go stop time.Ticker after use 2021-09-30 17:09:49 +02:00
writer.go stop time.Ticker after use 2021-09-30 17:09:49 +02:00
writer_test.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00