Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockOrche
- type MockOrcheExternalAPI
- func (m *MockOrcheExternalAPI) EXPECT() *MockOrcheExternalAPIMockRecorder
- func (m *MockOrcheExternalAPI) RequestService(arg0 orchestrationapi.ReqeustService) orchestrationapi.ResponseService
- func (m *MockOrcheExternalAPI) RequestVerifierConf(arg0 verifier.RequestVerifierConf) verifier.ResponseVerifierConf
- type MockOrcheExternalAPIMockRecorder
- type MockOrcheInternalAPI
- func (m *MockOrcheInternalAPI) EXPECT() *MockOrcheInternalAPIMockRecorder
- func (m *MockOrcheInternalAPI) ExecuteAppOnLocal(arg0 map[string]interface{})
- func (m *MockOrcheInternalAPI) GetOrchestrationInfo() (string, string, []string, error)
- func (m *MockOrcheInternalAPI) GetResource(arg0 string) (map[string]interface{}, error)
- func (m *MockOrcheInternalAPI) GetScore(arg0 string) (float64, error)
- func (m *MockOrcheInternalAPI) GetScoreWithResource(arg0 map[string]interface{}) (float64, error)
- func (m *MockOrcheInternalAPI) HandleDeviceInfo(arg0, arg1, arg2 string)
- func (m *MockOrcheInternalAPI) HandleNotificationOnLocal(arg0 float64, arg1 string) error
- func (m *MockOrcheInternalAPI) Notify(arg0 configuremgrtypes.ServiceInfo)
- type MockOrcheInternalAPIMockRecorder
- func (mr *MockOrcheInternalAPIMockRecorder) ExecuteAppOnLocal(arg0 interface{}) *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) GetOrchestrationInfo() *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) GetResource(arg0 interface{}) *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) GetScore(arg0 interface{}) *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) GetScoreWithResource(arg0 interface{}) *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) HandleDeviceInfo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) HandleNotificationOnLocal(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrcheInternalAPIMockRecorder) Notify(arg0 interface{}) *gomock.Call
- type MockOrcheMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrche ¶
type MockOrche struct {
// contains filtered or unexported fields
}
MockOrche is a mock of Orche interface.
func NewMockOrche ¶
func NewMockOrche(ctrl *gomock.Controller) *MockOrche
NewMockOrche creates a new mock instance.
func (*MockOrche) EXPECT ¶
func (m *MockOrche) EXPECT() *MockOrcheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOrcheExternalAPI ¶
type MockOrcheExternalAPI struct {
// contains filtered or unexported fields
}
MockOrcheExternalAPI is a mock of OrcheExternalAPI interface.
func NewMockOrcheExternalAPI ¶
func NewMockOrcheExternalAPI(ctrl *gomock.Controller) *MockOrcheExternalAPI
NewMockOrcheExternalAPI creates a new mock instance.
func (*MockOrcheExternalAPI) EXPECT ¶
func (m *MockOrcheExternalAPI) EXPECT() *MockOrcheExternalAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrcheExternalAPI) RequestService ¶
func (m *MockOrcheExternalAPI) RequestService(arg0 orchestrationapi.ReqeustService) orchestrationapi.ResponseService
RequestService mocks base method.
func (*MockOrcheExternalAPI) RequestVerifierConf ¶
func (m *MockOrcheExternalAPI) RequestVerifierConf(arg0 verifier.RequestVerifierConf) verifier.ResponseVerifierConf
RequestVerifierConf mocks base method.
type MockOrcheExternalAPIMockRecorder ¶
type MockOrcheExternalAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockOrcheExternalAPIMockRecorder is the mock recorder for MockOrcheExternalAPI.
func (*MockOrcheExternalAPIMockRecorder) RequestService ¶
func (mr *MockOrcheExternalAPIMockRecorder) RequestService(arg0 interface{}) *gomock.Call
RequestService indicates an expected call of RequestService.
func (*MockOrcheExternalAPIMockRecorder) RequestVerifierConf ¶
func (mr *MockOrcheExternalAPIMockRecorder) RequestVerifierConf(arg0 interface{}) *gomock.Call
RequestVerifierConf indicates an expected call of RequestVerifierConf.
type MockOrcheInternalAPI ¶
type MockOrcheInternalAPI struct {
// contains filtered or unexported fields
}
MockOrcheInternalAPI is a mock of OrcheInternalAPI interface.
func NewMockOrcheInternalAPI ¶
func NewMockOrcheInternalAPI(ctrl *gomock.Controller) *MockOrcheInternalAPI
NewMockOrcheInternalAPI creates a new mock instance.
func (*MockOrcheInternalAPI) EXPECT ¶
func (m *MockOrcheInternalAPI) EXPECT() *MockOrcheInternalAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrcheInternalAPI) ExecuteAppOnLocal ¶
func (m *MockOrcheInternalAPI) ExecuteAppOnLocal(arg0 map[string]interface{})
ExecuteAppOnLocal mocks base method.
func (*MockOrcheInternalAPI) GetOrchestrationInfo ¶
func (m *MockOrcheInternalAPI) GetOrchestrationInfo() (string, string, []string, error)
GetOrchestrationInfo mocks base method.
func (*MockOrcheInternalAPI) GetResource ¶
func (m *MockOrcheInternalAPI) GetResource(arg0 string) (map[string]interface{}, error)
GetResource mocks base method.
func (*MockOrcheInternalAPI) GetScore ¶
func (m *MockOrcheInternalAPI) GetScore(arg0 string) (float64, error)
GetScore mocks base method.
func (*MockOrcheInternalAPI) GetScoreWithResource ¶
func (m *MockOrcheInternalAPI) GetScoreWithResource(arg0 map[string]interface{}) (float64, error)
GetScoreWithResource mocks base method.
func (*MockOrcheInternalAPI) HandleDeviceInfo ¶
func (m *MockOrcheInternalAPI) HandleDeviceInfo(arg0, arg1, arg2 string)
HandleDeviceInfo mocks base method.
func (*MockOrcheInternalAPI) HandleNotificationOnLocal ¶
func (m *MockOrcheInternalAPI) HandleNotificationOnLocal(arg0 float64, arg1 string) error
HandleNotificationOnLocal mocks base method.
func (*MockOrcheInternalAPI) Notify ¶
func (m *MockOrcheInternalAPI) Notify(arg0 configuremgrtypes.ServiceInfo)
Notify mocks base method.
type MockOrcheInternalAPIMockRecorder ¶
type MockOrcheInternalAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockOrcheInternalAPIMockRecorder is the mock recorder for MockOrcheInternalAPI.
func (*MockOrcheInternalAPIMockRecorder) ExecuteAppOnLocal ¶
func (mr *MockOrcheInternalAPIMockRecorder) ExecuteAppOnLocal(arg0 interface{}) *gomock.Call
ExecuteAppOnLocal indicates an expected call of ExecuteAppOnLocal.
func (*MockOrcheInternalAPIMockRecorder) GetOrchestrationInfo ¶
func (mr *MockOrcheInternalAPIMockRecorder) GetOrchestrationInfo() *gomock.Call
GetOrchestrationInfo indicates an expected call of GetOrchestrationInfo.
func (*MockOrcheInternalAPIMockRecorder) GetResource ¶
func (mr *MockOrcheInternalAPIMockRecorder) GetResource(arg0 interface{}) *gomock.Call
GetResource indicates an expected call of GetResource.
func (*MockOrcheInternalAPIMockRecorder) GetScore ¶
func (mr *MockOrcheInternalAPIMockRecorder) GetScore(arg0 interface{}) *gomock.Call
GetScore indicates an expected call of GetScore.
func (*MockOrcheInternalAPIMockRecorder) GetScoreWithResource ¶
func (mr *MockOrcheInternalAPIMockRecorder) GetScoreWithResource(arg0 interface{}) *gomock.Call
GetScoreWithResource indicates an expected call of GetScoreWithResource.
func (*MockOrcheInternalAPIMockRecorder) HandleDeviceInfo ¶
func (mr *MockOrcheInternalAPIMockRecorder) HandleDeviceInfo(arg0, arg1, arg2 interface{}) *gomock.Call
HandleDeviceInfo indicates an expected call of HandleDeviceInfo.
func (*MockOrcheInternalAPIMockRecorder) HandleNotificationOnLocal ¶
func (mr *MockOrcheInternalAPIMockRecorder) HandleNotificationOnLocal(arg0, arg1 interface{}) *gomock.Call
HandleNotificationOnLocal indicates an expected call of HandleNotificationOnLocal.
func (*MockOrcheInternalAPIMockRecorder) Notify ¶
func (mr *MockOrcheInternalAPIMockRecorder) Notify(arg0 interface{}) *gomock.Call
Notify indicates an expected call of Notify.
type MockOrcheMockRecorder ¶
type MockOrcheMockRecorder struct {
// contains filtered or unexported fields
}
MockOrcheMockRecorder is the mock recorder for MockOrche.
func (*MockOrcheMockRecorder) Start ¶
func (mr *MockOrcheMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call
Start indicates an expected call of Start.