mock_repository

package
v0.0.0-...-34e14d4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBannerSlotSocialGroups

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

MockBannerSlotSocialGroups is a mock of BannerSlotSocialGroups interface.

func NewMockBannerSlotSocialGroups

func NewMockBannerSlotSocialGroups(ctrl *gomock.Controller) *MockBannerSlotSocialGroups

NewMockBannerSlotSocialGroups creates a new mock instance.

func (*MockBannerSlotSocialGroups) EXPECT

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

func (*MockBannerSlotSocialGroups) GetTheMostProfitableBannerID

func (m *MockBannerSlotSocialGroups) GetTheMostProfitableBannerID(ctx context.Context, slotID, socialGroupID int64) (int64, error)

GetTheMostProfitableBannerID mocks base method.

func (*MockBannerSlotSocialGroups) IncrementClick

func (m *MockBannerSlotSocialGroups) IncrementClick(ctx context.Context, bannerSlotID, socialGroupID int64) error

IncrementClick mocks base method.

func (*MockBannerSlotSocialGroups) IncrementView

func (m *MockBannerSlotSocialGroups) IncrementView(ctx context.Context, bannerSlotID, socialGroupID int64) error

IncrementView mocks base method.

type MockBannerSlotSocialGroupsMockRecorder

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

MockBannerSlotSocialGroupsMockRecorder is the mock recorder for MockBannerSlotSocialGroups.

func (*MockBannerSlotSocialGroupsMockRecorder) GetTheMostProfitableBannerID

func (mr *MockBannerSlotSocialGroupsMockRecorder) GetTheMostProfitableBannerID(ctx, slotID, socialGroupID interface{}) *gomock.Call

GetTheMostProfitableBannerID indicates an expected call of GetTheMostProfitableBannerID.

func (*MockBannerSlotSocialGroupsMockRecorder) IncrementClick

func (mr *MockBannerSlotSocialGroupsMockRecorder) IncrementClick(ctx, bannerSlotID, socialGroupID interface{}) *gomock.Call

IncrementClick indicates an expected call of IncrementClick.

func (*MockBannerSlotSocialGroupsMockRecorder) IncrementView

func (mr *MockBannerSlotSocialGroupsMockRecorder) IncrementView(ctx, bannerSlotID, socialGroupID interface{}) *gomock.Call

IncrementView indicates an expected call of IncrementView.

type MockBannerSlots

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

MockBannerSlots is a mock of BannerSlots interface.

func NewMockBannerSlots

func NewMockBannerSlots(ctrl *gomock.Controller) *MockBannerSlots

NewMockBannerSlots creates a new mock instance.

func (*MockBannerSlots) AddBannerSlot

func (m *MockBannerSlots) AddBannerSlot(ctx context.Context, bannerID, slotID int64) (int64, error)

AddBannerSlot mocks base method.

func (*MockBannerSlots) DeleteBannerSlot

func (m *MockBannerSlots) DeleteBannerSlot(ctx context.Context, bannerID, slotID int64) error

DeleteBannerSlot mocks base method.

func (*MockBannerSlots) EXPECT

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

func (*MockBannerSlots) GetByBannerAndSlotIDs

func (m *MockBannerSlots) GetByBannerAndSlotIDs(ctx context.Context, bannerID, slotID int64) (*core.BannerSlot, error)

GetByBannerAndSlotIDs mocks base method.

func (*MockBannerSlots) GetRandomBannerIDExceptExcluded

func (m *MockBannerSlots) GetRandomBannerIDExceptExcluded(ctx context.Context, slotID, excludedBannerID int64) (int64, error)

GetRandomBannerIDExceptExcluded mocks base method.

type MockBannerSlotsMockRecorder

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

MockBannerSlotsMockRecorder is the mock recorder for MockBannerSlots.

func (*MockBannerSlotsMockRecorder) AddBannerSlot

func (mr *MockBannerSlotsMockRecorder) AddBannerSlot(ctx, bannerID, slotID interface{}) *gomock.Call

AddBannerSlot indicates an expected call of AddBannerSlot.

func (*MockBannerSlotsMockRecorder) DeleteBannerSlot

func (mr *MockBannerSlotsMockRecorder) DeleteBannerSlot(ctx, bannerID, slotID interface{}) *gomock.Call

DeleteBannerSlot indicates an expected call of DeleteBannerSlot.

func (*MockBannerSlotsMockRecorder) GetByBannerAndSlotIDs

func (mr *MockBannerSlotsMockRecorder) GetByBannerAndSlotIDs(ctx, bannerID, slotID interface{}) *gomock.Call

GetByBannerAndSlotIDs indicates an expected call of GetByBannerAndSlotIDs.

func (*MockBannerSlotsMockRecorder) GetRandomBannerIDExceptExcluded

func (mr *MockBannerSlotsMockRecorder) GetRandomBannerIDExceptExcluded(ctx, slotID, excludedBannerID interface{}) *gomock.Call

GetRandomBannerIDExceptExcluded indicates an expected call of GetRandomBannerIDExceptExcluded.

