github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/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 22 // required fields 23 24 Title Title 25 26 // optional format fields 27 28 HideOnSuccess bool 29 HideStageOnSuccess bool 30 31 // optional fields 32 33 ID string 34 ParentID string 35 Context string 36 }