gitlab

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(rootCtx context.Context, token string) (*Client, error)

func (*Client) MergeRequestApproves

func (c *Client) MergeRequestApproves(projectID int, iid int) ([]*ds.BasicUser, error)

func (*Client) MergeRequestsByProject

func (c *Client) MergeRequestsByProject(projectID int, createdAfter time.Time) ([]*ds.MergeRequest, error)

MergeRequestsByProject only last 1000 merge requests are processed

func (*Client) SetReviewers

func (c *Client) SetReviewers(mr *ds.MergeRequest, reviewers []int) error

Jump to

Keyboard shortcuts

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