Switch executor run method to read/write channel
Change-Id: If0eb2ae96d20338fee17f381ea61748f8485c7cd
This commit is contained in:
parent
51e027be7d
commit
17bf4c77e8
@ -26,7 +26,7 @@ import (
|
|||||||
|
|
||||||
// Executor interface should be implemented by each runner
|
// Executor interface should be implemented by each runner
|
||||||
type Executor interface {
|
type Executor interface {
|
||||||
Run(<-chan events.Event, RunOptions)
|
Run(chan events.Event, RunOptions)
|
||||||
Render(io.Writer, RenderOptions) error
|
Render(io.Writer, RenderOptions) error
|
||||||
Validate() error
|
Validate() error
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user