github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/syft/event/monitor/generic_task.go (about)

     1  package monitor
     2  
     3  import (
     4  	"io"
     5  
     6  	"github.com/wagoodman/go-progress"
     7  )
     8  
     9  type ShellProgress struct {
    10  	io.Reader
    11  	progress.Progressable
    12  }
    13  
    14  type Title struct {
    15  	Default      string
    16  	WhileRunning string
    17  	OnSuccess    string
    18  }
    19  
    20  type GenericTask struct {
    21  	Title   Title
    22  	Context string
    23  }