git

package
v0.0.0-...-9fb5bb1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackMerge

func BackMerge(VeaverData veave.Veaver, VeaverRawPayload []byte)

func CheckBranchEval

func CheckBranchEval(context context.Context, client *github.Client, owner, repo string, branches []string) (BranchExistFlag bool, BranchNotFound string)

func CheckIsContributor

func CheckIsContributor(client *github.Client, ctx context.Context, owner, repo string, userlist []string) (bool, error)

func ConditionalPRCheck

func ConditionalPRCheck(ConditionPRFlag bool, resp veave.GithubPayload, PrefixCode string) (StatusCode bool)

func CreateBranch

func CreateBranch(client *github.Client, ctx context.Context, owner, repo, source_branch, destination_branch string)

func CreatePullRequest

func CreatePullRequest(ctx context.Context, gc *github.Client, owner, repo, title, HeadValue, BaseValue, BodyValue string, maintainer_can_modify bool, slackFlag bool, reviewers veave.Veaver, team_reviewers []string)

func DeleteBranch

func DeleteBranch(client *github.Client, ctx context.Context, owner, repo, branch string) (*github.Response, error)

func GetBranch

func GetBranch(ref string) string

func GetRepoDetails

func GetRepoDetails(RepositoryFullName string) (string, string)

func GetReviewersDetails

func GetReviewersDetails(reviewerpayload veave.Veaver) ([]string, []string)

func GetUser

func GetUser(ctx context.Context, gc *github.Client, user string) *github.User

func InSync

func InSync(client *github.Client, ctx context.Context, owner, repo string, Rule veave.Rules, RepGetOptions github.RepositoryContentGetOptions)

func InSyncForce

func InSyncForce(client *github.Client, ctx context.Context, owner, repo, source_branch string, destination_branches []string, branchProtectionFlag string)

func OpenPREval

func OpenPREval(context context.Context, client *github.Client, OrgName, RepoName string) (OpenPRFlag bool)

func Remove

func Remove(client *github.Client, ctx context.Context, owner, repo string, Rule veave.Rules, RepGetOptions github.RepositoryContentGetOptions)

func RemoveBranchProtection

func RemoveBranchProtection(client *github.Client, ctx context.Context, owner, repo, branch string) (*github.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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