github

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GitProviderServiceName = "github"
)

Variables

This section is empty.

Functions

func NewGitHubProvider

func NewGitHubProvider(
	repoURL string,
	opts *gitprovider.GitProviderOptions,
) (gitprovider.GitProviderService, error)

Types

type GitHubProvider

type GitHubProvider struct {
	// contains filtered or unexported fields
}

func (*GitHubProvider) CreatePullRequest

func (*GitHubProvider) GetPullRequest

func (g *GitHubProvider) GetPullRequest(
	ctx context.Context,
	id int64,
) (*gitprovider.PullRequest, error)

func (*GitHubProvider) IsPullRequestMerged

func (g *GitHubProvider) IsPullRequestMerged(ctx context.Context, id int64) (bool, error)

func (*GitHubProvider) ListPullRequests

Jump to

Keyboard shortcuts

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