Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) Clear() error
- func (m *MockStorage) ClearDownload(arg0 string) error
- func (m *MockStorage) ClearNetworkTopology(arg0 string) error
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) ListDownload(arg0 string) ([]storage.Download, error)
- func (m *MockStorage) ListNetworkTopology(arg0 string) ([]storage.NetworkTopology, error)
- func (m *MockStorage) OpenDownload(arg0 string) (*os.File, error)
- func (m *MockStorage) OpenNetworkTopology(arg0 string) (*os.File, error)
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) Clear() *gomock.Call
- func (mr *MockStorageMockRecorder) ClearDownload(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) ClearNetworkTopology(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) ListDownload(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) ListNetworkTopology(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) OpenDownload(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) OpenNetworkTopology(arg0 interface{}) *gomock.Call
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) ClearDownload ¶
func (m *MockStorage) ClearDownload(arg0 string) error
ClearDownload mocks base method.
func (*MockStorage) ClearNetworkTopology ¶
func (m *MockStorage) ClearNetworkTopology(arg0 string) error
ClearNetworkTopology 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) ListDownload ¶
func (m *MockStorage) ListDownload(arg0 string) ([]storage.Download, error)
ListDownload mocks base method.
func (*MockStorage) ListNetworkTopology ¶
func (m *MockStorage) ListNetworkTopology(arg0 string) ([]storage.NetworkTopology, error)
ListNetworkTopology mocks base method.
func (*MockStorage) OpenDownload ¶
func (m *MockStorage) OpenDownload(arg0 string) (*os.File, error)
OpenDownload mocks base method.
func (*MockStorage) OpenNetworkTopology ¶
func (m *MockStorage) OpenNetworkTopology(arg0 string) (*os.File, error)
OpenNetworkTopology mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Clear ¶
func (mr *MockStorageMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockStorageMockRecorder) ClearDownload ¶
func (mr *MockStorageMockRecorder) ClearDownload(arg0 interface{}) *gomock.Call
ClearDownload indicates an expected call of ClearDownload.
func (*MockStorageMockRecorder) ClearNetworkTopology ¶
func (mr *MockStorageMockRecorder) ClearNetworkTopology(arg0 interface{}) *gomock.Call
ClearNetworkTopology indicates an expected call of ClearNetworkTopology.
func (*MockStorageMockRecorder) ListDownload ¶
func (mr *MockStorageMockRecorder) ListDownload(arg0 interface{}) *gomock.Call
ListDownload indicates an expected call of ListDownload.
func (*MockStorageMockRecorder) ListNetworkTopology ¶
func (mr *MockStorageMockRecorder) ListNetworkTopology(arg0 interface{}) *gomock.Call
ListNetworkTopology indicates an expected call of ListNetworkTopology.
func (*MockStorageMockRecorder) OpenDownload ¶
func (mr *MockStorageMockRecorder) OpenDownload(arg0 interface{}) *gomock.Call
OpenDownload indicates an expected call of OpenDownload.
func (*MockStorageMockRecorder) OpenNetworkTopology ¶
func (mr *MockStorageMockRecorder) OpenNetworkTopology(arg0 interface{}) *gomock.Call
OpenNetworkTopology indicates an expected call of OpenNetworkTopology.