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 ¶
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 ¶
func (m *MockNetworkStore) EXPECT() *MockNetworkStoreMockRecorder
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 ¶
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 ¶
GetRsaKeys mocks base method.
func (*MockStore) RSAKeysExists ¶
RSAKeysExists mocks base method.
func (*MockStore) SaveConfig ¶
SaveConfig 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.