Documentation ¶
Index ¶
- func GetCPIFunctionMockResponse(functionName, testType string) (*http.Response, error)
- func GetEmptyHTTPResponseBodyAndErrorNil() (*http.Response, error)
- func GetIntegrationArtifactGetMplStatusCommandMockResponse(testType string) (*http.Response, error)
- func GetIntegrationArtifactGetServiceEndpointCommandMockResponse(testCaseType string) (*http.Response, error)
- func GetIntegrationArtifactGetServiceEndpointPositiveCaseRespBody() (*http.Response, error)
- func GetNegativeCaseHTTPResponseBodyAndErrorNil() (*http.Response, error)
- func GetPositiveCaseResponseByTestType(testType string) (*http.Response, error)
- func IntegrationArtifactDownloadCommandMockResponse(testType string) (*http.Response, error)
- func IntegrationArtifactDownloadCommandMockResponsePositiveCaseRespBody() (*http.Response, error)
- type CommonUtils
- type TokenParameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCPIFunctionMockResponse ¶
GetCPIFunctionMockResponse -Generate mock response payload for different CPI functions
func GetEmptyHTTPResponseBodyAndErrorNil ¶ added in v1.123.0
GetEmptyHTTPResponseBodyAndErrorNil -Empty http respose body
func GetIntegrationArtifactGetMplStatusCommandMockResponse ¶ added in v1.124.0
GetIntegrationArtifactGetMplStatusCommandMockResponse -Provide http respose body
func GetIntegrationArtifactGetServiceEndpointCommandMockResponse ¶ added in v1.124.0
func GetIntegrationArtifactGetServiceEndpointCommandMockResponse(testCaseType string) (*http.Response, error)
GetIntegrationArtifactGetServiceEndpointCommandMockResponse -Provide http respose body
func GetIntegrationArtifactGetServiceEndpointPositiveCaseRespBody ¶ added in v1.124.0
GetIntegrationArtifactGetServiceEndpointPositiveCaseRespBody -Provide http respose body for positive case
func GetNegativeCaseHTTPResponseBodyAndErrorNil ¶ added in v1.123.0
GetNegativeCaseHTTPResponseBodyAndErrorNil -Negative case http respose body
func GetPositiveCaseResponseByTestType ¶ added in v1.125.0
GetPositiveCaseResponseByTestType - get postive response by test case type
func IntegrationArtifactDownloadCommandMockResponse ¶ added in v1.125.0
IntegrationArtifactDownloadCommandMockResponse -Provide http respose body
func IntegrationArtifactDownloadCommandMockResponsePositiveCaseRespBody ¶ added in v1.125.0
IntegrationArtifactDownloadCommandMockResponsePositiveCaseRespBody -Provide http respose body for positive case
Types ¶
type CommonUtils ¶
CommonUtils for CPI
type TokenParameters ¶
TokenParameters struct
func (TokenParameters) GetBearerToken ¶
func (tokenParameters TokenParameters) GetBearerToken() (string, error)
GetBearerToken -Provides the bearer token for making CPI OData calls