mrs

package
v0.0.0-...-1b5b282 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchGroupMergeRequests

func FetchGroupMergeRequests(glabClient *glab.TGitlabClient, groupId string, usernames []string, shouldIncludeDrafts *bool) ([]*gitlab.MergeRequest, error)

FetchGroupMergeRequests fetches merge requests for a group from GitLab.

func FetchProjectMergeRequests

func FetchProjectMergeRequests(glabClient *glab.TGitlabClient, projectId string, usernames []string, shouldIncludeDrafts *bool) ([]*gitlab.MergeRequest, error)

FetchProjectMergeRequests fetches merge requests for a project from GitLab.

func FetchReviewerMergeRequests

func FetchReviewerMergeRequests(glabClient *glab.TGitlabClient, groupId string, userId int, shouldIncludeDrafts *bool) ([]*gitlab.MergeRequest, error)

FetchUserMergeRequests fetches merge requests for a specific reviewer within a group from GitLab.

func GetMergeRequestsApprovedByMe

func GetMergeRequestsApprovedByMe(glabClient *glab.TGitlabClient, groupId string, myId int, shouldIncludeDrafts *bool) ([]*gitlab.MergeRequest, error)

func OpenMergeRequests

func OpenMergeRequests(mrs []*gitlab.MergeRequest) error

OpenMergeRequests opens the URLs of the merge requests in the user's default browser.

func PrintMergeRequests

func PrintMergeRequests(mrs []*gitlab.MergeRequest)

PrintMergeRequests prints the details of the merge requests to the console.

Types

This section is empty.

Jump to

Keyboard shortcuts

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