Help us shape the future of Go! Take the 2026 Go Developer Survey

tasks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

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

func CalculatePrCherryPick(taskCtx core.SubTaskContext) error

Types

type RefPair

type RefPair struct {
	NewRef string
	OldRef string
}

type RefdiffOptions

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

type RefdiffTaskData

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