Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clienter ¶
type Clienter interface {
CreateComment(
ctx context.Context,
body string,
) error
ListComments(
ctx context.Context,
) ([]Comment, error)
DeleteComment(
ctx context.Context,
commentID int64,
) error
AddLabel(
ctx context.Context,
label constant.Label,
) error
AddLabelToOtherPR(
ctx context.Context,
label constant.Label,
number int,
) error
RemoveLabel(
ctx context.Context,
label constant.Label,
) error
GetPullRequest(ctx context.Context) (*PullRequest, error)
GetOpenPullRequests(ctx context.Context) ([]PullRequest, error)
MergePullRequest(ctx context.Context, message string) error
SetStatus(
ctx context.Context,
state constant.State,
description string,
) error
}
Clienter is interface of platform client
Click to show internal directories.
Click to hide internal directories.