tasks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CalculateCommitsDiffMeta = core.SubTaskMeta{
	Name:             "calculateCommitsDiff",
	EntryPoint:       CalculateCommitsDiff,
	EnabledByDefault: true,
	Description:      "Calculate diff commits between refs",
}
View Source
var CalculateIssuesDiffMeta = core.SubTaskMeta{
	Name:             "calculateIssuesDiff",
	EntryPoint:       CalculateIssuesDiff,
	EnabledByDefault: true,
	Description:      "Calculate diff issues between refs",
}
View Source
var CalculatePrCherryPickMeta = core.SubTaskMeta{
	Name:             "calculatePrCherryPick",
	EntryPoint:       CalculatePrCherryPick,
	EnabledByDefault: true,
	Description:      "Calculate pr cherry pick",
}

Functions

func CalculateCommitsDiff

func CalculateCommitsDiff(taskCtx core.SubTaskContext) error

func CalculateIssuesDiff

func CalculateIssuesDiff(taskCtx core.SubTaskContext) error

func CalculatePrCherryPick added in v0.10.0

func CalculatePrCherryPick(taskCtx core.SubTaskContext) error

Types

type RefPair

type RefPair struct {
	NewRef string
	OldRef string
}

type RefdiffOptions added in v0.10.0

type RefdiffOptions struct {
	RepoId string
	Tasks  []string `json:"tasks,omitempty"`
	Pairs  []RefPair
}

type RefdiffTaskData added in v0.10.0

type RefdiffTaskData struct {
	Options *RefdiffOptions
	Since   *time.Time
}

Jump to

Keyboard shortcuts

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