gitee

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 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 {
	*gitee.Client
	AccessToken string
}

func NewClient

func NewClient(id int, accessToken, proxyAddress string, enableProxy bool) *Client

func (*Client) CreateMergeRequestComment

func (c *Client) CreateMergeRequestComment(ctx context.Context, owner, repo string, number int32, pullRequestCommentPostParam gitee.PullRequestCommentPostParam) (gitee.PullRequestComments, error)

func (*Client) CreateWebHook

func (c *Client) CreateWebHook(owner, repo string) (string, error)

func (*Client) DeleteWebHook

func (c *Client) DeleteWebHook(owner, repo, hookID string) error

func (*Client) UpdateMergeRequestComment

func (c *Client) UpdateMergeRequestComment(ctx context.Context, owner, repo string, id int32, pullRequestCommentPatchParam gitee.PullRequestCommentPatchParam) error

Jump to

Keyboard shortcuts

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