mocks

package
v0.0.0-...-bd1c8d7 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TeamMemberRepository

type TeamMemberRepository struct {
	mock.Mock
}

TeamMemberRepository is an autogenerated mock type for the TeamMemberRepository type

func NewTeamMemberRepository

func NewTeamMemberRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *TeamMemberRepository

NewTeamMemberRepository creates a new instance of TeamMemberRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TeamMemberRepository) Create

Create provides a mock function with given fields: ctx, req

func (*TeamMemberRepository) CreateCache

func (_m *TeamMemberRepository) CreateCache(ctx context.Context, key string, data interface{}, ttl time.Duration)

CreateCache provides a mock function with given fields: ctx, key, data, ttl

func (*TeamMemberRepository) Delete

Delete provides a mock function with given fields: ctx, req

func (*TeamMemberRepository) DeleteCache

func (_m *TeamMemberRepository) DeleteCache(ctx context.Context, key string)

DeleteCache provides a mock function with given fields: ctx, key

func (*TeamMemberRepository) GetCache

func (_m *TeamMemberRepository) GetCache(ctx context.Context, key string, res interface{}) bool

GetCache provides a mock function with given fields: ctx, key, res

func (*TeamMemberRepository) GetDetail

GetDetail provides a mock function with given fields: ctx, req

func (*TeamMemberRepository) GetList

GetList provides a mock function with given fields: ctx, req

func (*TeamMemberRepository) Update

Update provides a mock function with given fields: ctx, req

Jump to

Keyboard shortcuts

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