Documentation ¶
Overview ¶
Package exporter is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock_httpserver is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock_logs is a generated GoMock package.
Package pipeline is a generated GoMock package.
Index ¶
- Constants
- Variables
- func MockValue(mockType string) interface{}
- func RandomLabelColor() string
- type MockContext
- func (m *MockContext) AddTask(arg0 func(context.Context) error, arg1 ...servicehub.TaskOption)
- func (m *MockContext) Config() interface{}
- func (m *MockContext) Deadline() (time.Time, bool)
- func (m *MockContext) Done() <-chan struct{}
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) Err() error
- func (m *MockContext) Hub() *servicehub.Hub
- func (m *MockContext) Key() string
- func (m *MockContext) Label() string
- func (m *MockContext) Logger() logs.Logger
- func (m *MockContext) Provider() servicehub.Provider
- func (m *MockContext) Service(arg0 string, arg1 ...interface{}) interface{}
- func (m *MockContext) Value(arg0 interface{}) interface{}
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) AddTask(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Config() *gomock.Call
- func (mr *MockContextMockRecorder) Deadline() *gomock.Call
- func (mr *MockContextMockRecorder) Done() *gomock.Call
- func (mr *MockContextMockRecorder) Err() *gomock.Call
- func (mr *MockContextMockRecorder) Hub() *gomock.Call
- func (mr *MockContextMockRecorder) Key() *gomock.Call
- func (mr *MockContextMockRecorder) Label() *gomock.Call
- func (mr *MockContextMockRecorder) Logger() *gomock.Call
- func (mr *MockContextMockRecorder) Provider() *gomock.Call
- func (mr *MockContextMockRecorder) Service(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Value(arg0 interface{}) *gomock.Call
- type MockExtensionInterface
- func (m *MockExtensionInterface) Create(req *pb.ExtensionCreateRequest) (*pb.Extension, error)
- func (m *MockExtensionInterface) CreateExtensionVersionByRequest(req *pb.ExtensionVersionCreateRequest) (*pb.ExtensionVersionCreateResponse, error)
- func (m *MockExtensionInterface) DeleteExtensionVersion(name, version string) error
- func (m *MockExtensionInterface) EXPECT() *MockExtensionInterfaceMockRecorder
- func (m *MockExtensionInterface) GetExtension(name, version string, yamlFormat bool) (*pb.ExtensionVersion, error)
- func (m *MockExtensionInterface) GetExtensionByGit(name, d string, file ...string) (*pb.ExtensionVersion, error)
- func (m *MockExtensionInterface) GetExtensionDefaultVersion(name string, yamlFormat bool) (*pb.ExtensionVersion, error)
- func (m *MockExtensionInterface) InitSources() error
- func (m *MockExtensionInterface) MenuExt(extensions []*pb.Extension, confMenu map[string][]string) interface{}
- func (m *MockExtensionInterface) MenuExtWithLocale(extensions []*pb.Extension, locale *i18n.LocaleResource, all bool) (map[string][]pb.ExtensionMenu, error)
- func (m *MockExtensionInterface) QueryExtensionList(all bool, typ, labels string) ([]*pb.Extension, error)
- func (m *MockExtensionInterface) QueryExtensionVersions(ctx context.Context, req *pb.ExtensionVersionQueryRequest) (*pb.ExtensionVersionQueryResponse, error)
- func (m *MockExtensionInterface) ToProtoValue(i interface{}) (*structpb.Value, error)
- type MockExtensionInterfaceMockRecorder
- func (mr *MockExtensionInterfaceMockRecorder) Create(req interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) CreateExtensionVersionByRequest(req interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) DeleteExtensionVersion(name, version interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) GetExtension(name, version, yamlFormat interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) GetExtensionByGit(name, d interface{}, file ...interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) GetExtensionDefaultVersion(name, yamlFormat interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) InitSources() *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) MenuExt(extensions, confMenu interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) MenuExtWithLocale(extensions, locale, all interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) QueryExtensionList(all, typ, labels interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) QueryExtensionVersions(ctx, req interface{}) *gomock.Call
- func (mr *MockExtensionInterfaceMockRecorder) ToProtoValue(i interface{}) *gomock.Call
- type MockIssueQuery
- func (m *MockIssueQuery) AfterIssueAppRelationCreate(issueIDs []int64) error
- func (m *MockIssueQuery) AfterIssueInclusionRelationChange(id uint64) error
- func (m *MockIssueQuery) AfterIssueUpdate(u *query.IssueUpdated) error
- func (m *MockIssueQuery) BatchGetIssuePropertyInstances(orgID int64, projectID uint64, issueType string, issueIDs []uint64) (map[uint64]*pb0.IssueAndPropertyAndValue, error)
- func (m *MockIssueQuery) BatchGetProperties(orgID int64, issuesType []string) ([]*pb0.IssuePropertyIndex, error)
- func (m *MockIssueQuery) BatchUpdateIssue(req *pb0.BatchUpdateIssueRequest) error
- func (m *MockIssueQuery) CreatePropertyRelation(req *pb0.CreateIssuePropertyInstanceRequest) error
- func (m *MockIssueQuery) EXPECT() *MockIssueQueryMockRecorder
- func (m *MockIssueQuery) GetAllIssuesByProject(req pb0.IssueListRequest) ([]dao.IssueItem, error)
- func (m *MockIssueQuery) GetIssue(id int64, identityInfo *pb.IdentityInfo) (*pb0.Issue, error)
- func (m *MockIssueQuery) GetIssueChildren(id uint64, req pb0.PagingIssueRequest) ([]dao.IssueItem, uint64, error)
- func (m *MockIssueQuery) GetIssueItem(id uint64) (*dao.IssueItem, error)
- func (m *MockIssueQuery) GetIssueLabelsByProjectID(projectID uint64) ([]dao.IssueLabel, error)
- func (m *MockIssueQuery) GetIssueParents(issueID uint64, relationType []string) ([]dao.IssueItem, error)
- func (m *MockIssueQuery) GetIssuePropertyInstance(req *pb0.GetIssuePropertyInstanceRequest) (*pb0.IssueAndPropertyAndValue, error)
- func (m *MockIssueQuery) GetIssueRelationsByIssueIDs(issueID uint64, relationType []string) ([]uint64, []uint64, error)
- func (m *MockIssueQuery) GetIssueStage(req *pb0.IssueStageRequest) ([]*pb0.IssueStage, error)
- func (m *MockIssueQuery) GetIssueStateIDs(req *pb0.GetIssueStatesRequest) ([]int64, error)
- func (m *MockIssueQuery) GetIssueStateIDsByTypes(req *apistructs.IssueStatesRequest) ([]int64, error)
- func (m *MockIssueQuery) GetIssueStatesBelong(req *pb0.GetIssueStateRelationRequest) ([]apistructs.IssueStateState, error)
- func (m *MockIssueQuery) GetIssueStatesMap(req *pb0.GetIssueStatesRequest) (map[string][]pb0.IssueStatus, error)
- func (m *MockIssueQuery) GetIssuesByIssueIDs(issueIDs []uint64) ([]*pb0.Issue, error)
- func (m *MockIssueQuery) GetIssuesStatesByProjectID(projectID uint64, issueType string) ([]dao.IssueState, error)
- func (m *MockIssueQuery) GetProperties(req *pb0.GetIssuePropertyRequest) ([]*pb0.IssuePropertyIndex, error)
- func (m *MockIssueQuery) ListStatesTransByProjectID(projectID uint64) ([]dao.IssueStateTransition, error)
- func (m *MockIssueQuery) Paging(req pb0.PagingIssueRequest) ([]*pb0.Issue, uint64, error)
- func (m *MockIssueQuery) SyncIssueChildrenIteration(issue *pb0.Issue, iterationID int64) error
- func (m *MockIssueQuery) SyncLabels(value *pb1.Value, issueIDs []uint64) error
- func (m *MockIssueQuery) UpdateIssue(req *pb0.UpdateIssueRequest) error
- func (m *MockIssueQuery) UpdateLabels(id, projectID uint64, labelNames []string) error
- type MockIssueQueryMockRecorder
- func (mr *MockIssueQueryMockRecorder) AfterIssueAppRelationCreate(issueIDs interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) AfterIssueInclusionRelationChange(id interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) AfterIssueUpdate(u interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) BatchGetIssuePropertyInstances(orgID, projectID, issueType, issueIDs interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) BatchGetProperties(orgID, issuesType interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) BatchUpdateIssue(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) CreatePropertyRelation(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetAllIssuesByProject(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssue(id, identityInfo interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueChildren(id, req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueItem(id interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueLabelsByProjectID(projectID interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueParents(issueID, relationType interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssuePropertyInstance(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueRelationsByIssueIDs(issueID, relationType interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueStage(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueStateIDs(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueStateIDsByTypes(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueStatesBelong(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssueStatesMap(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssuesByIssueIDs(issueIDs interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetIssuesStatesByProjectID(projectID, issueType interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) GetProperties(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) ListStatesTransByProjectID(projectID interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) Paging(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) SyncIssueChildrenIteration(issue, iterationID interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) SyncLabels(value, issueIDs interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) UpdateIssue(req interface{}) *gomock.Call
- func (mr *MockIssueQueryMockRecorder) UpdateLabels(id, projectID, labelNames interface{}) *gomock.Call
- type MockLogger
- func (m *MockLogger) Debug(args ...interface{})
- func (m *MockLogger) Debugf(template string, args ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(args ...interface{})
- func (m *MockLogger) Errorf(template string, args ...interface{})
- func (m *MockLogger) Fatal(args ...interface{})
- func (m *MockLogger) Fatalf(template string, args ...interface{})
- func (m *MockLogger) Info(args ...interface{})
- func (m *MockLogger) Infof(template string, args ...interface{})
- func (m *MockLogger) Panic(args ...interface{})
- func (m *MockLogger) Panicf(template string, args ...interface{})
- func (m *MockLogger) SetLevel(lvl string) error
- func (m *MockLogger) SetOutput(output io.Writer)
- func (m *MockLogger) Sub(name string) logs.Logger
- func (m *MockLogger) Warn(args ...interface{})
- func (m *MockLogger) Warnf(template string, args ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Debugf(template interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Errorf(template interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatalf(template interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Infof(template interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panic(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panicf(template interface{}, args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) SetLevel(lvl interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) SetOutput(output interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Sub(name interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(args ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warnf(template interface{}, args ...interface{}) *gomock.Call
- type MockPipelineServiceClient
- func (m *MockPipelineServiceClient) EXPECT() *MockPipelineServiceClientMockRecorder
- func (m *MockPipelineServiceClient) PipelineBatchCreate(ctx context.Context, in *pb.PipelineBatchCreateRequest, ...) (*pb.PipelineBatchCreateResponse, error)
- func (m *MockPipelineServiceClient) PipelineCallback(ctx context.Context, in *pb.PipelineCallbackRequest, opts ...grpc.CallOption) (*pb.PipelineCallbackResponse, error)
- func (m *MockPipelineServiceClient) PipelineCancel(ctx context.Context, in *pb.PipelineCancelRequest, opts ...grpc.CallOption) (*pb.PipelineCancelResponse, error)
- func (m *MockPipelineServiceClient) PipelineCreate(ctx context.Context, in *pb.PipelineCreateRequest, opts ...grpc.CallOption) (*pb.PipelineCreateResponse, error)
- func (m *MockPipelineServiceClient) PipelineCreateV2(ctx context.Context, in *pb.PipelineCreateRequestV2, opts ...grpc.CallOption) (*pb.PipelineCreateResponse, error)
- func (m *MockPipelineServiceClient) PipelineDelete(ctx context.Context, in *pb.PipelineDeleteRequest, opts ...grpc.CallOption) (*pb.PipelineDeleteResponse, error)
- func (m *MockPipelineServiceClient) PipelineDetail(ctx context.Context, in *pb.PipelineDetailRequest, opts ...grpc.CallOption) (*pb.PipelineDetailResponse, error)
- func (m *MockPipelineServiceClient) PipelineOperate(ctx context.Context, in *pb.PipelineOperateRequest, opts ...grpc.CallOption) (*pb.PipelineOperateResponse, error)
- func (m *MockPipelineServiceClient) PipelinePaging(ctx context.Context, in *pb.PipelinePagingRequest, opts ...grpc.CallOption) (*pb.PipelinePagingResponse, error)
- func (m *MockPipelineServiceClient) PipelineRerun(ctx context.Context, in *pb.PipelineRerunRequest, opts ...grpc.CallOption) (*pb.PipelineRerunResponse, error)
- func (m *MockPipelineServiceClient) PipelineRerunFailed(ctx context.Context, in *pb.PipelineRerunFailedRequest, ...) (*pb.PipelineRerunFailedResponse, error)
- func (m *MockPipelineServiceClient) PipelineRun(ctx context.Context, in *pb.PipelineRunRequest, opts ...grpc.CallOption) (*pb.PipelineRunResponse, error)
- func (m *MockPipelineServiceClient) PipelineStatistic(ctx context.Context, in *pb.PipelineStatisticRequest, opts ...grpc.CallOption) (*pb.PipelineStatisticResponse, error)
- func (m *MockPipelineServiceClient) PipelineTaskView(ctx context.Context, in *pb.PipelineTaskViewRequest, opts ...grpc.CallOption) (*pb.PipelineTaskViewResponse, error)
- func (m *MockPipelineServiceClient) QueryPipelineSnippet(ctx context.Context, in *pb.PipelineSnippetQueryRequest, ...) (*pb.PipelineSnippetQueryResponse, error)
- type MockPipelineServiceClientMockRecorder
- func (mr *MockPipelineServiceClientMockRecorder) PipelineBatchCreate(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineCallback(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineCreate(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineCreateV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineDelete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineDetail(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineOperate(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelinePaging(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineRerun(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineRerunFailed(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineRun(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineStatistic(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) PipelineTaskView(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockPipelineServiceClientMockRecorder) QueryPipelineSnippet(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockPipelineServiceServer
- func (m *MockPipelineServiceServer) EXPECT() *MockPipelineServiceServerMockRecorder
- func (m *MockPipelineServiceServer) PipelineBatchCreate(arg0 context.Context, arg1 *pb.PipelineBatchCreateRequest) (*pb.PipelineBatchCreateResponse, error)
- func (m *MockPipelineServiceServer) PipelineCallback(arg0 context.Context, arg1 *pb.PipelineCallbackRequest) (*pb.PipelineCallbackResponse, error)
- func (m *MockPipelineServiceServer) PipelineCancel(arg0 context.Context, arg1 *pb.PipelineCancelRequest) (*pb.PipelineCancelResponse, error)
- func (m *MockPipelineServiceServer) PipelineCreate(arg0 context.Context, arg1 *pb.PipelineCreateRequest) (*pb.PipelineCreateResponse, error)
- func (m *MockPipelineServiceServer) PipelineCreateV2(arg0 context.Context, arg1 *pb.PipelineCreateRequestV2) (*pb.PipelineCreateResponse, error)
- func (m *MockPipelineServiceServer) PipelineDelete(arg0 context.Context, arg1 *pb.PipelineDeleteRequest) (*pb.PipelineDeleteResponse, error)
- func (m *MockPipelineServiceServer) PipelineDetail(arg0 context.Context, arg1 *pb.PipelineDetailRequest) (*pb.PipelineDetailResponse, error)
- func (m *MockPipelineServiceServer) PipelineOperate(arg0 context.Context, arg1 *pb.PipelineOperateRequest) (*pb.PipelineOperateResponse, error)
- func (m *MockPipelineServiceServer) PipelinePaging(arg0 context.Context, arg1 *pb.PipelinePagingRequest) (*pb.PipelinePagingResponse, error)
- func (m *MockPipelineServiceServer) PipelineRerun(arg0 context.Context, arg1 *pb.PipelineRerunRequest) (*pb.PipelineRerunResponse, error)
- func (m *MockPipelineServiceServer) PipelineRerunFailed(arg0 context.Context, arg1 *pb.PipelineRerunFailedRequest) (*pb.PipelineRerunFailedResponse, error)
- func (m *MockPipelineServiceServer) PipelineRun(arg0 context.Context, arg1 *pb.PipelineRunRequest) (*pb.PipelineRunResponse, error)
- func (m *MockPipelineServiceServer) PipelineStatistic(arg0 context.Context, arg1 *pb.PipelineStatisticRequest) (*pb.PipelineStatisticResponse, error)
- func (m *MockPipelineServiceServer) PipelineTaskView(arg0 context.Context, arg1 *pb.PipelineTaskViewRequest) (*pb.PipelineTaskViewResponse, error)
- func (m *MockPipelineServiceServer) QueryPipelineSnippet(arg0 context.Context, arg1 *pb.PipelineSnippetQueryRequest) (*pb.PipelineSnippetQueryResponse, error)
- type MockPipelineServiceServerMockRecorder
- func (mr *MockPipelineServiceServerMockRecorder) PipelineBatchCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineCallback(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineCancel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineCreateV2(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineDetail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineOperate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelinePaging(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineRerun(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineRerunFailed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineRun(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineStatistic(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) PipelineTaskView(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPipelineServiceServerMockRecorder) QueryPipelineSnippet(arg0, arg1 interface{}) *gomock.Call
- type MockRouter
- func (m *MockRouter) Add(method, path string, handler interface{}, options ...interface{}) error
- func (m *MockRouter) Any(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) CONNECT(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) DELETE(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) EXPECT() *MockRouterMockRecorder
- func (m *MockRouter) File(path, filepath string, options ...interface{})
- func (m *MockRouter) GET(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) HEAD(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) OPTIONS(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) PATCH(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) POST(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) PUT(path string, handler interface{}, options ...interface{})
- func (m *MockRouter) Static(prefix, root string, options ...interface{})
- func (m *MockRouter) TRACE(path string, handler interface{}, options ...interface{})
- type MockRouterManager
- type MockRouterManagerMockRecorder
- type MockRouterMockRecorder
- func (mr *MockRouterMockRecorder) Add(method, path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) Any(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) CONNECT(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) DELETE(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) File(path, filepath interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) GET(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) HEAD(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) OPTIONS(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) PATCH(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) POST(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) PUT(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) Static(prefix, root interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterMockRecorder) TRACE(path, handler interface{}, options ...interface{}) *gomock.Call
- type MockRouterTx
- func (m *MockRouterTx) Add(method, path string, handler interface{}, options ...interface{}) error
- func (m *MockRouterTx) Any(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) CONNECT(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) Commit() error
- func (m *MockRouterTx) DELETE(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) EXPECT() *MockRouterTxMockRecorder
- func (m *MockRouterTx) File(path, filepath string, options ...interface{})
- func (m *MockRouterTx) GET(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) HEAD(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) OPTIONS(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) PATCH(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) POST(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) PUT(path string, handler interface{}, options ...interface{})
- func (m *MockRouterTx) Reloadable() bool
- func (m *MockRouterTx) Rollback()
- func (m *MockRouterTx) Static(prefix, root string, options ...interface{})
- func (m *MockRouterTx) TRACE(path string, handler interface{}, options ...interface{})
- type MockRouterTxMockRecorder
- func (mr *MockRouterTxMockRecorder) Add(method, path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) Any(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) CONNECT(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) Commit() *gomock.Call
- func (mr *MockRouterTxMockRecorder) DELETE(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) File(path, filepath interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) GET(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) HEAD(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) OPTIONS(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) PATCH(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) POST(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) PUT(path, handler interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) Reloadable() *gomock.Call
- func (mr *MockRouterTxMockRecorder) Rollback() *gomock.Call
- func (mr *MockRouterTxMockRecorder) Static(prefix, root interface{}, options ...interface{}) *gomock.Call
- func (mr *MockRouterTxMockRecorder) TRACE(path, handler interface{}, options ...interface{}) *gomock.Call
Constants ¶
const ( String = "string" Integer = "integer" Float = "float" Boolean = "boolean" Upper = "upper" Lower = "lower" Mobile = "mobile" DigitalLetters = "digital_letters" Letters = "letters" Character = "character" List = "list" )
数据类型
const ( HourStampS = 3600 HourStampMs = 3600000 HourStampNs = 3600000000000 )
const ( TimeStamp = "timestamp" // 当前时间戳s格式:1587631494(s) TimeStampHour = "timestamp_hour" // 1小时前时间戳s格式:1587627894(s) TimeStampAfterHour = "timestamp_after_hour" // 1小时后时间戳s格式:1587636854(s) TimeStampDay = "timestamp_day" // 1天前时间戳s格式:1587545094(s) TimeStampAfterDay = "timestamp_after_day" // 1天后时间戳s格式:1587719654(s) TimeStampMs = "timestamp_ms" // 当前时间戳ms格式:1587631494093(ms) TimeStampMsHour = "timestamp_ms_hour" // 1小时前时间戳ms格式:1587627894093(ms) TimeStampMsAfterHour = "timestamp_ms_after_hour" // 1小时后时间戳ms格式:1587636854150(ms) TimeStampMsDay = "timestamp_ms_day" // 1天前时间戳ms格式:1587545094093(ms) TimeStampMsAfterDay = "timestamp_ms_after_day" // 1天后时间戳ms格式:1587719654150(ms) TimeStampNs = "timestamp_ns" // 当前时间戳ns格式:1587631494093562000(ns) TimeStampNsHour = "timestamp_ns_hour" // 1小时前时间戳ns格式:1587627894093566000(ns) TimeStampNsAfterHour = "timestamp_ns_after_hour" // 1小时后时间戳ns格式:1587636854150072000(ns) TimeStampNsDay = "timestamp_ns_day" // 1天前前时间戳ns格式:1587545094093570000(ns) TimeStampNsAfterDay = "timestamp_ns_after_day" // 1天前后时间戳ns格式:1587719654150080000(ns) Date = "date" // 当前日期格式:2006-01-02 DateDay = "date_day" // 1天前日期格式:2006-01-01 DateTime = "datetime" // 当前带时间的格式:2006-01-02 15:04:05 DateTimeHour = "datetime_hour" // 1小时前带时间的格式:2006-01-02 14:04:05 DateTimeCustom = "datetime_custom_" // custom datetime format )
Variables ¶
var (
LabelColors = []string{"purple", "blue", "orange", "cyan", "green", "magenta", "yellow", "red", "water-blue", "yellow-green"}
)
Functions ¶
func RandomLabelColor ¶
func RandomLabelColor() string
Types ¶
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface.
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance.
func (*MockContext) AddTask ¶
func (m *MockContext) AddTask(arg0 func(context.Context) error, arg1 ...servicehub.TaskOption)
AddTask mocks base method.
func (*MockContext) Deadline ¶
func (m *MockContext) Deadline() (time.Time, bool)
Deadline mocks base method.
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) Provider ¶
func (m *MockContext) Provider() servicehub.Provider
Provider mocks base method.
func (*MockContext) Service ¶
func (m *MockContext) Service(arg0 string, arg1 ...interface{}) interface{}
Service mocks base method.
func (*MockContext) Value ¶
func (m *MockContext) Value(arg0 interface{}) interface{}
Value mocks base method.
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext.
func (*MockContextMockRecorder) AddTask ¶
func (mr *MockContextMockRecorder) AddTask(arg0 interface{}, arg1 ...interface{}) *gomock.Call
AddTask indicates an expected call of AddTask.
func (*MockContextMockRecorder) Config ¶
func (mr *MockContextMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockContextMockRecorder) Deadline ¶
func (mr *MockContextMockRecorder) Deadline() *gomock.Call
Deadline indicates an expected call of Deadline.
func (*MockContextMockRecorder) Done ¶
func (mr *MockContextMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done.
func (*MockContextMockRecorder) Err ¶
func (mr *MockContextMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockContextMockRecorder) Hub ¶
func (mr *MockContextMockRecorder) Hub() *gomock.Call
Hub indicates an expected call of Hub.
func (*MockContextMockRecorder) Key ¶
func (mr *MockContextMockRecorder) Key() *gomock.Call
Key indicates an expected call of Key.
func (*MockContextMockRecorder) Label ¶
func (mr *MockContextMockRecorder) Label() *gomock.Call
Label indicates an expected call of Label.
func (*MockContextMockRecorder) Logger ¶
func (mr *MockContextMockRecorder) Logger() *gomock.Call
Logger indicates an expected call of Logger.
func (*MockContextMockRecorder) Provider ¶
func (mr *MockContextMockRecorder) Provider() *gomock.Call
Provider indicates an expected call of Provider.
func (*MockContextMockRecorder) Service ¶
func (mr *MockContextMockRecorder) Service(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Service indicates an expected call of Service.
func (*MockContextMockRecorder) Value ¶
func (mr *MockContextMockRecorder) Value(arg0 interface{}) *gomock.Call
Value indicates an expected call of Value.
type MockExtensionInterface ¶
type MockExtensionInterface struct {
// contains filtered or unexported fields
}
MockExtensionInterface is a mock of Interface interface.
func NewMockExtensionInterface ¶
func NewMockExtensionInterface(ctrl *gomock.Controller) *MockExtensionInterface
NewMockExtensionInterface creates a new mock instance.
func (*MockExtensionInterface) Create ¶
func (m *MockExtensionInterface) Create(req *pb.ExtensionCreateRequest) (*pb.Extension, error)
Create mocks base method.
func (*MockExtensionInterface) CreateExtensionVersionByRequest ¶
func (m *MockExtensionInterface) CreateExtensionVersionByRequest(req *pb.ExtensionVersionCreateRequest) (*pb.ExtensionVersionCreateResponse, error)
CreateExtensionVersionByRequest mocks base method.
func (*MockExtensionInterface) DeleteExtensionVersion ¶
func (m *MockExtensionInterface) DeleteExtensionVersion(name, version string) error
DeleteExtensionVersion mocks base method.
func (*MockExtensionInterface) EXPECT ¶
func (m *MockExtensionInterface) EXPECT() *MockExtensionInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtensionInterface) GetExtension ¶
func (m *MockExtensionInterface) GetExtension(name, version string, yamlFormat bool) (*pb.ExtensionVersion, error)
GetExtension mocks base method.
func (*MockExtensionInterface) GetExtensionByGit ¶
func (m *MockExtensionInterface) GetExtensionByGit(name, d string, file ...string) (*pb.ExtensionVersion, error)
GetExtensionByGit mocks base method.
func (*MockExtensionInterface) GetExtensionDefaultVersion ¶
func (m *MockExtensionInterface) GetExtensionDefaultVersion(name string, yamlFormat bool) (*pb.ExtensionVersion, error)
GetExtensionDefaultVersion mocks base method.
func (*MockExtensionInterface) InitSources ¶
func (m *MockExtensionInterface) InitSources() error
InitSources mocks base method.
func (*MockExtensionInterface) MenuExt ¶
func (m *MockExtensionInterface) MenuExt(extensions []*pb.Extension, confMenu map[string][]string) interface{}
MenuExt mocks base method.
func (*MockExtensionInterface) MenuExtWithLocale ¶
func (m *MockExtensionInterface) MenuExtWithLocale(extensions []*pb.Extension, locale *i18n.LocaleResource, all bool) (map[string][]pb.ExtensionMenu, error)
MenuExtWithLocale mocks base method.
func (*MockExtensionInterface) QueryExtensionList ¶
func (m *MockExtensionInterface) QueryExtensionList(all bool, typ, labels string) ([]*pb.Extension, error)
QueryExtensionList mocks base method.
func (*MockExtensionInterface) QueryExtensionVersions ¶
func (m *MockExtensionInterface) QueryExtensionVersions(ctx context.Context, req *pb.ExtensionVersionQueryRequest) (*pb.ExtensionVersionQueryResponse, error)
QueryExtensionVersions mocks base method.
func (*MockExtensionInterface) ToProtoValue ¶
func (m *MockExtensionInterface) ToProtoValue(i interface{}) (*structpb.Value, error)
ToProtoValue mocks base method.
type MockExtensionInterfaceMockRecorder ¶
type MockExtensionInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionInterfaceMockRecorder is the mock recorder for MockExtensionInterface.
func (*MockExtensionInterfaceMockRecorder) Create ¶
func (mr *MockExtensionInterfaceMockRecorder) Create(req interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockExtensionInterfaceMockRecorder) CreateExtensionVersionByRequest ¶
func (mr *MockExtensionInterfaceMockRecorder) CreateExtensionVersionByRequest(req interface{}) *gomock.Call
CreateExtensionVersionByRequest indicates an expected call of CreateExtensionVersionByRequest.
func (*MockExtensionInterfaceMockRecorder) DeleteExtensionVersion ¶
func (mr *MockExtensionInterfaceMockRecorder) DeleteExtensionVersion(name, version interface{}) *gomock.Call
DeleteExtensionVersion indicates an expected call of DeleteExtensionVersion.
func (*MockExtensionInterfaceMockRecorder) GetExtension ¶
func (mr *MockExtensionInterfaceMockRecorder) GetExtension(name, version, yamlFormat interface{}) *gomock.Call
GetExtension indicates an expected call of GetExtension.
func (*MockExtensionInterfaceMockRecorder) GetExtensionByGit ¶
func (mr *MockExtensionInterfaceMockRecorder) GetExtensionByGit(name, d interface{}, file ...interface{}) *gomock.Call
GetExtensionByGit indicates an expected call of GetExtensionByGit.
func (*MockExtensionInterfaceMockRecorder) GetExtensionDefaultVersion ¶
func (mr *MockExtensionInterfaceMockRecorder) GetExtensionDefaultVersion(name, yamlFormat interface{}) *gomock.Call
GetExtensionDefaultVersion indicates an expected call of GetExtensionDefaultVersion.
func (*MockExtensionInterfaceMockRecorder) InitSources ¶
func (mr *MockExtensionInterfaceMockRecorder) InitSources() *gomock.Call
InitSources indicates an expected call of InitSources.
func (*MockExtensionInterfaceMockRecorder) MenuExt ¶
func (mr *MockExtensionInterfaceMockRecorder) MenuExt(extensions, confMenu interface{}) *gomock.Call
MenuExt indicates an expected call of MenuExt.
func (*MockExtensionInterfaceMockRecorder) MenuExtWithLocale ¶
func (mr *MockExtensionInterfaceMockRecorder) MenuExtWithLocale(extensions, locale, all interface{}) *gomock.Call
MenuExtWithLocale indicates an expected call of MenuExtWithLocale.
func (*MockExtensionInterfaceMockRecorder) QueryExtensionList ¶
func (mr *MockExtensionInterfaceMockRecorder) QueryExtensionList(all, typ, labels interface{}) *gomock.Call
QueryExtensionList indicates an expected call of QueryExtensionList.
func (*MockExtensionInterfaceMockRecorder) QueryExtensionVersions ¶
func (mr *MockExtensionInterfaceMockRecorder) QueryExtensionVersions(ctx, req interface{}) *gomock.Call
QueryExtensionVersions indicates an expected call of QueryExtensionVersions.
func (*MockExtensionInterfaceMockRecorder) ToProtoValue ¶
func (mr *MockExtensionInterfaceMockRecorder) ToProtoValue(i interface{}) *gomock.Call
ToProtoValue indicates an expected call of ToProtoValue.
type MockIssueQuery ¶
type MockIssueQuery struct {
// contains filtered or unexported fields
}
MockIssueQuery is a mock of Interface interface.
func NewMockIssueQuery ¶
func NewMockIssueQuery(ctrl *gomock.Controller) *MockIssueQuery
NewMockIssueQuery creates a new mock instance.
func (*MockIssueQuery) AfterIssueAppRelationCreate ¶
func (m *MockIssueQuery) AfterIssueAppRelationCreate(issueIDs []int64) error
AfterIssueAppRelationCreate mocks base method.
func (*MockIssueQuery) AfterIssueInclusionRelationChange ¶
func (m *MockIssueQuery) AfterIssueInclusionRelationChange(id uint64) error
AfterIssueInclusionRelationChange mocks base method.
func (*MockIssueQuery) AfterIssueUpdate ¶
func (m *MockIssueQuery) AfterIssueUpdate(u *query.IssueUpdated) error
AfterIssueUpdate mocks base method.
func (*MockIssueQuery) BatchGetIssuePropertyInstances ¶
func (m *MockIssueQuery) BatchGetIssuePropertyInstances(orgID int64, projectID uint64, issueType string, issueIDs []uint64) (map[uint64]*pb0.IssueAndPropertyAndValue, error)
BatchGetIssuePropertyInstances mocks base method.
func (*MockIssueQuery) BatchGetProperties ¶
func (m *MockIssueQuery) BatchGetProperties(orgID int64, issuesType []string) ([]*pb0.IssuePropertyIndex, error)
BatchGetProperties mocks base method.
func (*MockIssueQuery) BatchUpdateIssue ¶
func (m *MockIssueQuery) BatchUpdateIssue(req *pb0.BatchUpdateIssueRequest) error
BatchUpdateIssue mocks base method.
func (*MockIssueQuery) CreatePropertyRelation ¶
func (m *MockIssueQuery) CreatePropertyRelation(req *pb0.CreateIssuePropertyInstanceRequest) error
CreatePropertyRelation mocks base method.
func (*MockIssueQuery) EXPECT ¶
func (m *MockIssueQuery) EXPECT() *MockIssueQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIssueQuery) GetAllIssuesByProject ¶
func (m *MockIssueQuery) GetAllIssuesByProject(req pb0.IssueListRequest) ([]dao.IssueItem, error)
GetAllIssuesByProject mocks base method.
func (*MockIssueQuery) GetIssue ¶
func (m *MockIssueQuery) GetIssue(id int64, identityInfo *pb.IdentityInfo) (*pb0.Issue, error)
GetIssue mocks base method.
func (*MockIssueQuery) GetIssueChildren ¶
func (m *MockIssueQuery) GetIssueChildren(id uint64, req pb0.PagingIssueRequest) ([]dao.IssueItem, uint64, error)
GetIssueChildren mocks base method.
func (*MockIssueQuery) GetIssueItem ¶
func (m *MockIssueQuery) GetIssueItem(id uint64) (*dao.IssueItem, error)
GetIssueItem mocks base method.
func (*MockIssueQuery) GetIssueLabelsByProjectID ¶
func (m *MockIssueQuery) GetIssueLabelsByProjectID(projectID uint64) ([]dao.IssueLabel, error)
GetIssueLabelsByProjectID mocks base method.
func (*MockIssueQuery) GetIssueParents ¶
func (m *MockIssueQuery) GetIssueParents(issueID uint64, relationType []string) ([]dao.IssueItem, error)
GetIssueParents mocks base method.
func (*MockIssueQuery) GetIssuePropertyInstance ¶
func (m *MockIssueQuery) GetIssuePropertyInstance(req *pb0.GetIssuePropertyInstanceRequest) (*pb0.IssueAndPropertyAndValue, error)
GetIssuePropertyInstance mocks base method.
func (*MockIssueQuery) GetIssueRelationsByIssueIDs ¶
func (m *MockIssueQuery) GetIssueRelationsByIssueIDs(issueID uint64, relationType []string) ([]uint64, []uint64, error)
GetIssueRelationsByIssueIDs mocks base method.
func (*MockIssueQuery) GetIssueStage ¶
func (m *MockIssueQuery) GetIssueStage(req *pb0.IssueStageRequest) ([]*pb0.IssueStage, error)
GetIssueStage mocks base method.
func (*MockIssueQuery) GetIssueStateIDs ¶
func (m *MockIssueQuery) GetIssueStateIDs(req *pb0.GetIssueStatesRequest) ([]int64, error)
GetIssueStateIDs mocks base method.
func (*MockIssueQuery) GetIssueStateIDsByTypes ¶
func (m *MockIssueQuery) GetIssueStateIDsByTypes(req *apistructs.IssueStatesRequest) ([]int64, error)
GetIssueStateIDsByTypes mocks base method.
func (*MockIssueQuery) GetIssueStatesBelong ¶
func (m *MockIssueQuery) GetIssueStatesBelong(req *pb0.GetIssueStateRelationRequest) ([]apistructs.IssueStateState, error)
GetIssueStatesBelong mocks base method.
func (*MockIssueQuery) GetIssueStatesMap ¶
func (m *MockIssueQuery) GetIssueStatesMap(req *pb0.GetIssueStatesRequest) (map[string][]pb0.IssueStatus, error)
GetIssueStatesMap mocks base method.
func (*MockIssueQuery) GetIssuesByIssueIDs ¶
func (m *MockIssueQuery) GetIssuesByIssueIDs(issueIDs []uint64) ([]*pb0.Issue, error)
GetIssuesByIssueIDs mocks base method.
func (*MockIssueQuery) GetIssuesStatesByProjectID ¶
func (m *MockIssueQuery) GetIssuesStatesByProjectID(projectID uint64, issueType string) ([]dao.IssueState, error)
GetIssuesStatesByProjectID mocks base method.
func (*MockIssueQuery) GetProperties ¶
func (m *MockIssueQuery) GetProperties(req *pb0.GetIssuePropertyRequest) ([]*pb0.IssuePropertyIndex, error)
GetProperties mocks base method.
func (*MockIssueQuery) ListStatesTransByProjectID ¶
func (m *MockIssueQuery) ListStatesTransByProjectID(projectID uint64) ([]dao.IssueStateTransition, error)
ListStatesTransByProjectID mocks base method.
func (*MockIssueQuery) Paging ¶
func (m *MockIssueQuery) Paging(req pb0.PagingIssueRequest) ([]*pb0.Issue, uint64, error)
Paging mocks base method.
func (*MockIssueQuery) SyncIssueChildrenIteration ¶
func (m *MockIssueQuery) SyncIssueChildrenIteration(issue *pb0.Issue, iterationID int64) error
SyncIssueChildrenIteration mocks base method.
func (*MockIssueQuery) SyncLabels ¶
func (m *MockIssueQuery) SyncLabels(value *pb1.Value, issueIDs []uint64) error
SyncLabels mocks base method.
func (*MockIssueQuery) UpdateIssue ¶
func (m *MockIssueQuery) UpdateIssue(req *pb0.UpdateIssueRequest) error
UpdateIssue mocks base method.
func (*MockIssueQuery) UpdateLabels ¶
func (m *MockIssueQuery) UpdateLabels(id, projectID uint64, labelNames []string) error
UpdateLabels mocks base method.
type MockIssueQueryMockRecorder ¶
type MockIssueQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockIssueQueryMockRecorder is the mock recorder for MockIssueQuery.
func (*MockIssueQueryMockRecorder) AfterIssueAppRelationCreate ¶
func (mr *MockIssueQueryMockRecorder) AfterIssueAppRelationCreate(issueIDs interface{}) *gomock.Call
AfterIssueAppRelationCreate indicates an expected call of AfterIssueAppRelationCreate.
func (*MockIssueQueryMockRecorder) AfterIssueInclusionRelationChange ¶
func (mr *MockIssueQueryMockRecorder) AfterIssueInclusionRelationChange(id interface{}) *gomock.Call
AfterIssueInclusionRelationChange indicates an expected call of AfterIssueInclusionRelationChange.
func (*MockIssueQueryMockRecorder) AfterIssueUpdate ¶
func (mr *MockIssueQueryMockRecorder) AfterIssueUpdate(u interface{}) *gomock.Call
AfterIssueUpdate indicates an expected call of AfterIssueUpdate.
func (*MockIssueQueryMockRecorder) BatchGetIssuePropertyInstances ¶
func (mr *MockIssueQueryMockRecorder) BatchGetIssuePropertyInstances(orgID, projectID, issueType, issueIDs interface{}) *gomock.Call
BatchGetIssuePropertyInstances indicates an expected call of BatchGetIssuePropertyInstances.
func (*MockIssueQueryMockRecorder) BatchGetProperties ¶
func (mr *MockIssueQueryMockRecorder) BatchGetProperties(orgID, issuesType interface{}) *gomock.Call
BatchGetProperties indicates an expected call of BatchGetProperties.
func (*MockIssueQueryMockRecorder) BatchUpdateIssue ¶
func (mr *MockIssueQueryMockRecorder) BatchUpdateIssue(req interface{}) *gomock.Call
BatchUpdateIssue indicates an expected call of BatchUpdateIssue.
func (*MockIssueQueryMockRecorder) CreatePropertyRelation ¶
func (mr *MockIssueQueryMockRecorder) CreatePropertyRelation(req interface{}) *gomock.Call
CreatePropertyRelation indicates an expected call of CreatePropertyRelation.
func (*MockIssueQueryMockRecorder) GetAllIssuesByProject ¶
func (mr *MockIssueQueryMockRecorder) GetAllIssuesByProject(req interface{}) *gomock.Call
GetAllIssuesByProject indicates an expected call of GetAllIssuesByProject.
func (*MockIssueQueryMockRecorder) GetIssue ¶
func (mr *MockIssueQueryMockRecorder) GetIssue(id, identityInfo interface{}) *gomock.Call
GetIssue indicates an expected call of GetIssue.
func (*MockIssueQueryMockRecorder) GetIssueChildren ¶
func (mr *MockIssueQueryMockRecorder) GetIssueChildren(id, req interface{}) *gomock.Call
GetIssueChildren indicates an expected call of GetIssueChildren.
func (*MockIssueQueryMockRecorder) GetIssueItem ¶
func (mr *MockIssueQueryMockRecorder) GetIssueItem(id interface{}) *gomock.Call
GetIssueItem indicates an expected call of GetIssueItem.
func (*MockIssueQueryMockRecorder) GetIssueLabelsByProjectID ¶
func (mr *MockIssueQueryMockRecorder) GetIssueLabelsByProjectID(projectID interface{}) *gomock.Call
GetIssueLabelsByProjectID indicates an expected call of GetIssueLabelsByProjectID.
func (*MockIssueQueryMockRecorder) GetIssueParents ¶
func (mr *MockIssueQueryMockRecorder) GetIssueParents(issueID, relationType interface{}) *gomock.Call
GetIssueParents indicates an expected call of GetIssueParents.
func (*MockIssueQueryMockRecorder) GetIssuePropertyInstance ¶
func (mr *MockIssueQueryMockRecorder) GetIssuePropertyInstance(req interface{}) *gomock.Call
GetIssuePropertyInstance indicates an expected call of GetIssuePropertyInstance.
func (*MockIssueQueryMockRecorder) GetIssueRelationsByIssueIDs ¶
func (mr *MockIssueQueryMockRecorder) GetIssueRelationsByIssueIDs(issueID, relationType interface{}) *gomock.Call
GetIssueRelationsByIssueIDs indicates an expected call of GetIssueRelationsByIssueIDs.
func (*MockIssueQueryMockRecorder) GetIssueStage ¶
func (mr *MockIssueQueryMockRecorder) GetIssueStage(req interface{}) *gomock.Call
GetIssueStage indicates an expected call of GetIssueStage.
func (*MockIssueQueryMockRecorder) GetIssueStateIDs ¶
func (mr *MockIssueQueryMockRecorder) GetIssueStateIDs(req interface{}) *gomock.Call
GetIssueStateIDs indicates an expected call of GetIssueStateIDs.
func (*MockIssueQueryMockRecorder) GetIssueStateIDsByTypes ¶
func (mr *MockIssueQueryMockRecorder) GetIssueStateIDsByTypes(req interface{}) *gomock.Call
GetIssueStateIDsByTypes indicates an expected call of GetIssueStateIDsByTypes.
func (*MockIssueQueryMockRecorder) GetIssueStatesBelong ¶
func (mr *MockIssueQueryMockRecorder) GetIssueStatesBelong(req interface{}) *gomock.Call
GetIssueStatesBelong indicates an expected call of GetIssueStatesBelong.
func (*MockIssueQueryMockRecorder) GetIssueStatesMap ¶
func (mr *MockIssueQueryMockRecorder) GetIssueStatesMap(req interface{}) *gomock.Call
GetIssueStatesMap indicates an expected call of GetIssueStatesMap.
func (*MockIssueQueryMockRecorder) GetIssuesByIssueIDs ¶
func (mr *MockIssueQueryMockRecorder) GetIssuesByIssueIDs(issueIDs interface{}) *gomock.Call
GetIssuesByIssueIDs indicates an expected call of GetIssuesByIssueIDs.
func (*MockIssueQueryMockRecorder) GetIssuesStatesByProjectID ¶
func (mr *MockIssueQueryMockRecorder) GetIssuesStatesByProjectID(projectID, issueType interface{}) *gomock.Call
GetIssuesStatesByProjectID indicates an expected call of GetIssuesStatesByProjectID.
func (*MockIssueQueryMockRecorder) GetProperties ¶
func (mr *MockIssueQueryMockRecorder) GetProperties(req interface{}) *gomock.Call
GetProperties indicates an expected call of GetProperties.
func (*MockIssueQueryMockRecorder) ListStatesTransByProjectID ¶
func (mr *MockIssueQueryMockRecorder) ListStatesTransByProjectID(projectID interface{}) *gomock.Call
ListStatesTransByProjectID indicates an expected call of ListStatesTransByProjectID.
func (*MockIssueQueryMockRecorder) Paging ¶
func (mr *MockIssueQueryMockRecorder) Paging(req interface{}) *gomock.Call
Paging indicates an expected call of Paging.
func (*MockIssueQueryMockRecorder) SyncIssueChildrenIteration ¶
func (mr *MockIssueQueryMockRecorder) SyncIssueChildrenIteration(issue, iterationID interface{}) *gomock.Call
SyncIssueChildrenIteration indicates an expected call of SyncIssueChildrenIteration.
func (*MockIssueQueryMockRecorder) SyncLabels ¶
func (mr *MockIssueQueryMockRecorder) SyncLabels(value, issueIDs interface{}) *gomock.Call
SyncLabels indicates an expected call of SyncLabels.
func (*MockIssueQueryMockRecorder) UpdateIssue ¶
func (mr *MockIssueQueryMockRecorder) UpdateIssue(req interface{}) *gomock.Call
UpdateIssue indicates an expected call of UpdateIssue.
func (*MockIssueQueryMockRecorder) UpdateLabels ¶
func (mr *MockIssueQueryMockRecorder) UpdateLabels(id, projectID, labelNames interface{}) *gomock.Call
UpdateLabels indicates an expected call of UpdateLabels.
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) Debugf ¶
func (m *MockLogger) Debugf(template string, args ...interface{})
Debugf mocks base method.
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Errorf ¶
func (m *MockLogger) Errorf(template string, args ...interface{})
Errorf mocks base method.
func (*MockLogger) Fatalf ¶
func (m *MockLogger) Fatalf(template string, args ...interface{})
Fatalf mocks base method.
func (*MockLogger) Infof ¶
func (m *MockLogger) Infof(template string, args ...interface{})
Infof mocks base method.
func (*MockLogger) Panicf ¶
func (m *MockLogger) Panicf(template string, args ...interface{})
Panicf mocks base method.
func (*MockLogger) SetLevel ¶
func (m *MockLogger) SetLevel(lvl string) error
SetLevel mocks base method.
func (*MockLogger) SetOutput ¶
func (m *MockLogger) SetOutput(output io.Writer)
SetOutput mocks base method.
func (*MockLogger) Warnf ¶
func (m *MockLogger) Warnf(template string, args ...interface{})
Warnf mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(args ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Debugf ¶
func (mr *MockLoggerMockRecorder) Debugf(template interface{}, args ...interface{}) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(args ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Errorf ¶
func (mr *MockLoggerMockRecorder) Errorf(template interface{}, args ...interface{}) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(args ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerMockRecorder) Fatalf ¶
func (mr *MockLoggerMockRecorder) Fatalf(template interface{}, args ...interface{}) *gomock.Call
Fatalf indicates an expected call of Fatalf.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(args ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Infof ¶
func (mr *MockLoggerMockRecorder) Infof(template interface{}, args ...interface{}) *gomock.Call
Infof indicates an expected call of Infof.
func (*MockLoggerMockRecorder) Panic ¶
func (mr *MockLoggerMockRecorder) Panic(args ...interface{}) *gomock.Call
Panic indicates an expected call of Panic.
func (*MockLoggerMockRecorder) Panicf ¶
func (mr *MockLoggerMockRecorder) Panicf(template interface{}, args ...interface{}) *gomock.Call
Panicf indicates an expected call of Panicf.
func (*MockLoggerMockRecorder) SetLevel ¶
func (mr *MockLoggerMockRecorder) SetLevel(lvl interface{}) *gomock.Call
SetLevel indicates an expected call of SetLevel.
func (*MockLoggerMockRecorder) SetOutput ¶
func (mr *MockLoggerMockRecorder) SetOutput(output interface{}) *gomock.Call
SetOutput indicates an expected call of SetOutput.
func (*MockLoggerMockRecorder) Sub ¶
func (mr *MockLoggerMockRecorder) Sub(name interface{}) *gomock.Call
Sub indicates an expected call of Sub.
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(args ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.
func (*MockLoggerMockRecorder) Warnf ¶
func (mr *MockLoggerMockRecorder) Warnf(template interface{}, args ...interface{}) *gomock.Call
Warnf indicates an expected call of Warnf.
type MockPipelineServiceClient ¶
type MockPipelineServiceClient struct {
// contains filtered or unexported fields
}
MockPipelineServiceClient is a mock of PipelineServiceClient interface.
func NewMockPipelineServiceClient ¶
func NewMockPipelineServiceClient(ctrl *gomock.Controller) *MockPipelineServiceClient
NewMockPipelineServiceClient creates a new mock instance.
func (*MockPipelineServiceClient) EXPECT ¶
func (m *MockPipelineServiceClient) EXPECT() *MockPipelineServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPipelineServiceClient) PipelineBatchCreate ¶
func (m *MockPipelineServiceClient) PipelineBatchCreate(ctx context.Context, in *pb.PipelineBatchCreateRequest, opts ...grpc.CallOption) (*pb.PipelineBatchCreateResponse, error)
PipelineBatchCreate mocks base method.
func (*MockPipelineServiceClient) PipelineCallback ¶
func (m *MockPipelineServiceClient) PipelineCallback(ctx context.Context, in *pb.PipelineCallbackRequest, opts ...grpc.CallOption) (*pb.PipelineCallbackResponse, error)
PipelineCallback mocks base method.
func (*MockPipelineServiceClient) PipelineCancel ¶
func (m *MockPipelineServiceClient) PipelineCancel(ctx context.Context, in *pb.PipelineCancelRequest, opts ...grpc.CallOption) (*pb.PipelineCancelResponse, error)
PipelineCancel mocks base method.
func (*MockPipelineServiceClient) PipelineCreate ¶
func (m *MockPipelineServiceClient) PipelineCreate(ctx context.Context, in *pb.PipelineCreateRequest, opts ...grpc.CallOption) (*pb.PipelineCreateResponse, error)
PipelineCreate mocks base method.
func (*MockPipelineServiceClient) PipelineCreateV2 ¶
func (m *MockPipelineServiceClient) PipelineCreateV2(ctx context.Context, in *pb.PipelineCreateRequestV2, opts ...grpc.CallOption) (*pb.PipelineCreateResponse, error)
PipelineCreateV2 mocks base method.
func (*MockPipelineServiceClient) PipelineDelete ¶
func (m *MockPipelineServiceClient) PipelineDelete(ctx context.Context, in *pb.PipelineDeleteRequest, opts ...grpc.CallOption) (*pb.PipelineDeleteResponse, error)
PipelineDelete mocks base method.
func (*MockPipelineServiceClient) PipelineDetail ¶
func (m *MockPipelineServiceClient) PipelineDetail(ctx context.Context, in *pb.PipelineDetailRequest, opts ...grpc.CallOption) (*pb.PipelineDetailResponse, error)
PipelineDetail mocks base method.
func (*MockPipelineServiceClient) PipelineOperate ¶
func (m *MockPipelineServiceClient) PipelineOperate(ctx context.Context, in *pb.PipelineOperateRequest, opts ...grpc.CallOption) (*pb.PipelineOperateResponse, error)
PipelineOperate mocks base method.
func (*MockPipelineServiceClient) PipelinePaging ¶
func (m *MockPipelineServiceClient) PipelinePaging(ctx context.Context, in *pb.PipelinePagingRequest, opts ...grpc.CallOption) (*pb.PipelinePagingResponse, error)
PipelinePaging mocks base method.
func (*MockPipelineServiceClient) PipelineRerun ¶
func (m *MockPipelineServiceClient) PipelineRerun(ctx context.Context, in *pb.PipelineRerunRequest, opts ...grpc.CallOption) (*pb.PipelineRerunResponse, error)
PipelineRerun mocks base method.
func (*MockPipelineServiceClient) PipelineRerunFailed ¶
func (m *MockPipelineServiceClient) PipelineRerunFailed(ctx context.Context, in *pb.PipelineRerunFailedRequest, opts ...grpc.CallOption) (*pb.PipelineRerunFailedResponse, error)
PipelineRerunFailed mocks base method.
func (*MockPipelineServiceClient) PipelineRun ¶
func (m *MockPipelineServiceClient) PipelineRun(ctx context.Context, in *pb.PipelineRunRequest, opts ...grpc.CallOption) (*pb.PipelineRunResponse, error)
PipelineRun mocks base method.
func (*MockPipelineServiceClient) PipelineStatistic ¶
func (m *MockPipelineServiceClient) PipelineStatistic(ctx context.Context, in *pb.PipelineStatisticRequest, opts ...grpc.CallOption) (*pb.PipelineStatisticResponse, error)
PipelineStatistic mocks base method.
func (*MockPipelineServiceClient) PipelineTaskView ¶
func (m *MockPipelineServiceClient) PipelineTaskView(ctx context.Context, in *pb.PipelineTaskViewRequest, opts ...grpc.CallOption) (*pb.PipelineTaskViewResponse, error)
PipelineTaskView mocks base method.
func (*MockPipelineServiceClient) QueryPipelineSnippet ¶
func (m *MockPipelineServiceClient) QueryPipelineSnippet(ctx context.Context, in *pb.PipelineSnippetQueryRequest, opts ...grpc.CallOption) (*pb.PipelineSnippetQueryResponse, error)
QueryPipelineSnippet mocks base method.
type MockPipelineServiceClientMockRecorder ¶
type MockPipelineServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPipelineServiceClientMockRecorder is the mock recorder for MockPipelineServiceClient.
func (*MockPipelineServiceClientMockRecorder) PipelineBatchCreate ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineBatchCreate(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineBatchCreate indicates an expected call of PipelineBatchCreate.
func (*MockPipelineServiceClientMockRecorder) PipelineCallback ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineCallback(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineCallback indicates an expected call of PipelineCallback.
func (*MockPipelineServiceClientMockRecorder) PipelineCancel ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineCancel indicates an expected call of PipelineCancel.
func (*MockPipelineServiceClientMockRecorder) PipelineCreate ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineCreate(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineCreate indicates an expected call of PipelineCreate.
func (*MockPipelineServiceClientMockRecorder) PipelineCreateV2 ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineCreateV2(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineCreateV2 indicates an expected call of PipelineCreateV2.
func (*MockPipelineServiceClientMockRecorder) PipelineDelete ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineDelete(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineDelete indicates an expected call of PipelineDelete.
func (*MockPipelineServiceClientMockRecorder) PipelineDetail ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineDetail(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineDetail indicates an expected call of PipelineDetail.
func (*MockPipelineServiceClientMockRecorder) PipelineOperate ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineOperate(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineOperate indicates an expected call of PipelineOperate.
func (*MockPipelineServiceClientMockRecorder) PipelinePaging ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelinePaging(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelinePaging indicates an expected call of PipelinePaging.
func (*MockPipelineServiceClientMockRecorder) PipelineRerun ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineRerun(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineRerun indicates an expected call of PipelineRerun.
func (*MockPipelineServiceClientMockRecorder) PipelineRerunFailed ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineRerunFailed(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineRerunFailed indicates an expected call of PipelineRerunFailed.
func (*MockPipelineServiceClientMockRecorder) PipelineRun ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineRun(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineRun indicates an expected call of PipelineRun.
func (*MockPipelineServiceClientMockRecorder) PipelineStatistic ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineStatistic(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineStatistic indicates an expected call of PipelineStatistic.
func (*MockPipelineServiceClientMockRecorder) PipelineTaskView ¶
func (mr *MockPipelineServiceClientMockRecorder) PipelineTaskView(ctx, in interface{}, opts ...interface{}) *gomock.Call
PipelineTaskView indicates an expected call of PipelineTaskView.
func (*MockPipelineServiceClientMockRecorder) QueryPipelineSnippet ¶
func (mr *MockPipelineServiceClientMockRecorder) QueryPipelineSnippet(ctx, in interface{}, opts ...interface{}) *gomock.Call
QueryPipelineSnippet indicates an expected call of QueryPipelineSnippet.
type MockPipelineServiceServer ¶
type MockPipelineServiceServer struct {
// contains filtered or unexported fields
}
MockPipelineServiceServer is a mock of PipelineServiceServer interface.
func NewMockPipelineServiceServer ¶
func NewMockPipelineServiceServer(ctrl *gomock.Controller) *MockPipelineServiceServer
NewMockPipelineServiceServer creates a new mock instance.
func (*MockPipelineServiceServer) EXPECT ¶
func (m *MockPipelineServiceServer) EXPECT() *MockPipelineServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPipelineServiceServer) PipelineBatchCreate ¶
func (m *MockPipelineServiceServer) PipelineBatchCreate(arg0 context.Context, arg1 *pb.PipelineBatchCreateRequest) (*pb.PipelineBatchCreateResponse, error)
PipelineBatchCreate mocks base method.
func (*MockPipelineServiceServer) PipelineCallback ¶
func (m *MockPipelineServiceServer) PipelineCallback(arg0 context.Context, arg1 *pb.PipelineCallbackRequest) (*pb.PipelineCallbackResponse, error)
PipelineCallback mocks base method.
func (*MockPipelineServiceServer) PipelineCancel ¶
func (m *MockPipelineServiceServer) PipelineCancel(arg0 context.Context, arg1 *pb.PipelineCancelRequest) (*pb.PipelineCancelResponse, error)
PipelineCancel mocks base method.
func (*MockPipelineServiceServer) PipelineCreate ¶
func (m *MockPipelineServiceServer) PipelineCreate(arg0 context.Context, arg1 *pb.PipelineCreateRequest) (*pb.PipelineCreateResponse, error)
PipelineCreate mocks base method.
func (*MockPipelineServiceServer) PipelineCreateV2 ¶
func (m *MockPipelineServiceServer) PipelineCreateV2(arg0 context.Context, arg1 *pb.PipelineCreateRequestV2) (*pb.PipelineCreateResponse, error)
PipelineCreateV2 mocks base method.
func (*MockPipelineServiceServer) PipelineDelete ¶
func (m *MockPipelineServiceServer) PipelineDelete(arg0 context.Context, arg1 *pb.PipelineDeleteRequest) (*pb.PipelineDeleteResponse, error)
PipelineDelete mocks base method.
func (*MockPipelineServiceServer) PipelineDetail ¶
func (m *MockPipelineServiceServer) PipelineDetail(arg0 context.Context, arg1 *pb.PipelineDetailRequest) (*pb.PipelineDetailResponse, error)
PipelineDetail mocks base method.
func (*MockPipelineServiceServer) PipelineOperate ¶
func (m *MockPipelineServiceServer) PipelineOperate(arg0 context.Context, arg1 *pb.PipelineOperateRequest) (*pb.PipelineOperateResponse, error)
PipelineOperate mocks base method.
func (*MockPipelineServiceServer) PipelinePaging ¶
func (m *MockPipelineServiceServer) PipelinePaging(arg0 context.Context, arg1 *pb.PipelinePagingRequest) (*pb.PipelinePagingResponse, error)
PipelinePaging mocks base method.
func (*MockPipelineServiceServer) PipelineRerun ¶
func (m *MockPipelineServiceServer) PipelineRerun(arg0 context.Context, arg1 *pb.PipelineRerunRequest) (*pb.PipelineRerunResponse, error)
PipelineRerun mocks base method.
func (*MockPipelineServiceServer) PipelineRerunFailed ¶
func (m *MockPipelineServiceServer) PipelineRerunFailed(arg0 context.Context, arg1 *pb.PipelineRerunFailedRequest) (*pb.PipelineRerunFailedResponse, error)
PipelineRerunFailed mocks base method.
func (*MockPipelineServiceServer) PipelineRun ¶
func (m *MockPipelineServiceServer) PipelineRun(arg0 context.Context, arg1 *pb.PipelineRunRequest) (*pb.PipelineRunResponse, error)
PipelineRun mocks base method.
func (*MockPipelineServiceServer) PipelineStatistic ¶
func (m *MockPipelineServiceServer) PipelineStatistic(arg0 context.Context, arg1 *pb.PipelineStatisticRequest) (*pb.PipelineStatisticResponse, error)
PipelineStatistic mocks base method.
func (*MockPipelineServiceServer) PipelineTaskView ¶
func (m *MockPipelineServiceServer) PipelineTaskView(arg0 context.Context, arg1 *pb.PipelineTaskViewRequest) (*pb.PipelineTaskViewResponse, error)
PipelineTaskView mocks base method.
func (*MockPipelineServiceServer) QueryPipelineSnippet ¶
func (m *MockPipelineServiceServer) QueryPipelineSnippet(arg0 context.Context, arg1 *pb.PipelineSnippetQueryRequest) (*pb.PipelineSnippetQueryResponse, error)
QueryPipelineSnippet mocks base method.
type MockPipelineServiceServerMockRecorder ¶
type MockPipelineServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPipelineServiceServerMockRecorder is the mock recorder for MockPipelineServiceServer.
func (*MockPipelineServiceServerMockRecorder) PipelineBatchCreate ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineBatchCreate(arg0, arg1 interface{}) *gomock.Call
PipelineBatchCreate indicates an expected call of PipelineBatchCreate.
func (*MockPipelineServiceServerMockRecorder) PipelineCallback ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineCallback(arg0, arg1 interface{}) *gomock.Call
PipelineCallback indicates an expected call of PipelineCallback.
func (*MockPipelineServiceServerMockRecorder) PipelineCancel ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineCancel(arg0, arg1 interface{}) *gomock.Call
PipelineCancel indicates an expected call of PipelineCancel.
func (*MockPipelineServiceServerMockRecorder) PipelineCreate ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineCreate(arg0, arg1 interface{}) *gomock.Call
PipelineCreate indicates an expected call of PipelineCreate.
func (*MockPipelineServiceServerMockRecorder) PipelineCreateV2 ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineCreateV2(arg0, arg1 interface{}) *gomock.Call
PipelineCreateV2 indicates an expected call of PipelineCreateV2.
func (*MockPipelineServiceServerMockRecorder) PipelineDelete ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineDelete(arg0, arg1 interface{}) *gomock.Call
PipelineDelete indicates an expected call of PipelineDelete.
func (*MockPipelineServiceServerMockRecorder) PipelineDetail ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineDetail(arg0, arg1 interface{}) *gomock.Call
PipelineDetail indicates an expected call of PipelineDetail.
func (*MockPipelineServiceServerMockRecorder) PipelineOperate ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineOperate(arg0, arg1 interface{}) *gomock.Call
PipelineOperate indicates an expected call of PipelineOperate.
func (*MockPipelineServiceServerMockRecorder) PipelinePaging ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelinePaging(arg0, arg1 interface{}) *gomock.Call
PipelinePaging indicates an expected call of PipelinePaging.
func (*MockPipelineServiceServerMockRecorder) PipelineRerun ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineRerun(arg0, arg1 interface{}) *gomock.Call
PipelineRerun indicates an expected call of PipelineRerun.
func (*MockPipelineServiceServerMockRecorder) PipelineRerunFailed ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineRerunFailed(arg0, arg1 interface{}) *gomock.Call
PipelineRerunFailed indicates an expected call of PipelineRerunFailed.
func (*MockPipelineServiceServerMockRecorder) PipelineRun ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineRun(arg0, arg1 interface{}) *gomock.Call
PipelineRun indicates an expected call of PipelineRun.
func (*MockPipelineServiceServerMockRecorder) PipelineStatistic ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineStatistic(arg0, arg1 interface{}) *gomock.Call
PipelineStatistic indicates an expected call of PipelineStatistic.
func (*MockPipelineServiceServerMockRecorder) PipelineTaskView ¶
func (mr *MockPipelineServiceServerMockRecorder) PipelineTaskView(arg0, arg1 interface{}) *gomock.Call
PipelineTaskView indicates an expected call of PipelineTaskView.
func (*MockPipelineServiceServerMockRecorder) QueryPipelineSnippet ¶
func (mr *MockPipelineServiceServerMockRecorder) QueryPipelineSnippet(arg0, arg1 interface{}) *gomock.Call
QueryPipelineSnippet indicates an expected call of QueryPipelineSnippet.
type MockRouter ¶
type MockRouter struct {
// contains filtered or unexported fields
}
MockRouter is a mock of Router interface.
func NewMockRouter ¶
func NewMockRouter(ctrl *gomock.Controller) *MockRouter
NewMockRouter creates a new mock instance.
func (*MockRouter) Add ¶
func (m *MockRouter) Add(method, path string, handler interface{}, options ...interface{}) error
Add mocks base method.
func (*MockRouter) Any ¶
func (m *MockRouter) Any(path string, handler interface{}, options ...interface{})
Any mocks base method.
func (*MockRouter) CONNECT ¶
func (m *MockRouter) CONNECT(path string, handler interface{}, options ...interface{})
CONNECT mocks base method.
func (*MockRouter) DELETE ¶
func (m *MockRouter) DELETE(path string, handler interface{}, options ...interface{})
DELETE mocks base method.
func (*MockRouter) EXPECT ¶
func (m *MockRouter) EXPECT() *MockRouterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouter) File ¶
func (m *MockRouter) File(path, filepath string, options ...interface{})
File mocks base method.
func (*MockRouter) GET ¶
func (m *MockRouter) GET(path string, handler interface{}, options ...interface{})
GET mocks base method.
func (*MockRouter) HEAD ¶
func (m *MockRouter) HEAD(path string, handler interface{}, options ...interface{})
HEAD mocks base method.
func (*MockRouter) OPTIONS ¶
func (m *MockRouter) OPTIONS(path string, handler interface{}, options ...interface{})
OPTIONS mocks base method.
func (*MockRouter) PATCH ¶
func (m *MockRouter) PATCH(path string, handler interface{}, options ...interface{})
PATCH mocks base method.
func (*MockRouter) POST ¶
func (m *MockRouter) POST(path string, handler interface{}, options ...interface{})
POST mocks base method.
func (*MockRouter) PUT ¶
func (m *MockRouter) PUT(path string, handler interface{}, options ...interface{})
PUT mocks base method.
func (*MockRouter) Static ¶
func (m *MockRouter) Static(prefix, root string, options ...interface{})
Static mocks base method.
func (*MockRouter) TRACE ¶
func (m *MockRouter) TRACE(path string, handler interface{}, options ...interface{})
TRACE mocks base method.
type MockRouterManager ¶
type MockRouterManager struct {
// contains filtered or unexported fields
}
MockRouterManager is a mock of RouterManager interface.
func NewMockRouterManager ¶
func NewMockRouterManager(ctrl *gomock.Controller) *MockRouterManager
NewMockRouterManager creates a new mock instance.
func (*MockRouterManager) EXPECT ¶
func (m *MockRouterManager) EXPECT() *MockRouterManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterManager) NewRouter ¶
func (m *MockRouterManager) NewRouter(opts ...interface{}) httpserver.RouterTx
NewRouter mocks base method.
func (*MockRouterManager) Reloadable ¶
func (m *MockRouterManager) Reloadable() bool
Reloadable mocks base method.
type MockRouterManagerMockRecorder ¶
type MockRouterManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterManagerMockRecorder is the mock recorder for MockRouterManager.
func (*MockRouterManagerMockRecorder) NewRouter ¶
func (mr *MockRouterManagerMockRecorder) NewRouter(opts ...interface{}) *gomock.Call
NewRouter indicates an expected call of NewRouter.
func (*MockRouterManagerMockRecorder) Reloadable ¶
func (mr *MockRouterManagerMockRecorder) Reloadable() *gomock.Call
Reloadable indicates an expected call of Reloadable.
type MockRouterMockRecorder ¶
type MockRouterMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterMockRecorder is the mock recorder for MockRouter.
func (*MockRouterMockRecorder) Add ¶
func (mr *MockRouterMockRecorder) Add(method, path, handler interface{}, options ...interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockRouterMockRecorder) Any ¶
func (mr *MockRouterMockRecorder) Any(path, handler interface{}, options ...interface{}) *gomock.Call
Any indicates an expected call of Any.
func (*MockRouterMockRecorder) CONNECT ¶
func (mr *MockRouterMockRecorder) CONNECT(path, handler interface{}, options ...interface{}) *gomock.Call
CONNECT indicates an expected call of CONNECT.
func (*MockRouterMockRecorder) DELETE ¶
func (mr *MockRouterMockRecorder) DELETE(path, handler interface{}, options ...interface{}) *gomock.Call
DELETE indicates an expected call of DELETE.
func (*MockRouterMockRecorder) File ¶
func (mr *MockRouterMockRecorder) File(path, filepath interface{}, options ...interface{}) *gomock.Call
File indicates an expected call of File.
func (*MockRouterMockRecorder) GET ¶
func (mr *MockRouterMockRecorder) GET(path, handler interface{}, options ...interface{}) *gomock.Call
GET indicates an expected call of GET.
func (*MockRouterMockRecorder) HEAD ¶
func (mr *MockRouterMockRecorder) HEAD(path, handler interface{}, options ...interface{}) *gomock.Call
HEAD indicates an expected call of HEAD.
func (*MockRouterMockRecorder) OPTIONS ¶
func (mr *MockRouterMockRecorder) OPTIONS(path, handler interface{}, options ...interface{}) *gomock.Call
OPTIONS indicates an expected call of OPTIONS.
func (*MockRouterMockRecorder) PATCH ¶
func (mr *MockRouterMockRecorder) PATCH(path, handler interface{}, options ...interface{}) *gomock.Call
PATCH indicates an expected call of PATCH.
func (*MockRouterMockRecorder) POST ¶
func (mr *MockRouterMockRecorder) POST(path, handler interface{}, options ...interface{}) *gomock.Call
POST indicates an expected call of POST.
func (*MockRouterMockRecorder) PUT ¶
func (mr *MockRouterMockRecorder) PUT(path, handler interface{}, options ...interface{}) *gomock.Call
PUT indicates an expected call of PUT.
func (*MockRouterMockRecorder) Static ¶
func (mr *MockRouterMockRecorder) Static(prefix, root interface{}, options ...interface{}) *gomock.Call
Static indicates an expected call of Static.
func (*MockRouterMockRecorder) TRACE ¶
func (mr *MockRouterMockRecorder) TRACE(path, handler interface{}, options ...interface{}) *gomock.Call
TRACE indicates an expected call of TRACE.
type MockRouterTx ¶
type MockRouterTx struct {
// contains filtered or unexported fields
}
MockRouterTx is a mock of RouterTx interface.
func NewMockRouterTx ¶
func NewMockRouterTx(ctrl *gomock.Controller) *MockRouterTx
NewMockRouterTx creates a new mock instance.
func (*MockRouterTx) Add ¶
func (m *MockRouterTx) Add(method, path string, handler interface{}, options ...interface{}) error
Add mocks base method.
func (*MockRouterTx) Any ¶
func (m *MockRouterTx) Any(path string, handler interface{}, options ...interface{})
Any mocks base method.
func (*MockRouterTx) CONNECT ¶
func (m *MockRouterTx) CONNECT(path string, handler interface{}, options ...interface{})
CONNECT mocks base method.
func (*MockRouterTx) DELETE ¶
func (m *MockRouterTx) DELETE(path string, handler interface{}, options ...interface{})
DELETE mocks base method.
func (*MockRouterTx) EXPECT ¶
func (m *MockRouterTx) EXPECT() *MockRouterTxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRouterTx) File ¶
func (m *MockRouterTx) File(path, filepath string, options ...interface{})
File mocks base method.
func (*MockRouterTx) GET ¶
func (m *MockRouterTx) GET(path string, handler interface{}, options ...interface{})
GET mocks base method.
func (*MockRouterTx) HEAD ¶
func (m *MockRouterTx) HEAD(path string, handler interface{}, options ...interface{})
HEAD mocks base method.
func (*MockRouterTx) OPTIONS ¶
func (m *MockRouterTx) OPTIONS(path string, handler interface{}, options ...interface{})
OPTIONS mocks base method.
func (*MockRouterTx) PATCH ¶
func (m *MockRouterTx) PATCH(path string, handler interface{}, options ...interface{})
PATCH mocks base method.
func (*MockRouterTx) POST ¶
func (m *MockRouterTx) POST(path string, handler interface{}, options ...interface{})
POST mocks base method.
func (*MockRouterTx) PUT ¶
func (m *MockRouterTx) PUT(path string, handler interface{}, options ...interface{})
PUT mocks base method.
func (*MockRouterTx) Reloadable ¶
func (m *MockRouterTx) Reloadable() bool
Reloadable mocks base method.
func (*MockRouterTx) Static ¶
func (m *MockRouterTx) Static(prefix, root string, options ...interface{})
Static mocks base method.
func (*MockRouterTx) TRACE ¶
func (m *MockRouterTx) TRACE(path string, handler interface{}, options ...interface{})
TRACE mocks base method.
type MockRouterTxMockRecorder ¶
type MockRouterTxMockRecorder struct {
// contains filtered or unexported fields
}
MockRouterTxMockRecorder is the mock recorder for MockRouterTx.
func (*MockRouterTxMockRecorder) Add ¶
func (mr *MockRouterTxMockRecorder) Add(method, path, handler interface{}, options ...interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockRouterTxMockRecorder) Any ¶
func (mr *MockRouterTxMockRecorder) Any(path, handler interface{}, options ...interface{}) *gomock.Call
Any indicates an expected call of Any.
func (*MockRouterTxMockRecorder) CONNECT ¶
func (mr *MockRouterTxMockRecorder) CONNECT(path, handler interface{}, options ...interface{}) *gomock.Call
CONNECT indicates an expected call of CONNECT.
func (*MockRouterTxMockRecorder) Commit ¶
func (mr *MockRouterTxMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit.
func (*MockRouterTxMockRecorder) DELETE ¶
func (mr *MockRouterTxMockRecorder) DELETE(path, handler interface{}, options ...interface{}) *gomock.Call
DELETE indicates an expected call of DELETE.
func (*MockRouterTxMockRecorder) File ¶
func (mr *MockRouterTxMockRecorder) File(path, filepath interface{}, options ...interface{}) *gomock.Call
File indicates an expected call of File.
func (*MockRouterTxMockRecorder) GET ¶
func (mr *MockRouterTxMockRecorder) GET(path, handler interface{}, options ...interface{}) *gomock.Call
GET indicates an expected call of GET.
func (*MockRouterTxMockRecorder) HEAD ¶
func (mr *MockRouterTxMockRecorder) HEAD(path, handler interface{}, options ...interface{}) *gomock.Call
HEAD indicates an expected call of HEAD.
func (*MockRouterTxMockRecorder) OPTIONS ¶
func (mr *MockRouterTxMockRecorder) OPTIONS(path, handler interface{}, options ...interface{}) *gomock.Call
OPTIONS indicates an expected call of OPTIONS.
func (*MockRouterTxMockRecorder) PATCH ¶
func (mr *MockRouterTxMockRecorder) PATCH(path, handler interface{}, options ...interface{}) *gomock.Call
PATCH indicates an expected call of PATCH.
func (*MockRouterTxMockRecorder) POST ¶
func (mr *MockRouterTxMockRecorder) POST(path, handler interface{}, options ...interface{}) *gomock.Call
POST indicates an expected call of POST.
func (*MockRouterTxMockRecorder) PUT ¶
func (mr *MockRouterTxMockRecorder) PUT(path, handler interface{}, options ...interface{}) *gomock.Call
PUT indicates an expected call of PUT.
func (*MockRouterTxMockRecorder) Reloadable ¶
func (mr *MockRouterTxMockRecorder) Reloadable() *gomock.Call
Reloadable indicates an expected call of Reloadable.
func (*MockRouterTxMockRecorder) Rollback ¶
func (mr *MockRouterTxMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback.
func (*MockRouterTxMockRecorder) Static ¶
func (mr *MockRouterTxMockRecorder) Static(prefix, root interface{}, options ...interface{}) *gomock.Call
Static indicates an expected call of Static.
func (*MockRouterTxMockRecorder) TRACE ¶
func (mr *MockRouterTxMockRecorder) TRACE(path, handler interface{}, options ...interface{}) *gomock.Call
TRACE indicates an expected call of TRACE.