Documentation ¶
Index ¶
- func MapCRDVariables(in map[string]testkube.Variable) map[string]testsuitesv3.Variable
- func MapCRToAPI(cr testsuitesv3.TestSuite) (test testkube.TestSuite)
- func MapDepratcatedParams(in map[string]testkube.Variable) map[string]string
- func MapExecutionRequestFromSpec(specExecutionRequest *testsuitesv3.TestSuiteExecutionRequest) *testkube.TestSuiteExecutionRequest
- func MapExecutionRequestToSpecExecutionRequest(executionRequest *testkube.TestSuiteExecutionRequest) *testsuitesv3.TestSuiteExecutionRequest
- func MapExecutionToTestSuiteStatus(execution *testkube.TestSuiteExecution) (specStatus testsuitesv3.TestSuiteStatus)
- func MapExecutionUpdateRequestToSpecExecutionRequest(executionRequest *testkube.TestSuiteExecutionUpdateRequest, ...) *testsuitesv3.TestSuiteExecutionRequest
- func MapSpecExecutionRequestToExecutionUpdateRequest(request *testsuitesv3.TestSuiteExecutionRequest) (executionRequest *testkube.TestSuiteExecutionUpdateRequest)
- func MapStatusFromSpec(specStatus testsuitesv3.TestSuiteStatus) *testkube.TestSuiteStatus
- func MapStatusToSpec(testSuiteStatus *testkube.TestSuiteStatus) (specStatus testsuitesv3.TestSuiteStatus)
- func MapTestSuiteListKubeToAPI(cr testsuitesv3.TestSuiteList) (tests []testkube.TestSuite)
- func MapTestSuiteTestCRDToUpdateRequest(testSuite *testsuitesv3.TestSuite) (request testkube.TestSuiteUpdateRequest)
- func MapTestSuiteUpdateRequestToTestCRD(request testkube.TestSuiteUpdateRequest, testSuite *testsuitesv3.TestSuite) (*testsuitesv3.TestSuite, error)
- func MapTestSuiteUpsertRequestToTestCRD(request testkube.TestSuiteUpsertRequest) (testsuite testsuitesv3.TestSuite, err error)
- func MapToTestExecutionSummary(executions []testkube.TestSuiteExecution) []testkube.TestSuiteExecutionSummary
- func MergeVariablesAndParams(variables map[string]testsuitesv3.Variable, params map[string]string) map[string]testkube.Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapCRDVariables ¶ added in v1.1.10
MapCRDVariables maps variables between API and operator CRDs TODO if we could merge operator into testkube repository we would get rid of those mappings
func MapCRToAPI ¶
func MapCRToAPI(cr testsuitesv3.TestSuite) (test testkube.TestSuite)
MapCRToAPI maps TestSuite CRD to OpenAPI spec TestSuite
func MapDepratcatedParams ¶ added in v1.1.10
@Depracated MapDepratcatedParams maps old params to new variables data structure
func MapExecutionRequestFromSpec ¶ added in v1.4.15
func MapExecutionRequestFromSpec(specExecutionRequest *testsuitesv3.TestSuiteExecutionRequest) *testkube.TestSuiteExecutionRequest
MapExecutionRequestFromSpec maps CRD to OpenAPI spec ExecutionRequest
func MapExecutionRequestToSpecExecutionRequest ¶ added in v1.4.15
func MapExecutionRequestToSpecExecutionRequest(executionRequest *testkube.TestSuiteExecutionRequest) *testsuitesv3.TestSuiteExecutionRequest
MapExecutionRequestToSpecExecutionRequest maps ExecutionRequest OpenAPI spec to ExecutionRequest CRD spec
func MapExecutionToTestSuiteStatus ¶ added in v1.8.17
func MapExecutionToTestSuiteStatus(execution *testkube.TestSuiteExecution) (specStatus testsuitesv3.TestSuiteStatus)
MapExecutionToTestSuiteStatus maps OpenAPI Execution to TestSuiteStatus CRD
func MapExecutionUpdateRequestToSpecExecutionRequest ¶ added in v1.7.29
func MapExecutionUpdateRequestToSpecExecutionRequest(executionRequest *testkube.TestSuiteExecutionUpdateRequest, request *testsuitesv3.TestSuiteExecutionRequest) *testsuitesv3.TestSuiteExecutionRequest
MapExecutionUpdateRequestToSpecExecutionRequest maps ExecutionUpdateRequest OpenAPI spec to ExecutionRequest CRD spec
func MapSpecExecutionRequestToExecutionUpdateRequest ¶ added in v1.13.0
func MapSpecExecutionRequestToExecutionUpdateRequest(request *testsuitesv3.TestSuiteExecutionRequest) (executionRequest *testkube.TestSuiteExecutionUpdateRequest)
MapSpecExecutionRequestToExecutionUpdateRequest maps ExecutionRequest CRD spec to ExecutionUpdateRequest OpenAPI spec
func MapStatusFromSpec ¶ added in v1.8.17
func MapStatusFromSpec(specStatus testsuitesv3.TestSuiteStatus) *testkube.TestSuiteStatus
MapStatusFromSpec maps CRD to OpenAPI spec TestSuiteStatus
func MapStatusToSpec ¶ added in v1.8.17
func MapStatusToSpec(testSuiteStatus *testkube.TestSuiteStatus) (specStatus testsuitesv3.TestSuiteStatus)
MapStatusToSpec maps OpenAPI spec TestSuiteStatus to CRD
func MapTestSuiteListKubeToAPI ¶
func MapTestSuiteListKubeToAPI(cr testsuitesv3.TestSuiteList) (tests []testkube.TestSuite)
MapTestSuiteListKubeToAPI maps TestSuiteList CRD to list of OpenAPI spec TestSuite
func MapTestSuiteTestCRDToUpdateRequest ¶ added in v1.13.0
func MapTestSuiteTestCRDToUpdateRequest(testSuite *testsuitesv3.TestSuite) (request testkube.TestSuiteUpdateRequest)
MapTestSuiteTestCRDToUpdateRequest maps TestSuite CRD spec to TestSuiteUpdateRequest OpenAPI spec
func MapTestSuiteUpdateRequestToTestCRD ¶ added in v1.7.29
func MapTestSuiteUpdateRequestToTestCRD(request testkube.TestSuiteUpdateRequest, testSuite *testsuitesv3.TestSuite) (*testsuitesv3.TestSuite, error)
MapTestSuiteUpsertRequestToTestCRD maps TestSuiteUpdateRequest OpenAPI spec to TestSuite CRD spec
func MapTestSuiteUpsertRequestToTestCRD ¶ added in v1.4.15
func MapTestSuiteUpsertRequestToTestCRD(request testkube.TestSuiteUpsertRequest) (testsuite testsuitesv3.TestSuite, err error)
func MapToTestExecutionSummary ¶ added in v1.4.15
func MapToTestExecutionSummary(executions []testkube.TestSuiteExecution) []testkube.TestSuiteExecutionSummary
TODO move to testuites mapper
func MergeVariablesAndParams ¶ added in v1.1.10
Types ¶
This section is empty.