Documentation ¶
Index ¶
- type NewWebServiceConnectorT
- type WebService
- func (_m *WebService) GetInstanceProperties(ctx context.Context) (*sapcontrolapi.GetInstancePropertiesResponse, error)
- func (_m *WebService) GetProcessList(ctx context.Context) (*sapcontrolapi.GetProcessListResponse, error)
- func (_m *WebService) GetSystemInstanceList(ctx context.Context) (*sapcontrolapi.GetSystemInstanceListResponse, error)
- func (_m *WebService) GetVersionInfo(ctx context.Context) (*sapcontrolapi.GetVersionInfoResponse, error)
- func (_m *WebService) HACheckConfig(ctx context.Context) (*sapcontrolapi.HACheckConfigResponse, error)
- func (_m *WebService) HAGetFailoverConfig(ctx context.Context) (*sapcontrolapi.HAGetFailoverConfigResponse, error)
- type WebServiceConnector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewWebServiceConnectorT ¶
type WebService ¶
WebService is an autogenerated mock type for the WebService type
func NewWebService ¶
func NewWebService(t interface { mock.TestingT Cleanup(func()) }) *WebService
NewWebService creates a new instance of WebService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WebService) GetInstanceProperties ¶
func (_m *WebService) GetInstanceProperties(ctx context.Context) (*sapcontrolapi.GetInstancePropertiesResponse, error)
GetInstanceProperties provides a mock function with given fields: ctx
func (*WebService) GetProcessList ¶
func (_m *WebService) GetProcessList(ctx context.Context) (*sapcontrolapi.GetProcessListResponse, error)
GetProcessList provides a mock function with given fields: ctx
func (*WebService) GetSystemInstanceList ¶
func (_m *WebService) GetSystemInstanceList(ctx context.Context) (*sapcontrolapi.GetSystemInstanceListResponse, error)
GetSystemInstanceList provides a mock function with given fields: ctx
func (*WebService) GetVersionInfo ¶
func (_m *WebService) GetVersionInfo(ctx context.Context) (*sapcontrolapi.GetVersionInfoResponse, error)
GetVersionInfo provides a mock function with given fields: ctx
func (*WebService) HACheckConfig ¶
func (_m *WebService) HACheckConfig(ctx context.Context) (*sapcontrolapi.HACheckConfigResponse, error)
HACheckConfig provides a mock function with given fields: ctx
func (*WebService) HAGetFailoverConfig ¶
func (_m *WebService) HAGetFailoverConfig(ctx context.Context) (*sapcontrolapi.HAGetFailoverConfigResponse, error)
HAGetFailoverConfig provides a mock function with given fields: ctx
type WebServiceConnector ¶
WebServiceConnector is an autogenerated mock type for the WebServiceConnector type
func NewWebServiceConnector ¶
func NewWebServiceConnector(t NewWebServiceConnectorT) *WebServiceConnector
NewWebServiceConnector creates a new instance of WebServiceConnector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*WebServiceConnector) New ¶
func (_m *WebServiceConnector) New(instanceNumber string) sapcontrolapi.WebService
New provides a mock function with given fields: instanceNumber