mocks

package
v0.0.0-...-589da53 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockNetworkStore

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

MockNetworkStore is a mock of NetworkStore interface.

func NewMockNetworkStore

func NewMockNetworkStore(ctrl *gomock.Controller) *MockNetworkStore

NewMockNetworkStore creates a new mock instance.

func (*MockNetworkStore) EXPECT

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

func (*MockNetworkStore) GetNetwork

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

GetNetwork mocks base method.

func (*MockNetworkStore) NetworkExists

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

NetworkExists mocks base method.

type MockNetworkStoreMockRecorder

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

MockNetworkStoreMockRecorder is the mock recorder for MockNetworkStore.

func (*MockNetworkStoreMockRecorder) GetNetwork

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

GetNetwork indicates an expected call of GetNetwork.

func (*MockNetworkStoreMockRecorder) NetworkExists

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

NetworkExists indicates an expected call of NetworkExists.

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) ConfigExists

func (m *MockStore) ConfigExists() (bool, error)

ConfigExists 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) GetConfig

func (m *MockStore) GetConfig() (*service.Config, error)

GetConfig mocks base method.

func (*MockStore) GetRsaKeys

func (m *MockStore) GetRsaKeys() (*v1.RSAKeys, error)

GetRsaKeys mocks base method.

func (*MockStore) RSAKeysExists

func (m *MockStore) RSAKeysExists() (bool, error)

RSAKeysExists mocks base method.

func (*MockStore) SaveConfig

func (m *MockStore) SaveConfig(arg0 *service.Config) error

SaveConfig mocks base method.

func (*MockStore) SaveRSAKeys

func (m *MockStore) SaveRSAKeys(arg0 *v1.RSAKeys) error

SaveRSAKeys mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) ConfigExists

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

ConfigExists indicates an expected call of ConfigExists.

func (*MockStoreMockRecorder) GetConfig

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

GetConfig indicates an expected call of GetConfig.

func (*MockStoreMockRecorder) GetRsaKeys

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

GetRsaKeys indicates an expected call of GetRsaKeys.

func (*MockStoreMockRecorder) RSAKeysExists

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

RSAKeysExists indicates an expected call of RSAKeysExists.

func (*MockStoreMockRecorder) SaveConfig

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

SaveConfig indicates an expected call of SaveConfig.

func (*MockStoreMockRecorder) SaveRSAKeys

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

SaveRSAKeys indicates an expected call of SaveRSAKeys.

Jump to

Keyboard shortcuts

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