mock_services

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_services 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) GetBannerIDToShow

func (m *MockBannerSlotSocialGroups) GetBannerIDToShow(ctx context.Context, inp core.GetBannerRequest) (int64, error)

GetBannerIDToShow mocks base method.

func (*MockBannerSlotSocialGroups) IncrementClick

IncrementClick mocks base method.

type MockBannerSlotSocialGroupsMockRecorder

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

MockBannerSlotSocialGroupsMockRecorder is the mock recorder for MockBannerSlotSocialGroups.

func (*MockBannerSlotSocialGroupsMockRecorder) GetBannerIDToShow

func (mr *MockBannerSlotSocialGroupsMockRecorder) GetBannerIDToShow(ctx, inp interface{}) *gomock.Call

GetBannerIDToShow indicates an expected call of GetBannerIDToShow.

func (*MockBannerSlotSocialGroupsMockRecorder) IncrementClick

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

IncrementClick indicates an expected call of IncrementClick.

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) AssociateBannerToSlot

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

AssociateBannerToSlot mocks base method.

func (*MockBannerSlots) DissociateBannerFromSlot

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

DissociateBannerFromSlot 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) AssociateBannerToSlot

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

AssociateBannerToSlot indicates an expected call of AssociateBannerToSlot.

func (*MockBannerSlotsMockRecorder) DissociateBannerFromSlot

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

DissociateBannerFromSlot indicates an expected call of DissociateBannerFromSlot.

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 MockQueue

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

MockQueue is a mock of Queue interface.

func NewMockQueue

func NewMockQueue(ctrl *gomock.Controller) *MockQueue

NewMockQueue creates a new mock instance.

func (*MockQueue) AddToQueue

func (m *MockQueue) AddToQueue(topic string, value interface{}) error

AddToQueue mocks base method.

func (*MockQueue) EXPECT

func (m *MockQueue) EXPECT() *MockQueueMockRecorder

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

type MockQueueMockRecorder

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

MockQueueMockRecorder is the mock recorder for MockQueue.

func (*MockQueueMockRecorder) AddToQueue

func (mr *MockQueueMockRecorder) AddToQueue(topic, value interface{}) *gomock.Call

AddToQueue indicates an expected call of AddToQueue.

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