Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDecentraland
- func (m *MockDecentraland) EXPECT() *MockDecentralandMockRecorder
- func (m *MockDecentraland) GetEstate(arg0 int) (*data.Estate, error)
- func (m *MockDecentraland) GetMap(arg0, arg1, arg2, arg3 int) ([]*data.Parcel, []*data.Estate, error)
- func (m *MockDecentraland) GetParcel(arg0, arg1 int) (*data.Parcel, error)
- func (m *MockDecentraland) GetParcelAccessData(arg0 string, arg1, arg2 int64) (*data.AccessData, error)
- type MockDecentralandMockRecorder
- func (mr *MockDecentralandMockRecorder) GetEstate(arg0 interface{}) *gomock.Call
- func (mr *MockDecentralandMockRecorder) GetMap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDecentralandMockRecorder) GetParcel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDecentralandMockRecorder) GetParcelAccessData(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockStorage
- func (m *MockStorage) DownloadFile(arg0, arg1 string) error
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) FileSize(arg0 string) (int64, error)
- func (m *MockStorage) GetFile(arg0 string) string
- func (m *MockStorage) SaveFile(arg0 string, arg1 io.Reader, arg2 string) (string, error)
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) FileSize(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) GetFile(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) SaveFile(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDecentraland ¶
type MockDecentraland struct {
// contains filtered or unexported fields
}
MockDecentraland is a mock of Decentraland interface
func NewMockDecentraland ¶
func NewMockDecentraland(ctrl *gomock.Controller) *MockDecentraland
NewMockDecentraland creates a new mock instance
func (*MockDecentraland) EXPECT ¶
func (m *MockDecentraland) EXPECT() *MockDecentralandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDecentraland) GetEstate ¶
func (m *MockDecentraland) GetEstate(arg0 int) (*data.Estate, error)
GetEstate mocks base method
func (*MockDecentraland) GetMap ¶
func (m *MockDecentraland) GetMap(arg0, arg1, arg2, arg3 int) ([]*data.Parcel, []*data.Estate, error)
GetMap mocks base method
func (*MockDecentraland) GetParcel ¶
func (m *MockDecentraland) GetParcel(arg0, arg1 int) (*data.Parcel, error)
GetParcel mocks base method
func (*MockDecentraland) GetParcelAccessData ¶
func (m *MockDecentraland) GetParcelAccessData(arg0 string, arg1, arg2 int64) (*data.AccessData, error)
GetParcelAccessData mocks base method
type MockDecentralandMockRecorder ¶
type MockDecentralandMockRecorder struct {
// contains filtered or unexported fields
}
MockDecentralandMockRecorder is the mock recorder for MockDecentraland
func (*MockDecentralandMockRecorder) GetEstate ¶
func (mr *MockDecentralandMockRecorder) GetEstate(arg0 interface{}) *gomock.Call
GetEstate indicates an expected call of GetEstate
func (*MockDecentralandMockRecorder) GetMap ¶
func (mr *MockDecentralandMockRecorder) GetMap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetMap indicates an expected call of GetMap
func (*MockDecentralandMockRecorder) GetParcel ¶
func (mr *MockDecentralandMockRecorder) GetParcel(arg0, arg1 interface{}) *gomock.Call
GetParcel indicates an expected call of GetParcel
func (*MockDecentralandMockRecorder) GetParcelAccessData ¶
func (mr *MockDecentralandMockRecorder) GetParcelAccessData(arg0, arg1, arg2 interface{}) *gomock.Call
GetParcelAccessData indicates an expected call of GetParcelAccessData
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) DownloadFile ¶
func (m *MockStorage) DownloadFile(arg0, arg1 string) error
DownloadFile mocks base method
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) FileSize ¶
func (m *MockStorage) FileSize(arg0 string) (int64, error)
FileSize mocks base method
func (*MockStorage) GetFile ¶
func (m *MockStorage) GetFile(arg0 string) string
GetFile mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) DownloadFile ¶
func (mr *MockStorageMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile
func (*MockStorageMockRecorder) FileSize ¶
func (mr *MockStorageMockRecorder) FileSize(arg0 interface{}) *gomock.Call
FileSize indicates an expected call of FileSize
func (*MockStorageMockRecorder) GetFile ¶
func (mr *MockStorageMockRecorder) GetFile(arg0 interface{}) *gomock.Call
GetFile indicates an expected call of GetFile
func (*MockStorageMockRecorder) SaveFile ¶
func (mr *MockStorageMockRecorder) SaveFile(arg0, arg1, arg2 interface{}) *gomock.Call
SaveFile indicates an expected call of SaveFile