Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Events ¶ added in v0.16.0
func (Events) HasChanged ¶ added in v0.16.0
type Trigger ¶ added in v0.16.0
type Trigger interface { Start(context.Context) (<-chan bool, error) WatchForChanges(io.Writer) Debounce() bool }
Trigger describes a mechanism that triggers the watch.
func NewTrigger ¶ added in v0.16.0
func NewTrigger(opts *config.SkaffoldOptions) (Trigger, error)
NewTrigger creates a new trigger.
type Watcher ¶
type Watcher interface { Register(deps func() ([]string, error), onChange func(Events)) error Run(ctx context.Context, out io.Writer, onChange func() error) error }
Watcher monitors files changes for multiples components.
func NewWatcher ¶ added in v0.3.0
NewWatcher creates a new Watcher.
Click to show internal directories.
Click to hide internal directories.