mockscm

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockscm is a generated GoMock package.

Index

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, arg3 string) (*scm.Response, error)

Delete mocks base method

func (*MockContentService) EXPECT

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 added in v1.6.5

func (m *MockContentService) List(arg0 context.Context, arg1, arg2, arg3 string, arg4 scm.ListOptions) ([]*scm.ContentInfo, *scm.Response, error)

List mocks base method

func (*MockContentService) Update

func (m *MockContentService) Update(arg0 context.Context, arg1, arg2 string, arg3 *scm.ContentParams) (*scm.Response, error)

Update 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 added in v1.6.5

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 MockGitService

type MockGitService struct {
	// contains filtered or unexported fields
}

MockGitService is a mock of GitService interface

func NewMockGitService

func NewMockGitService(ctrl *gomock.Controller) *MockGitService

NewMockGitService creates a new mock instance

func (*MockGitService) CompareChanges added in v1.6.5

func (m *MockGitService) CompareChanges(arg0 context.Context, arg1, arg2, arg3 string, arg4 scm.ListOptions) ([]*scm.Change, *scm.Response, error)

CompareChanges mocks base method

func (*MockGitService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGitService) FindBranch

func (m *MockGitService) FindBranch(arg0 context.Context, arg1, arg2 string) (*scm.Reference, *scm.Response, error)

FindBranch mocks base method

func (*MockGitService) FindCommit

func (m *MockGitService) FindCommit(arg0 context.Context, arg1, arg2 string) (*scm.Commit, *scm.Response, error)

FindCommit mocks base method

func (*MockGitService) FindTag

func (m *MockGitService) FindTag(arg0 context.Context, arg1, arg2 string) (*scm.Reference, *scm.Response, error)

FindTag mocks base method

func (*MockGitService) ListBranches

func (m *MockGitService) ListBranches(arg0 context.Context, arg1 string, arg2 scm.ListOptions) ([]*scm.Reference, *scm.Response, error)

ListBranches mocks base method

func (*MockGitService) ListChanges

func (m *MockGitService) ListChanges(arg0 context.Context, arg1, arg2 string, arg3 scm.ListOptions) ([]*scm.Change, *scm.Response, error)

ListChanges mocks base method

func (*MockGitService) ListCommits

func (m *MockGitService) ListCommits(arg0 context.Context, arg1 string, arg2 scm.CommitListOptions) ([]*scm.Commit, *scm.Response, error)

ListCommits mocks base method

func (*MockGitService) ListTags

func (m *MockGitService) ListTags(arg0 context.Context, arg1 string, arg2 scm.ListOptions) ([]*scm.Reference, *scm.Response, error)

ListTags mocks base method

type MockGitServiceMockRecorder

type MockGitServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitServiceMockRecorder is the mock recorder for MockGitService

func (*MockGitServiceMockRecorder) CompareChanges added in v1.6.5

func (mr *MockGitServiceMockRecorder) CompareChanges(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CompareChanges indicates an expected call of CompareChanges

func (*MockGitServiceMockRecorder) FindBranch

func (mr *MockGitServiceMockRecorder) FindBranch(arg0, arg1, arg2 interface{}) *gomock.Call

FindBranch indicates an expected call of FindBranch

func (*MockGitServiceMockRecorder) FindCommit

func (mr *MockGitServiceMockRecorder) FindCommit(arg0, arg1, arg2 interface{}) *gomock.Call

FindCommit indicates an expected call of FindCommit

func (*MockGitServiceMockRecorder) FindTag

func (mr *MockGitServiceMockRecorder) FindTag(arg0, arg1, arg2 interface{}) *gomock.Call

FindTag indicates an expected call of FindTag

func (*MockGitServiceMockRecorder) ListBranches

func (mr *MockGitServiceMockRecorder) ListBranches(arg0, arg1, arg2 interface{}) *gomock.Call

ListBranches indicates an expected call of ListBranches

func (*MockGitServiceMockRecorder) ListChanges

func (mr *MockGitServiceMockRecorder) ListChanges(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListChanges indicates an expected call of ListChanges

func (*MockGitServiceMockRecorder) ListCommits

func (mr *MockGitServiceMockRecorder) ListCommits(arg0, arg1, arg2 interface{}) *gomock.Call

ListCommits indicates an expected call of ListCommits

func (*MockGitServiceMockRecorder) ListTags

func (mr *MockGitServiceMockRecorder) ListTags(arg0, arg1, arg2 interface{}) *gomock.Call

ListTags indicates an expected call of ListTags

type MockOrganizationService

type MockOrganizationService struct {
	// contains filtered or unexported fields
}

MockOrganizationService is a mock of OrganizationService interface

func NewMockOrganizationService

func NewMockOrganizationService(ctrl *gomock.Controller) *MockOrganizationService

NewMockOrganizationService creates a new mock instance

func (*MockOrganizationService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOrganizationService) Find

Find mocks base method

func (*MockOrganizationService) FindMembership added in v1.5.0

func (m *MockOrganizationService) FindMembership(arg0 context.Context, arg1, arg2 string) (*scm.Membership, *scm.Response, error)

FindMembership mocks base method

func (*MockOrganizationService) List

List mocks base method

type MockOrganizationServiceMockRecorder

type MockOrganizationServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockOrganizationServiceMockRecorder is the mock recorder for MockOrganizationService

func (*MockOrganizationServiceMockRecorder) Find

func (mr *MockOrganizationServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockOrganizationServiceMockRecorder) FindMembership added in v1.5.0

func (mr *MockOrganizationServiceMockRecorder) FindMembership(arg0, arg1, arg2 interface{}) *gomock.Call

FindMembership indicates an expected call of FindMembership

func (*MockOrganizationServiceMockRecorder) List

func (mr *MockOrganizationServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

type MockPullRequestService

type MockPullRequestService struct {
	// contains filtered or unexported fields
}

MockPullRequestService is a mock of PullRequestService interface

func NewMockPullRequestService

func NewMockPullRequestService(ctrl *gomock.Controller) *MockPullRequestService

NewMockPullRequestService creates a new mock instance

func (*MockPullRequestService) Close

func (m *MockPullRequestService) Close(arg0 context.Context, arg1 string, arg2 int) (*scm.Response, error)

Close mocks base method

func (*MockPullRequestService) Create added in v1.9.2

Create mocks base method

func (*MockPullRequestService) CreateComment

func (m *MockPullRequestService) CreateComment(arg0 context.Context, arg1 string, arg2 int, arg3 *scm.CommentInput) (*scm.Comment, *scm.Response, error)

CreateComment mocks base method

func (*MockPullRequestService) DeleteComment

func (m *MockPullRequestService) DeleteComment(arg0 context.Context, arg1 string, arg2, arg3 int) (*scm.Response, error)

DeleteComment mocks base method

func (*MockPullRequestService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPullRequestService) Find

func (m *MockPullRequestService) Find(arg0 context.Context, arg1 string, arg2 int) (*scm.PullRequest, *scm.Response, error)

Find mocks base method

func (*MockPullRequestService) FindComment

func (m *MockPullRequestService) FindComment(arg0 context.Context, arg1 string, arg2, arg3 int) (*scm.Comment, *scm.Response, error)

FindComment mocks base method

func (*MockPullRequestService) List

List mocks base method

func (*MockPullRequestService) ListChanges

func (m *MockPullRequestService) ListChanges(arg0 context.Context, arg1 string, arg2 int, arg3 scm.ListOptions) ([]*scm.Change, *scm.Response, error)

ListChanges mocks base method

func (*MockPullRequestService) ListComments

func (m *MockPullRequestService) ListComments(arg0 context.Context, arg1 string, arg2 int, arg3 scm.ListOptions) ([]*scm.Comment, *scm.Response, error)

ListComments mocks base method

func (*MockPullRequestService) Merge

func (m *MockPullRequestService) Merge(arg0 context.Context, arg1 string, arg2 int) (*scm.Response, error)

Merge mocks base method

type MockPullRequestServiceMockRecorder

type MockPullRequestServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockPullRequestServiceMockRecorder is the mock recorder for MockPullRequestService

func (*MockPullRequestServiceMockRecorder) Close

func (mr *MockPullRequestServiceMockRecorder) Close(arg0, arg1, arg2 interface{}) *gomock.Call

Close indicates an expected call of Close

func (*MockPullRequestServiceMockRecorder) Create added in v1.9.2

func (mr *MockPullRequestServiceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockPullRequestServiceMockRecorder) CreateComment

func (mr *MockPullRequestServiceMockRecorder) CreateComment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateComment indicates an expected call of CreateComment

func (*MockPullRequestServiceMockRecorder) DeleteComment

func (mr *MockPullRequestServiceMockRecorder) DeleteComment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteComment indicates an expected call of DeleteComment

func (*MockPullRequestServiceMockRecorder) Find

func (mr *MockPullRequestServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockPullRequestServiceMockRecorder) FindComment

func (mr *MockPullRequestServiceMockRecorder) FindComment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindComment indicates an expected call of FindComment

func (*MockPullRequestServiceMockRecorder) List

func (mr *MockPullRequestServiceMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockPullRequestServiceMockRecorder) ListChanges

func (mr *MockPullRequestServiceMockRecorder) ListChanges(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListChanges indicates an expected call of ListChanges

func (*MockPullRequestServiceMockRecorder) ListComments

func (mr *MockPullRequestServiceMockRecorder) ListComments(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListComments indicates an expected call of ListComments

func (*MockPullRequestServiceMockRecorder) Merge

func (mr *MockPullRequestServiceMockRecorder) Merge(arg0, arg1, arg2 interface{}) *gomock.Call

Merge indicates an expected call of Merge

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepositoryService) Find

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

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) UpdateHook added in v1.9.2

func (m *MockRepositoryService) UpdateHook(arg0 context.Context, arg1, arg2 string, arg3 *scm.HookInput) (*scm.Hook, *scm.Response, error)

UpdateHook 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) UpdateHook added in v1.9.2

func (mr *MockRepositoryServiceMockRecorder) UpdateHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateHook indicates an expected call of UpdateHook

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance

func (*MockUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUserService) Find

func (m *MockUserService) Find(arg0 context.Context) (*scm.User, *scm.Response, error)

Find mocks base method

func (*MockUserService) FindEmail

func (m *MockUserService) FindEmail(arg0 context.Context) (string, *scm.Response, error)

FindEmail mocks base method

func (*MockUserService) FindLogin

func (m *MockUserService) FindLogin(arg0 context.Context, arg1 string) (*scm.User, *scm.Response, error)

FindLogin mocks base method

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService

func (*MockUserServiceMockRecorder) Find

func (mr *MockUserServiceMockRecorder) Find(arg0 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockUserServiceMockRecorder) FindEmail

func (mr *MockUserServiceMockRecorder) FindEmail(arg0 interface{}) *gomock.Call

FindEmail indicates an expected call of FindEmail

func (*MockUserServiceMockRecorder) FindLogin

func (mr *MockUserServiceMockRecorder) FindLogin(arg0, arg1 interface{}) *gomock.Call

FindLogin indicates an expected call of FindLogin

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL