mocks

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) DeleteNetwork added in v0.11.0

func (m *MockStore) DeleteNetwork(arg0 string) error

DeleteNetwork mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStore) GetNetwork

func (m *MockStore) GetNetwork(arg0 string) (*network.Network, error)

GetNetwork mocks base method

func (*MockStore) GetNetworkPath added in v0.10.0

func (m *MockStore) GetNetworkPath(arg0 string) string

GetNetworkPath mocks base method

func (*MockStore) ListNetworks added in v0.10.0

func (m *MockStore) ListNetworks() ([]string, error)

ListNetworks mocks base method

func (*MockStore) NetworkExists

func (m *MockStore) NetworkExists(arg0 string) (bool, error)

NetworkExists mocks base method

func (*MockStore) SaveNetwork

func (m *MockStore) SaveNetwork(arg0 *network.Network) error

SaveNetwork mocks base method

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) DeleteNetwork added in v0.11.0

func (mr *MockStoreMockRecorder) DeleteNetwork(arg0 interface{}) *gomock.Call

DeleteNetwork indicates an expected call of DeleteNetwork

func (*MockStoreMockRecorder) GetNetwork

func (mr *MockStoreMockRecorder) GetNetwork(arg0 interface{}) *gomock.Call

GetNetwork indicates an expected call of GetNetwork

func (*MockStoreMockRecorder) GetNetworkPath added in v0.10.0

func (mr *MockStoreMockRecorder) GetNetworkPath(arg0 interface{}) *gomock.Call

GetNetworkPath indicates an expected call of GetNetworkPath

func (*MockStoreMockRecorder) ListNetworks added in v0.10.0

func (mr *MockStoreMockRecorder) ListNetworks() *gomock.Call

ListNetworks indicates an expected call of ListNetworks

func (*MockStoreMockRecorder) NetworkExists

func (mr *MockStoreMockRecorder) NetworkExists(arg0 interface{}) *gomock.Call

NetworkExists indicates an expected call of NetworkExists

func (*MockStoreMockRecorder) SaveNetwork

func (mr *MockStoreMockRecorder) SaveNetwork(arg0 interface{}) *gomock.Call

SaveNetwork indicates an expected call of SaveNetwork

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL