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)
- 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
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
Click to show internal directories.
Click to hide internal directories.