mocks

package
v0.0.0-...-a443d5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewWebServiceConnectorT

type NewWebServiceConnectorT interface {
	mock.TestingT
	Cleanup(func())
}

type WebService

type WebService struct {
	mock.Mock
}

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

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

GetVersionInfo provides a mock function with given fields: ctx

func (*WebService) HACheckConfig

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

type WebServiceConnector struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL