eventwatcher

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package eventwatcher provides facilities to update config files when new event found. It can be done by periodically comparing the latest value user registered and the value in the files placed at Git repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher interface {
	Run(context.Context) error
}

func NewWatcher

func NewWatcher(cfg *config.PipedSpec, eventStore eventStore, gitClient gitClient, logger *zap.Logger) Watcher

Jump to

Keyboard shortcuts

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