digger

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	None      = CIName("")
	GitHub    = CIName("github")
	GitLab    = CIName("gitlab")
	BitBucket = CIName("bitbucket")
	Azure     = CIName("azure")
)

Variables

This section is empty.

Functions

func MergePullRequest

func MergePullRequest(ciService orchestrator.PullRequestService, prNumber int)

func RunJob

func RunJob(
	job orchestrator.Job,
	repo string,
	requestedBy string,
	orgService orchestrator.OrgService,
	policyChecker policy.Checker,
	planStorage storage.PlanStorage,
	backendApi backend.Api,
	workingDir string,
) error

func RunJobs

func RunJobs(
	jobs []orchestrator.Job,
	prService orchestrator.PullRequestService,
	orgService orchestrator.OrgService,
	lock core_locking.Lock,
	reporter core_reporting.Reporter,
	planStorage storage.PlanStorage,
	policyChecker policy.Checker,
	backendApi backend.Api,
	workingDir string,
) (bool, bool, error)

func SortedCommandsByDependency

func SortedCommandsByDependency(project []orchestrator.Job, dependencyGraph *graph.Graph[string, config.Project]) []orchestrator.Job

Types

type CIName

type CIName string

func DetectCI

func DetectCI() CIName

func (CIName) String

func (ci CIName) String() string

Jump to

Keyboard shortcuts

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