mocks

package
v0.74.0-experiment.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: AGPL-3.0 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 added in v0.67.0

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

MockNetworkStore is a mock of NetworkStore interface.

func NewMockNetworkStore added in v0.67.0

func NewMockNetworkStore(ctrl *gomock.Controller) *MockNetworkStore

NewMockNetworkStore creates a new mock instance.

func (*MockNetworkStore) EXPECT added in v0.67.0

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

func (*MockNetworkStore) GetNetwork added in v0.67.0

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

GetNetwork mocks base method.

func (*MockNetworkStore) NetworkExists added in v0.67.0

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

NetworkExists mocks base method.

type MockNetworkStoreMockRecorder added in v0.67.0

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

MockNetworkStoreMockRecorder is the mock recorder for MockNetworkStore.

func (*MockNetworkStoreMockRecorder) GetNetwork added in v0.67.0

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

GetNetwork indicates an expected call of GetNetwork.

func (*MockNetworkStoreMockRecorder) NetworkExists added in v0.67.0

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 added in v0.68.0

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 added in v0.68.0

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

GetConfig mocks base method.

func (*MockStore) GetRsaKeys added in v0.67.0

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 added in v0.68.0

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 added in v0.68.0

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

ConfigExists indicates an expected call of ConfigExists.

func (*MockStoreMockRecorder) GetConfig added in v0.68.0

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

GetConfig indicates an expected call of GetConfig.

func (*MockStoreMockRecorder) GetRsaKeys added in v0.67.0

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 added in v0.68.0

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