github

package
v0.0.0-...-e7685b2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePatchRelease

func GeneratePatchRelease(
	ctx context.Context,
	ghClient *gh.Client,
	owner string,
	repo string,
	printer func(msg string),
	backportPRs types.BackportPRs,
	listOfPRs types.PullRequests,
	commits []string,
	labelFilters []string,
) (
	types.BackportPRs,
	types.PullRequests,
	[]string,
	error,
)

GeneratePatchRelease will returns a map that maps the backport PR number to the upstream PR number and a map that maps the backport PR number to the PR if no upstream PR was found. In case of an error, a list of non-processed commits will be returned.

func NewClient

func NewClient(ghToken string) *gh.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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