Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockNetworkStore
- type MockNetworkStoreMockRecorder
- type MockStore
- func (m *MockStore) ConfigExists() (bool, error)
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetConfig() (*service.Config, error)
- func (m *MockStore) GetRsaKeys() (*v1.RSAKeys, error)
- func (m *MockStore) RSAKeysExists() (bool, error)
- func (m *MockStore) SaveConfig(arg0 *service.Config) error
- func (m *MockStore) SaveRSAKeys(arg0 *v1.RSAKeys) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) ConfigExists() *gomock.Call
- func (mr *MockStoreMockRecorder) GetConfig() *gomock.Call
- func (mr *MockStoreMockRecorder) GetRsaKeys() *gomock.Call
- func (mr *MockStoreMockRecorder) RSAKeysExists() *gomock.Call
- func (mr *MockStoreMockRecorder) SaveConfig(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SaveRSAKeys(arg0 interface{}) *gomock.Call
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
func (m *MockNetworkStore) EXPECT() *MockNetworkStoreMockRecorder
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
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) GetRsaKeys ¶ added in v0.67.0
GetRsaKeys mocks base method.
func (*MockStore) RSAKeysExists ¶
RSAKeysExists mocks base method.
func (*MockStore) SaveConfig ¶ added in v0.68.0
SaveConfig 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.