Documentation ¶
Overview ¶
Package mockscm is a generated GoMock package.
Index ¶
- type MockContentService
- func (m *MockContentService) Create(arg0 context.Context, arg1, arg2 string, arg3 *scm.ContentParams) (*scm.Response, error)
- func (m *MockContentService) Delete(arg0 context.Context, arg1, arg2 string, arg3 *scm.ContentParams) (*scm.Response, error)
- func (m *MockContentService) EXPECT() *MockContentServiceMockRecorder
- func (m *MockContentService) Find(arg0 context.Context, arg1, arg2, arg3 string) (*scm.Content, *scm.Response, error)
- func (m *MockContentService) List(arg0 context.Context, arg1, arg2, arg3 string, arg4 scm.ListOptions) ([]*scm.ContentInfo, *scm.Response, error)
- func (m *MockContentService) Update(arg0 context.Context, arg1, arg2 string, arg3 *scm.ContentParams) (*scm.Response, error)
- type MockContentServiceMockRecorder
- func (mr *MockContentServiceMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContentServiceMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContentServiceMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContentServiceMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockContentServiceMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockRepositoryService
- func (m *MockRepositoryService) CreateHook(arg0 context.Context, arg1 string, arg2 *scm.HookInput) (*scm.Hook, *scm.Response, error)
- func (m *MockRepositoryService) CreateStatus(arg0 context.Context, arg1, arg2 string, arg3 *scm.StatusInput) (*scm.Status, *scm.Response, error)
- func (m *MockRepositoryService) DeleteHook(arg0 context.Context, arg1, arg2 string) (*scm.Response, error)
- func (m *MockRepositoryService) EXPECT() *MockRepositoryServiceMockRecorder
- func (m *MockRepositoryService) Find(arg0 context.Context, arg1 string) (*scm.Repository, *scm.Response, error)
- func (m *MockRepositoryService) FindHook(arg0 context.Context, arg1, arg2 string) (*scm.Hook, *scm.Response, error)
- func (m *MockRepositoryService) FindPerms(arg0 context.Context, arg1 string) (*scm.Perm, *scm.Response, error)
- func (m *MockRepositoryService) List(arg0 context.Context, arg1 scm.ListOptions) ([]*scm.Repository, *scm.Response, error)
- func (m *MockRepositoryService) ListHooks(arg0 context.Context, arg1 string, arg2 scm.ListOptions) ([]*scm.Hook, *scm.Response, error)
- func (m *MockRepositoryService) ListStatus(arg0 context.Context, arg1, arg2 string, arg3 scm.ListOptions) ([]*scm.Status, *scm.Response, error)
- func (m *MockRepositoryService) ListV2(arg0 context.Context, arg1 scm.RepoListOptions) ([]*scm.Repository, *scm.Response, error)
- func (m *MockRepositoryService) UpdateHook(arg0 context.Context, arg1, arg2 string, arg3 *scm.HookInput) (*scm.Hook, *scm.Response, error)
- type MockRepositoryServiceMockRecorder
- func (mr *MockRepositoryServiceMockRecorder) CreateHook(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) CreateStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) DeleteHook(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) FindHook(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) FindPerms(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) ListHooks(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) ListStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) ListV2(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) UpdateHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContentService ¶
type MockContentService struct {
// contains filtered or unexported fields
}
MockContentService is a mock of ContentService interface.
func NewMockContentService ¶
func NewMockContentService(ctrl *gomock.Controller) *MockContentService
NewMockContentService creates a new mock instance.
func (*MockContentService) Create ¶
func (m *MockContentService) Create(arg0 context.Context, arg1, arg2 string, arg3 *scm.ContentParams) (*scm.Response, error)
Create mocks base method.
func (*MockContentService) Delete ¶
func (m *MockContentService) Delete(arg0 context.Context, arg1, arg2 string, arg3 *scm.ContentParams) (*scm.Response, error)
Delete mocks base method.
func (*MockContentService) EXPECT ¶
func (m *MockContentService) EXPECT() *MockContentServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContentService) Find ¶
func (m *MockContentService) Find(arg0 context.Context, arg1, arg2, arg3 string) (*scm.Content, *scm.Response, error)
Find mocks base method.
func (*MockContentService) List ¶
func (m *MockContentService) List(arg0 context.Context, arg1, arg2, arg3 string, arg4 scm.ListOptions) ([]*scm.ContentInfo, *scm.Response, error)
List mocks base method.
type MockContentServiceMockRecorder ¶
type MockContentServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockContentServiceMockRecorder is the mock recorder for MockContentService.
func (*MockContentServiceMockRecorder) Create ¶
func (mr *MockContentServiceMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockContentServiceMockRecorder) Delete ¶
func (mr *MockContentServiceMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockContentServiceMockRecorder) Find ¶
func (mr *MockContentServiceMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockContentServiceMockRecorder) List ¶
func (mr *MockContentServiceMockRecorder) List(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockContentServiceMockRecorder) Update ¶
func (mr *MockContentServiceMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockRepositoryService ¶
type MockRepositoryService struct {
// contains filtered or unexported fields
}
MockRepositoryService is a mock of RepositoryService interface.
func NewMockRepositoryService ¶
func NewMockRepositoryService(ctrl *gomock.Controller) *MockRepositoryService
NewMockRepositoryService creates a new mock instance.
func (*MockRepositoryService) CreateHook ¶
func (m *MockRepositoryService) CreateHook(arg0 context.Context, arg1 string, arg2 *scm.HookInput) (*scm.Hook, *scm.Response, error)
CreateHook mocks base method.
func (*MockRepositoryService) CreateStatus ¶
func (m *MockRepositoryService) CreateStatus(arg0 context.Context, arg1, arg2 string, arg3 *scm.StatusInput) (*scm.Status, *scm.Response, error)
CreateStatus mocks base method.
func (*MockRepositoryService) DeleteHook ¶
func (m *MockRepositoryService) DeleteHook(arg0 context.Context, arg1, arg2 string) (*scm.Response, error)
DeleteHook mocks base method.
func (*MockRepositoryService) EXPECT ¶
func (m *MockRepositoryService) EXPECT() *MockRepositoryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryService) Find ¶
func (m *MockRepositoryService) Find(arg0 context.Context, arg1 string) (*scm.Repository, *scm.Response, error)
Find mocks base method.
func (*MockRepositoryService) FindHook ¶
func (m *MockRepositoryService) FindHook(arg0 context.Context, arg1, arg2 string) (*scm.Hook, *scm.Response, error)
FindHook mocks base method.
func (*MockRepositoryService) FindPerms ¶
func (m *MockRepositoryService) FindPerms(arg0 context.Context, arg1 string) (*scm.Perm, *scm.Response, error)
FindPerms mocks base method.
func (*MockRepositoryService) List ¶
func (m *MockRepositoryService) List(arg0 context.Context, arg1 scm.ListOptions) ([]*scm.Repository, *scm.Response, error)
List mocks base method.
func (*MockRepositoryService) ListHooks ¶
func (m *MockRepositoryService) ListHooks(arg0 context.Context, arg1 string, arg2 scm.ListOptions) ([]*scm.Hook, *scm.Response, error)
ListHooks mocks base method.
func (*MockRepositoryService) ListStatus ¶
func (m *MockRepositoryService) ListStatus(arg0 context.Context, arg1, arg2 string, arg3 scm.ListOptions) ([]*scm.Status, *scm.Response, error)
ListStatus mocks base method.
func (*MockRepositoryService) ListV2 ¶
func (m *MockRepositoryService) ListV2(arg0 context.Context, arg1 scm.RepoListOptions) ([]*scm.Repository, *scm.Response, error)
ListV2 mocks base method.
type MockRepositoryServiceMockRecorder ¶
type MockRepositoryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryServiceMockRecorder is the mock recorder for MockRepositoryService.
func (*MockRepositoryServiceMockRecorder) CreateHook ¶
func (mr *MockRepositoryServiceMockRecorder) CreateHook(arg0, arg1, arg2 interface{}) *gomock.Call
CreateHook indicates an expected call of CreateHook.
func (*MockRepositoryServiceMockRecorder) CreateStatus ¶
func (mr *MockRepositoryServiceMockRecorder) CreateStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateStatus indicates an expected call of CreateStatus.
func (*MockRepositoryServiceMockRecorder) DeleteHook ¶
func (mr *MockRepositoryServiceMockRecorder) DeleteHook(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteHook indicates an expected call of DeleteHook.
func (*MockRepositoryServiceMockRecorder) Find ¶
func (mr *MockRepositoryServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockRepositoryServiceMockRecorder) FindHook ¶
func (mr *MockRepositoryServiceMockRecorder) FindHook(arg0, arg1, arg2 interface{}) *gomock.Call
FindHook indicates an expected call of FindHook.
func (*MockRepositoryServiceMockRecorder) FindPerms ¶
func (mr *MockRepositoryServiceMockRecorder) FindPerms(arg0, arg1 interface{}) *gomock.Call
FindPerms indicates an expected call of FindPerms.
func (*MockRepositoryServiceMockRecorder) List ¶
func (mr *MockRepositoryServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockRepositoryServiceMockRecorder) ListHooks ¶
func (mr *MockRepositoryServiceMockRecorder) ListHooks(arg0, arg1, arg2 interface{}) *gomock.Call
ListHooks indicates an expected call of ListHooks.
func (*MockRepositoryServiceMockRecorder) ListStatus ¶
func (mr *MockRepositoryServiceMockRecorder) ListStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListStatus indicates an expected call of ListStatus.
func (*MockRepositoryServiceMockRecorder) ListV2 ¶
func (mr *MockRepositoryServiceMockRecorder) ListV2(arg0, arg1 interface{}) *gomock.Call
ListV2 indicates an expected call of ListV2.
func (*MockRepositoryServiceMockRecorder) UpdateHook ¶
func (mr *MockRepositoryServiceMockRecorder) UpdateHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateHook indicates an expected call of UpdateHook.