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