scheduler

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLatestCommits

func CheckLatestCommits(ctx context.Context, repo gitutils.RepositoryCloneSpec, branchCommits map[string][]gitutils.Commit) map[string][]gitutils.Commit

Checkout latest commits and return commits newer than provided list of commits per branch

func ScheduleReposiroryTracking

func ScheduleReposiroryTracking(config Config)

Types

type Config

type Config struct {
	Frequency int    //how often, in seconds the schedule should be run
	DataDir   string //CheckMate data directory
}

Jump to

Keyboard shortcuts

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