runmanager

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Trigger

func Trigger(mod *models.Module, kind models.ModuleRunKind, in *TriggerInput) (bool, string)

Trigger returns true if a new module run should be triggered, false if not.

Types

type RunManager

type RunManager struct {
}

type TriggerInput

type TriggerInput struct {
	// Files is a list of file paths from a Git integration
	Files []string

	// BaseBranch is the name of the base branch (for a PR)
	BaseBranch string
}

Jump to

Keyboard shortcuts

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