Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Trigger ¶
type Trigger interface { Start(context.Context) (<-chan bool, error) LogWatchToUser(io.Writer) Debounce() bool }
Trigger describes a mechanism that triggers the watch.
func NewTrigger ¶
func NewTrigger(runctx *runcontext.RunContext) (Trigger, error)
NewTrigger creates a new trigger.
Click to show internal directories.
Click to hide internal directories.