Add tests for preupgradchecks and spec/archive CLI (#2874)
* Add tests for preupgradchecks * Add spec tests * Add package archive tests * Wait for cleanup * Fix test and coverage --------- Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -18,6 +18,7 @@ package cli
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -76,5 +77,11 @@ type (
|
||||
|
||||
// Duration returns time duration of given flag.
|
||||
Duration(key string) time.Duration
|
||||
|
||||
// Stdout returns io.Writer for stdout.
|
||||
Stdout() io.Writer
|
||||
|
||||
// Stderr returns io.Writer for stderr.
|
||||
Stderr() io.Writer
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user