Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type Provider
- type ProviderMockRecorder
- type Storage
- func (m *Storage) Create(arg0 context.Context, arg1 model.User) (uint64, error)
- func (m *Storage) Delete(arg0 context.Context, arg1 model.User) error
- func (m *Storage) DoAtomic(arg0 context.Context, arg1 func(context.Context) error) error
- func (m *Storage) EXPECT() *StorageMockRecorder
- func (m *Storage) Get(arg0 context.Context, arg1 uint64) (model.User, error)
- func (m *Storage) Update(arg0 context.Context, arg1 model.User) error
- type StorageMockRecorder
- func (mr *StorageMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) DoAtomic(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *StorageMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is a mock of Provider interface.
func NewProvider ¶
func NewProvider(ctrl *gomock.Controller) *Provider
NewProvider creates a new mock instance.
func (*Provider) EXPECT ¶
func (m *Provider) EXPECT() *ProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type ProviderMockRecorder ¶
type ProviderMockRecorder struct {
// contains filtered or unexported fields
}
ProviderMockRecorder is the mock recorder for Provider.
func (*ProviderMockRecorder) IsAuthorized ¶
func (mr *ProviderMockRecorder) IsAuthorized(arg0, arg1, arg2 interface{}) *gomock.Call
IsAuthorized indicates an expected call of IsAuthorized.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a mock of Storage interface.
func NewStorage ¶
func NewStorage(ctrl *gomock.Controller) *Storage
NewStorage creates a new mock instance.
func (*Storage) EXPECT ¶
func (m *Storage) EXPECT() *StorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type StorageMockRecorder ¶
type StorageMockRecorder struct {
// contains filtered or unexported fields
}
StorageMockRecorder is the mock recorder for Storage.
func (*StorageMockRecorder) Create ¶
func (mr *StorageMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*StorageMockRecorder) Delete ¶
func (mr *StorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*StorageMockRecorder) DoAtomic ¶
func (mr *StorageMockRecorder) DoAtomic(arg0, arg1 interface{}) *gomock.Call
DoAtomic indicates an expected call of DoAtomic.
func (*StorageMockRecorder) Get ¶
func (mr *StorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*StorageMockRecorder) Update ¶
func (mr *StorageMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.