type MockBanners

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

MockBanners is a mock of Banners interface.

func NewMockBanners

func NewMockBanners(ctrl *gomock.Controller) *MockBanners

NewMockBanners creates a new mock instance.

func (*MockBanners) AddBanner

func (m *MockBanners) AddBanner(ctx context.Context, description string) (int64, error)

AddBanner mocks base method.

func (*MockBanners) DeleteBanner

func (m *MockBanners) DeleteBanner(ctx context.Context, id int64) error

DeleteBanner mocks base method.

func (*MockBanners) EXPECT

func (m *MockBanners) EXPECT() *MockBannersMockRecorder

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

func (*MockBanners) GetBanner

func (m *MockBanners) GetBanner(ctx context.Context, id int64) (*core.Banner, error)

GetBanner mocks base method.

type MockBannersMockRecorder

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

MockBannersMockRecorder is the mock recorder for MockBanners.

func (*MockBannersMockRecorder) AddBanner

func (mr *MockBannersMockRecorder) AddBanner(ctx, description interface{}) *gomock.Call

AddBanner indicates an expected call of AddBanner.

func (*MockBannersMockRecorder) DeleteBanner

func (mr *MockBannersMockRecorder) DeleteBanner(ctx, id interface{}) *gomock.Call

DeleteBanner indicates an expected call of DeleteBanner.

func (*MockBannersMockRecorder) GetBanner

func (mr *MockBannersMockRecorder) GetBanner(ctx, id interface{}) *gomock.Call

GetBanner indicates an expected call of GetBanner.

type MockSlots

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

MockSlots is a mock of Slots interface.

func NewMockSlots

func NewMockSlots(ctrl *gomock.Controller) *MockSlots

NewMockSlots creates a new mock instance.

func (*MockSlots) AddSlot

func (m *MockSlots) AddSlot(ctx context.Context, description string) (int64, error)

AddSlot mocks base method.

func (*MockSlots) DeleteSlot

func (m *MockSlots) DeleteSlot(ctx context.Context, id int64) error

DeleteSlot mocks base method.

func (*MockSlots) EXPECT

func (m *MockSlots) EXPECT() *MockSlotsMockRecorder

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

func (*MockSlots) GetSlot

func (m *MockSlots) GetSlot(ctx context.Context, id int64) (*core.Slot, error)

GetSlot mocks base method.

type MockSlotsMockRecorder

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

MockSlotsMockRecorder is the mock recorder for MockSlots.

func (*MockSlotsMockRecorder) AddSlot

func (mr *MockSlotsMockRecorder) AddSlot(ctx, description interface{}) *gomock.Call

AddSlot indicates an expected call of AddSlot.

func (*MockSlotsMockRecorder) DeleteSlot

func (mr *MockSlotsMockRecorder) DeleteSlot(ctx, id interface{}) *gomock.Call

DeleteSlot indicates an expected call of DeleteSlot.

func (*MockSlotsMockRecorder) GetSlot

func (mr *MockSlotsMockRecorder) GetSlot(ctx, id interface{}) *gomock.Call

GetSlot indicates an expected call of GetSlot.

type MockSocialGroups

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

MockSocialGroups is a mock of SocialGroups interface.

func NewMockSocialGroups

func NewMockSocialGroups(ctrl *gomock.Controller) *MockSocialGroups

NewMockSocialGroups creates a new mock instance.

func (*MockSocialGroups) AddSocialGroup

func (m *MockSocialGroups) AddSocialGroup(ctx context.Context, description string) (int64, error)

AddSocialGroup mocks base method.

func (*MockSocialGroups) DeleteSocialGroup

func (m *MockSocialGroups) DeleteSocialGroup(ctx context.Context, id int64) error

DeleteSocialGroup mocks base method.

func (*MockSocialGroups) EXPECT

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

func (*MockSocialGroups) GetSocialGroup

func (m *MockSocialGroups) GetSocialGroup(ctx context.Context, id int64) (*core.SocialGroup, error)

GetSocialGroup mocks base method.

type MockSocialGroupsMockRecorder

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

MockSocialGroupsMockRecorder is the mock recorder for MockSocialGroups.

func (*MockSocialGroupsMockRecorder) AddSocialGroup

func (mr *MockSocialGroupsMockRecorder) AddSocialGroup(ctx, description interface{}) *gomock.Call

AddSocialGroup indicates an expected call of AddSocialGroup.

func (*MockSocialGroupsMockRecorder) DeleteSocialGroup

func (mr *MockSocialGroupsMockRecorder) DeleteSocialGroup(ctx, id interface{}) *gomock.Call

DeleteSocialGroup indicates an expected call of DeleteSocialGroup.

func (*MockSocialGroupsMockRecorder) GetSocialGroup

func (mr *MockSocialGroupsMockRecorder) GetSocialGroup(ctx, id interface{}) *gomock.Call

GetSocialGroup indicates an expected call of GetSocialGroup.

Jump to

Keyboard shortcuts

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