watcher

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestWorkWatcher

type ManifestWorkWatcher struct {
	sync.Mutex
	// contains filtered or unexported fields
}

ManifestWorkWatcher implements the watch.Interface. It returns a chan which will receive all the events.

func NewManifestWorkWatcher

func NewManifestWorkWatcher() *ManifestWorkWatcher

func (*ManifestWorkWatcher) Receive

func (mw *ManifestWorkWatcher) Receive(evt watch.Event)

Receive a event from the work client and sends down the result channel.

func (*ManifestWorkWatcher) ResultChan

func (mw *ManifestWorkWatcher) ResultChan() <-chan watch.Event

ResultChan implements Interface.

func (*ManifestWorkWatcher) Stop

func (mw *ManifestWorkWatcher) Stop()

Stop implements Interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL