mock_application

package
v0.0.0-...-c4b140d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mock_application is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGoogleOAuthService

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

MockGoogleOAuthService is a mock of GoogleOAuthService interface.

func NewMockGoogleOAuthService

func NewMockGoogleOAuthService(ctrl *gomock.Controller) *MockGoogleOAuthService

NewMockGoogleOAuthService creates a new mock instance.

func (*MockGoogleOAuthService) EXPECT

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

func (*MockGoogleOAuthService) GetConfig

func (m *MockGoogleOAuthService) GetConfig() *oauth2.Config

GetConfig mocks base method.

func (*MockGoogleOAuthService) GetRedirectUrl

func (m *MockGoogleOAuthService) GetRedirectUrl(ctx context.Context) (string, error)

GetRedirectUrl mocks base method.

func (*MockGoogleOAuthService) GetToken

func (m *MockGoogleOAuthService) GetToken(ctx context.Context, code string) (*oauth2.Token, error)

GetToken mocks base method.

func (*MockGoogleOAuthService) GetUserInfo

func (m *MockGoogleOAuthService) GetUserInfo(ctx context.Context, accessToken string) (*oauth20.Tokeninfo, error)

GetUserInfo mocks base method.

type MockGoogleOAuthServiceMockRecorder

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

MockGoogleOAuthServiceMockRecorder is the mock recorder for MockGoogleOAuthService.

func (*MockGoogleOAuthServiceMockRecorder) GetConfig

GetConfig indicates an expected call of GetConfig.

func (*MockGoogleOAuthServiceMockRecorder) GetRedirectUrl

func (mr *MockGoogleOAuthServiceMockRecorder) GetRedirectUrl(ctx interface{}) *gomock.Call

GetRedirectUrl indicates an expected call of GetRedirectUrl.

func (*MockGoogleOAuthServiceMockRecorder) GetToken

func (mr *MockGoogleOAuthServiceMockRecorder) GetToken(ctx, code interface{}) *gomock.Call

GetToken indicates an expected call of GetToken.

func (*MockGoogleOAuthServiceMockRecorder) GetUserInfo

func (mr *MockGoogleOAuthServiceMockRecorder) GetUserInfo(ctx, accessToken interface{}) *gomock.Call

GetUserInfo indicates an expected call of GetUserInfo.

type MockIContactSource

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

MockIContactSource is a mock of IContactSource interface.

func NewMockIContactSource

func NewMockIContactSource(ctrl *gomock.Controller) *MockIContactSource

NewMockIContactSource creates a new mock instance.

func (*MockIContactSource) EXPECT

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

func (*MockIContactSource) Puller

Puller mocks base method.

func (*MockIContactSource) Reader

Reader mocks base method.

func (*MockIContactSource) Remove

func (m *MockIContactSource) Remove(ctx context.Context, userId domain.UserID, sourceId domain.ContactSourceID, contactIds []domain.ContactID) error

Remove mocks base method.

func (*MockIContactSource) Update

func (m *MockIContactSource) Update(ctx context.Context, userId domain.UserID, sourceId domain.ContactSourceID, contactId domain.ContactID, unified domain.Unified) error

Update mocks base method.

type MockIContactSourceMockRecorder

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

MockIContactSourceMockRecorder is the mock recorder for MockIContactSource.

func (*MockIContactSourceMockRecorder) Puller

func (mr *MockIContactSourceMockRecorder) Puller(ctx, userId, source interface{}) *gomock.Call

Puller indicates an expected call of Puller.

func (*MockIContactSourceMockRecorder) Reader

func (mr *MockIContactSourceMockRecorder) Reader(ctx, userId, sourceId interface{}) *gomock.Call

Reader indicates an expected call of Reader.

func (*MockIContactSourceMockRecorder) Remove

func (mr *MockIContactSourceMockRecorder) Remove(ctx, userId, sourceId, contactIds interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockIContactSourceMockRecorder) Update

func (mr *MockIContactSourceMockRecorder) Update(ctx, userId, sourceId, contactId, unified interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockIContactSourceProvider

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

MockIContactSourceProvider is a mock of IContactSourceProvider interface.

func NewMockIContactSourceProvider

func NewMockIContactSourceProvider(ctrl *gomock.Controller) *MockIContactSourceProvider

NewMockIContactSourceProvider creates a new mock instance.

func (*MockIContactSourceProvider) EXPECT

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

func (*MockIContactSourceProvider) Get

Get mocks base method.

type MockIContactSourceProviderMockRecorder

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

MockIContactSourceProviderMockRecorder is the mock recorder for MockIContactSourceProvider.

func (*MockIContactSourceProviderMockRecorder) Get

func (mr *MockIContactSourceProviderMockRecorder) Get(source interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockIContactSourcePuller

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

MockIContactSourcePuller is a mock of IContactSourcePuller interface.

func NewMockIContactSourcePuller

func NewMockIContactSourcePuller(ctrl *gomock.Controller) *MockIContactSourcePuller

NewMockIContactSourcePuller creates a new mock instance.

func (*MockIContactSourcePuller) EXPECT

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

func (*MockIContactSourcePuller) Pull

Pull mocks base method.

type MockIContactSourcePullerMockRecorder

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

MockIContactSourcePullerMockRecorder is the mock recorder for MockIContactSourcePuller.

func (*MockIContactSourcePullerMockRecorder) Pull

func (mr *MockIContactSourcePullerMockRecorder) Pull(ctx interface{}) *gomock.Call

Pull indicates an expected call of Pull.

type MockIContactSourceReader

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

MockIContactSourceReader is a mock of IContactSourceReader interface.

func NewMockIContactSourceReader

func NewMockIContactSourceReader(ctrl *gomock.Controller) *MockIContactSourceReader

NewMockIContactSourceReader creates a new mock instance.

func (*MockIContactSourceReader) EXPECT

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

func (*MockIContactSourceReader) Read

Read mocks base method.

type MockIContactSourceReaderMockRecorder

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

MockIContactSourceReaderMockRecorder is the mock recorder for MockIContactSourceReader.

func (*MockIContactSourceReaderMockRecorder) Read

func (mr *MockIContactSourceReaderMockRecorder) Read(ctx interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockPeopleService

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

MockPeopleService is a mock of PeopleService interface.

func NewMockPeopleService

func NewMockPeopleService(ctrl *gomock.Controller) *MockPeopleService

NewMockPeopleService creates a new mock instance.

func (*MockPeopleService) EXPECT

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

func (*MockPeopleService) Get

func (m *MockPeopleService) Get(personId string) (*people.Person, error)

Get mocks base method.

func (*MockPeopleService) List

List mocks base method.

func (*MockPeopleService) Update

func (m *MockPeopleService) Update(personId string, person *people.Person) (*people.Person, error)

Update mocks base method.

type MockPeopleServiceFactory

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

MockPeopleServiceFactory is a mock of PeopleServiceFactory interface.

func NewMockPeopleServiceFactory

func NewMockPeopleServiceFactory(ctrl *gomock.Controller) *MockPeopleServiceFactory

NewMockPeopleServiceFactory creates a new mock instance.

func (*MockPeopleServiceFactory) EXPECT

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

func (*MockPeopleServiceFactory) New

func (m *MockPeopleServiceFactory) New(ctx context.Context, accessToken, refreshToken string, expiry time.Time) application.PeopleService

New mocks base method.

type MockPeopleServiceFactoryMockRecorder

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

MockPeopleServiceFactoryMockRecorder is the mock recorder for MockPeopleServiceFactory.

func (*MockPeopleServiceFactoryMockRecorder) New

func (mr *MockPeopleServiceFactoryMockRecorder) New(ctx, accessToken, refreshToken, expiry interface{}) *gomock.Call

New indicates an expected call of New.

type MockPeopleServiceMockRecorder

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

MockPeopleServiceMockRecorder is the mock recorder for MockPeopleService.

func (*MockPeopleServiceMockRecorder) Get

func (mr *MockPeopleServiceMockRecorder) Get(personId interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockPeopleServiceMockRecorder) List

func (mr *MockPeopleServiceMockRecorder) List(pageToken interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockPeopleServiceMockRecorder) Update

func (mr *MockPeopleServiceMockRecorder) Update(personId, person interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockPullContactPublisher

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

MockPullContactPublisher is a mock of PullContactPublisher interface.

func NewMockPullContactPublisher

func NewMockPullContactPublisher(ctrl *gomock.Controller) *MockPullContactPublisher

NewMockPullContactPublisher creates a new mock instance.

func (*MockPullContactPublisher) EXPECT

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

func (*MockPullContactPublisher) Publish

Publish mocks base method.

type MockPullContactPublisherMockRecorder

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

MockPullContactPublisherMockRecorder is the mock recorder for MockPullContactPublisher.

func (*MockPullContactPublisherMockRecorder) Publish

func (mr *MockPullContactPublisherMockRecorder) Publish(ctx, job interface{}) *gomock.Call

Publish indicates an expected call of Publish.

Jump to

Keyboard shortcuts

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