Documentation ¶
Overview ¶
Package testutils is a generated GoMock package.
Index ¶
- type MockDatabase
- func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
- func (m *MockDatabase) GetAppDeepLinksCount(appID string) (uint64, error)
- func (m *MockDatabase) GetAppDeepLinksRateLimit(appID string) (uint64, error)
- func (m *MockDatabase) GetDeepLinkConfig(link string) (*types.LinkConfig, error)
- func (m *MockDatabase) SaveCreatedDeepLink(link *types.CreatedDeepLink) error
- type MockDatabaseMockRecorder
- func (mr *MockDatabaseMockRecorder) GetAppDeepLinksCount(appID interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetAppDeepLinksRateLimit(appID interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) GetDeepLinkConfig(link interface{}) *gomock.Call
- func (mr *MockDatabaseMockRecorder) SaveCreatedDeepLink(link interface{}) *gomock.Call
- type MockDeepLinksClient
- type MockDeepLinksClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDatabase ¶
type MockDatabase struct {
// contains filtered or unexported fields
}
MockDatabase is a mock of Database interface.
func NewMockDatabase ¶
func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase
NewMockDatabase creates a new mock instance.
func (*MockDatabase) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatabase) GetAppDeepLinksCount ¶
func (m *MockDatabase) GetAppDeepLinksCount(appID string) (uint64, error)
GetAppDeepLinksCount mocks base method.
func (*MockDatabase) GetAppDeepLinksRateLimit ¶
func (m *MockDatabase) GetAppDeepLinksRateLimit(appID string) (uint64, error)
GetAppDeepLinksRateLimit mocks base method.
func (*MockDatabase) GetDeepLinkConfig ¶
func (m *MockDatabase) GetDeepLinkConfig(link string) (*types.LinkConfig, error)
GetDeepLinkConfig mocks base method.
func (*MockDatabase) SaveCreatedDeepLink ¶
func (m *MockDatabase) SaveCreatedDeepLink(link *types.CreatedDeepLink) error
SaveCreatedDeepLink mocks base method.
type MockDatabaseMockRecorder ¶
type MockDatabaseMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseMockRecorder is the mock recorder for MockDatabase.
func (*MockDatabaseMockRecorder) GetAppDeepLinksCount ¶
func (mr *MockDatabaseMockRecorder) GetAppDeepLinksCount(appID interface{}) *gomock.Call
GetAppDeepLinksCount indicates an expected call of GetAppDeepLinksCount.
func (*MockDatabaseMockRecorder) GetAppDeepLinksRateLimit ¶
func (mr *MockDatabaseMockRecorder) GetAppDeepLinksRateLimit(appID interface{}) *gomock.Call
GetAppDeepLinksRateLimit indicates an expected call of GetAppDeepLinksRateLimit.
func (*MockDatabaseMockRecorder) GetDeepLinkConfig ¶
func (mr *MockDatabaseMockRecorder) GetDeepLinkConfig(link interface{}) *gomock.Call
GetDeepLinkConfig indicates an expected call of GetDeepLinkConfig.
func (*MockDatabaseMockRecorder) SaveCreatedDeepLink ¶
func (mr *MockDatabaseMockRecorder) SaveCreatedDeepLink(link interface{}) *gomock.Call
SaveCreatedDeepLink indicates an expected call of SaveCreatedDeepLink.
type MockDeepLinksClient ¶
type MockDeepLinksClient struct {
// contains filtered or unexported fields
}
MockDeepLinksClient is a mock of DeepLinksClient interface.
func NewMockDeepLinksClient ¶
func NewMockDeepLinksClient(ctrl *gomock.Controller) *MockDeepLinksClient
NewMockDeepLinksClient creates a new mock instance.
func (*MockDeepLinksClient) CreateDynamicLink ¶
func (m *MockDeepLinksClient) CreateDynamicLink(apiKey string, linkConfig *types.LinkConfig) (string, error)
CreateDynamicLink mocks base method.
func (*MockDeepLinksClient) EXPECT ¶
func (m *MockDeepLinksClient) EXPECT() *MockDeepLinksClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeepLinksClientMockRecorder ¶
type MockDeepLinksClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDeepLinksClientMockRecorder is the mock recorder for MockDeepLinksClient.
func (*MockDeepLinksClientMockRecorder) CreateDynamicLink ¶
func (mr *MockDeepLinksClientMockRecorder) CreateDynamicLink(apiKey, linkConfig interface{}) *gomock.Call
CreateDynamicLink indicates an expected call of CreateDynamicLink.