Documentation ¶
Overview ¶
Package mock_media is a generated GoMock package.
Package mock_media is a generated GoMock package.
Index ¶
- type MockStorage
- type MockStorageDisk
- func (m *MockStorageDisk) Delete(arg0 context.Context, arg1 string) error
- func (m *MockStorageDisk) EXPECT() *MockStorageDiskMockRecorder
- func (m *MockStorageDisk) Get(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockStorageDisk) Put(arg0 context.Context, arg1 string, arg2 []byte) error
- type MockStorageDiskMockRecorder
- type MockStorageMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) Disk ¶
func (m *MockStorage) Disk(arg0 string) (media.StorageDisk, error)
Disk mocks base method.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStorageDisk ¶
type MockStorageDisk struct {
// contains filtered or unexported fields
}
MockStorageDisk is a mock of StorageDisk interface.
func NewMockStorageDisk ¶
func NewMockStorageDisk(ctrl *gomock.Controller) *MockStorageDisk
NewMockStorageDisk creates a new mock instance.
func (*MockStorageDisk) Delete ¶
func (m *MockStorageDisk) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockStorageDisk) EXPECT ¶
func (m *MockStorageDisk) EXPECT() *MockStorageDiskMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStorageDiskMockRecorder ¶
type MockStorageDiskMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageDiskMockRecorder is the mock recorder for MockStorageDisk.
func (*MockStorageDiskMockRecorder) Delete ¶
func (mr *MockStorageDiskMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStorageDiskMockRecorder) Get ¶
func (mr *MockStorageDiskMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStorageDiskMockRecorder) Put ¶
func (mr *MockStorageDiskMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Disk ¶
func (mr *MockStorageMockRecorder) Disk(arg0 interface{}) *gomock.Call
Disk indicates an expected call of Disk.