Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CQ ¶
type CQ struct {
// contains filtered or unexported fields
}
func (*CQ) Analyze ¶
Analyze trigger a pipeline to analyze code quality, return pipelineID and error.
func (*CQ) GenerateCQPipeline4Go ¶
GenerateCQPipeline4Go 构造用于 Go 项目代码质量分析的流水线
func (*CQ) TriggerByMR ¶
func (cq *CQ) TriggerByMR(mr apistructs.MergeRequestInfo) (uint64, error)
type MRCQRequest ¶
type MRCQRequest struct {
MRInfo apistructs.MergeRequestInfo
}
type Option ¶
type Option func(*CQ)
func WithBranchRule ¶
func WithBranchRule(svc *branchrule.BranchRule) Option
func WithBundle ¶
func WithPipelineSvc ¶
func WithPipelineSvc(svc pipelinepb.PipelineServiceServer) Option
Click to show internal directories.
Click to hide internal directories.