Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLabelColor ¶
func GetLabelName ¶
Types ¶
type CommentPlugin ¶
type CommentPlugin interface {
// CommentBuildLink 评论drone build链接
CommentBuildLink() error
}
func NewCommentPlugin ¶
func NewCommentPlugin(config config.Config, client *provider.Client) CommentPlugin
type LabelPlugin ¶
type LabelPlugin interface {
// UpdatePullRequestStatusLabel 更新pull request的构建状态标签
UpdatePullRequestStatusLabel(name, color string) error
}
func NewLabelPlugin ¶
type TestPlugin ¶
type TestPlugin interface {
// PushTestResult 推送测试结果
PushTestResult() error
}
func NewTestPlugin ¶
func NewTestPlugin(config config.Config, client *provider.Client) TestPlugin
Click to show internal directories.
Click to hide internal directories.