watcher

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

Watcher handles Git events and dispatches config or task execution events.

func New

func New(
	secrets secret.Store,
	hostname string,
	directory string,
	configRepo string,
	checkInterval time.Duration,
	ssh transport.AuthMethod,
) *Watcher

New creates a new watcher with all necessary parameters

func (*Watcher) Start

func (w *Watcher) Start() error

Jump to

Keyboard shortcuts

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