mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 14:02:26 +01:00
Co-authored-by: Alex Goodman <alex.goodman@anchore.com>
24 lines
277 B
Go
24 lines
277 B
Go
package monitor
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/wagoodman/go-progress"
|
|
)
|
|
|
|
type ShellProgress struct {
|
|
io.Reader
|
|
*progress.Manual
|
|
}
|
|
|
|
type Title struct {
|
|
Default string
|
|
WhileRunning string
|
|
OnSuccess string
|
|
}
|
|
|
|
type GenericTask struct {
|
|
Title Title
|
|
Context string
|
|
}
|