downstream

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Downstream

func Downstream(ctx context.Context, git utils.GitHelper, client *github.Client, req *DownstreamRequest) error

func Suggest

func Suggest(ctx context.Context, git utils.GitHelper, client *github.Client, req *SuggestRequest) error

Types

type DownstreamRequest

type DownstreamRequest struct {
	Branch                 string
	UpstreamOrg            string
	UpstreamRepo           string
	UpstreamHeadRef        string
	UpstreamPullRequestNum int
	ForkOrg                string
	ForkRepo               string
	ForkHeadRef            string
	PreserveTempBranches   bool
	PushAndOpenPullRequest bool
}

type SuggestRequest

type SuggestRequest struct {
	UpstreamOrg     string
	UpstreamRepo    string
	UpstreamHeadRef string
	ForkHeadRef     string
	SearchAfter     time.Time
}

Jump to

Keyboard shortcuts

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