Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDiscovery
- func (m *MockDiscovery) AddDeviceInfo(deviceID, virtualAddr, privateAddr string)
- func (m *MockDiscovery) AddNewServiceName(serviceName string) error
- func (m *MockDiscovery) DeleteDeviceWithID(ID string)
- func (m *MockDiscovery) DeleteDeviceWithIP(targetIP string)
- func (m *MockDiscovery) EXPECT() *MockDiscoveryMockRecorder
- func (m *MockDiscovery) GetOrchestrationInfo() (string, string, []string, error)
- func (m *MockDiscovery) MNEDCClosedCallback()
- func (m *MockDiscovery) MNEDCReconciledCallback()
- func (m *MockDiscovery) NotifyMNEDCBroadcastServer() error
- func (m *MockDiscovery) RemoveServiceName(serviceName string) error
- func (m *MockDiscovery) ResetServiceName()
- func (m *MockDiscovery) SetCipher(cipher cipher.IEdgeCipherer)
- func (m *MockDiscovery) SetClient(clientAPI client.Clienter)
- func (m *MockDiscovery) SetRestResource()
- func (m *MockDiscovery) StartDiscovery(UUIDpath, platform, executionType string) error
- func (m *MockDiscovery) StartMNEDCClient(arg0, arg1 string)
- func (m *MockDiscovery) StartMNEDCServer(arg0 string)
- func (m *MockDiscovery) StopDiscovery()
- type MockDiscoveryMockRecorder
- func (mr *MockDiscoveryMockRecorder) AddDeviceInfo(deviceID, virtualAddr, privateAddr interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) AddNewServiceName(serviceName interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) DeleteDeviceWithID(ID interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) DeleteDeviceWithIP(targetIP interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) GetOrchestrationInfo() *gomock.Call
- func (mr *MockDiscoveryMockRecorder) MNEDCClosedCallback() *gomock.Call
- func (mr *MockDiscoveryMockRecorder) MNEDCReconciledCallback() *gomock.Call
- func (mr *MockDiscoveryMockRecorder) NotifyMNEDCBroadcastServer() *gomock.Call
- func (mr *MockDiscoveryMockRecorder) RemoveServiceName(serviceName interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) ResetServiceName() *gomock.Call
- func (mr *MockDiscoveryMockRecorder) SetCipher(cipher interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) SetClient(clientAPI interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) SetRestResource() *gomock.Call
- func (mr *MockDiscoveryMockRecorder) StartDiscovery(UUIDpath, platform, executionType interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) StartMNEDCClient(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) StartMNEDCServer(arg0 interface{}) *gomock.Call
- func (mr *MockDiscoveryMockRecorder) StopDiscovery() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiscovery ¶
type MockDiscovery struct {
// contains filtered or unexported fields
}
MockDiscovery is a mock of Discovery interface.
func NewMockDiscovery ¶
func NewMockDiscovery(ctrl *gomock.Controller) *MockDiscovery
NewMockDiscovery creates a new mock instance.
func (*MockDiscovery) AddDeviceInfo ¶
func (m *MockDiscovery) AddDeviceInfo(deviceID, virtualAddr, privateAddr string)
AddDeviceInfo mocks base method.
func (*MockDiscovery) AddNewServiceName ¶
func (m *MockDiscovery) AddNewServiceName(serviceName string) error
AddNewServiceName mocks base method.
func (*MockDiscovery) DeleteDeviceWithID ¶
func (m *MockDiscovery) DeleteDeviceWithID(ID string)
DeleteDeviceWithID mocks base method.
func (*MockDiscovery) DeleteDeviceWithIP ¶
func (m *MockDiscovery) DeleteDeviceWithIP(targetIP string)
DeleteDeviceWithIP mocks base method.
func (*MockDiscovery) EXPECT ¶
func (m *MockDiscovery) EXPECT() *MockDiscoveryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiscovery) GetOrchestrationInfo ¶
func (m *MockDiscovery) GetOrchestrationInfo() (string, string, []string, error)
GetOrchestrationInfo mocks base method.
func (*MockDiscovery) MNEDCClosedCallback ¶
func (m *MockDiscovery) MNEDCClosedCallback()
MNEDCClosedCallback mocks base method.
func (*MockDiscovery) MNEDCReconciledCallback ¶
func (m *MockDiscovery) MNEDCReconciledCallback()
MNEDCReconciledCallback mocks base method.
func (*MockDiscovery) NotifyMNEDCBroadcastServer ¶
func (m *MockDiscovery) NotifyMNEDCBroadcastServer() error
NotifyMNEDCBroadcastServer mocks base method.
func (*MockDiscovery) RemoveServiceName ¶
func (m *MockDiscovery) RemoveServiceName(serviceName string) error
RemoveServiceName mocks base method.
func (*MockDiscovery) ResetServiceName ¶
func (m *MockDiscovery) ResetServiceName()
ResetServiceName mocks base method.
func (*MockDiscovery) SetCipher ¶
func (m *MockDiscovery) SetCipher(cipher cipher.IEdgeCipherer)
SetCipher mocks base method.
func (*MockDiscovery) SetClient ¶
func (m *MockDiscovery) SetClient(clientAPI client.Clienter)
SetClient mocks base method.
func (*MockDiscovery) SetRestResource ¶
func (m *MockDiscovery) SetRestResource()
SetRestResource mocks base method.
func (*MockDiscovery) StartDiscovery ¶
func (m *MockDiscovery) StartDiscovery(UUIDpath, platform, executionType string) error
StartDiscovery mocks base method.
func (*MockDiscovery) StartMNEDCClient ¶
func (m *MockDiscovery) StartMNEDCClient(arg0, arg1 string)
StartMNEDCClient mocks base method.
func (*MockDiscovery) StartMNEDCServer ¶
func (m *MockDiscovery) StartMNEDCServer(arg0 string)
StartMNEDCServer mocks base method.
func (*MockDiscovery) StopDiscovery ¶
func (m *MockDiscovery) StopDiscovery()
StopDiscovery mocks base method.
type MockDiscoveryMockRecorder ¶
type MockDiscoveryMockRecorder struct {
// contains filtered or unexported fields
}
MockDiscoveryMockRecorder is the mock recorder for MockDiscovery.
func (*MockDiscoveryMockRecorder) AddDeviceInfo ¶
func (mr *MockDiscoveryMockRecorder) AddDeviceInfo(deviceID, virtualAddr, privateAddr interface{}) *gomock.Call
AddDeviceInfo indicates an expected call of AddDeviceInfo.
func (*MockDiscoveryMockRecorder) AddNewServiceName ¶
func (mr *MockDiscoveryMockRecorder) AddNewServiceName(serviceName interface{}) *gomock.Call
AddNewServiceName indicates an expected call of AddNewServiceName.
func (*MockDiscoveryMockRecorder) DeleteDeviceWithID ¶
func (mr *MockDiscoveryMockRecorder) DeleteDeviceWithID(ID interface{}) *gomock.Call
DeleteDeviceWithID indicates an expected call of DeleteDeviceWithID.
func (*MockDiscoveryMockRecorder) DeleteDeviceWithIP ¶
func (mr *MockDiscoveryMockRecorder) DeleteDeviceWithIP(targetIP interface{}) *gomock.Call
DeleteDeviceWithIP indicates an expected call of DeleteDeviceWithIP.
func (*MockDiscoveryMockRecorder) GetOrchestrationInfo ¶
func (mr *MockDiscoveryMockRecorder) GetOrchestrationInfo() *gomock.Call
GetOrchestrationInfo indicates an expected call of GetOrchestrationInfo.
func (*MockDiscoveryMockRecorder) MNEDCClosedCallback ¶
func (mr *MockDiscoveryMockRecorder) MNEDCClosedCallback() *gomock.Call
MNEDCClosedCallback indicates an expected call of MNEDCClosedCallback.
func (*MockDiscoveryMockRecorder) MNEDCReconciledCallback ¶
func (mr *MockDiscoveryMockRecorder) MNEDCReconciledCallback() *gomock.Call
MNEDCReconciledCallback indicates an expected call of MNEDCReconciledCallback.
func (*MockDiscoveryMockRecorder) NotifyMNEDCBroadcastServer ¶
func (mr *MockDiscoveryMockRecorder) NotifyMNEDCBroadcastServer() *gomock.Call
NotifyMNEDCBroadcastServer indicates an expected call of NotifyMNEDCBroadcastServer.
func (*MockDiscoveryMockRecorder) RemoveServiceName ¶
func (mr *MockDiscoveryMockRecorder) RemoveServiceName(serviceName interface{}) *gomock.Call
RemoveServiceName indicates an expected call of RemoveServiceName.
func (*MockDiscoveryMockRecorder) ResetServiceName ¶
func (mr *MockDiscoveryMockRecorder) ResetServiceName() *gomock.Call
ResetServiceName indicates an expected call of ResetServiceName.
func (*MockDiscoveryMockRecorder) SetCipher ¶
func (mr *MockDiscoveryMockRecorder) SetCipher(cipher interface{}) *gomock.Call
SetCipher indicates an expected call of SetCipher.
func (*MockDiscoveryMockRecorder) SetClient ¶
func (mr *MockDiscoveryMockRecorder) SetClient(clientAPI interface{}) *gomock.Call
SetClient indicates an expected call of SetClient.
func (*MockDiscoveryMockRecorder) SetRestResource ¶
func (mr *MockDiscoveryMockRecorder) SetRestResource() *gomock.Call
SetRestResource indicates an expected call of SetRestResource.
func (*MockDiscoveryMockRecorder) StartDiscovery ¶
func (mr *MockDiscoveryMockRecorder) StartDiscovery(UUIDpath, platform, executionType interface{}) *gomock.Call
StartDiscovery indicates an expected call of StartDiscovery.
func (*MockDiscoveryMockRecorder) StartMNEDCClient ¶
func (mr *MockDiscoveryMockRecorder) StartMNEDCClient(arg0, arg1 interface{}) *gomock.Call
StartMNEDCClient indicates an expected call of StartMNEDCClient.
func (*MockDiscoveryMockRecorder) StartMNEDCServer ¶
func (mr *MockDiscoveryMockRecorder) StartMNEDCServer(arg0 interface{}) *gomock.Call
StartMNEDCServer indicates an expected call of StartMNEDCServer.
func (*MockDiscoveryMockRecorder) StopDiscovery ¶
func (mr *MockDiscoveryMockRecorder) StopDiscovery() *gomock.Call
StopDiscovery indicates an expected call of StopDiscovery.