Documentation ¶
Index ¶
- func MapCRDVariables(in map[string]testkube.Variable) map[string]testsuitesv2.Variable
- func MapCRToAPI(cr testsuitesv2.TestSuite) (test testkube.TestSuite)
- func MapDepratcatedParams(in map[string]testkube.Variable) map[string]string
- func MapExecutionRequestFromSpec(specExecutionRequest *testsuitesv2.TestSuiteExecutionRequest) *testkube.TestSuiteExecutionRequest
- func MapExecutionRequestToSpecExecutionRequest(executionRequest *testkube.TestSuiteExecutionRequest) *testsuitesv2.TestSuiteExecutionRequest
- func MapTestSuiteListKubeToAPI(cr testsuitesv2.TestSuiteList) (tests []testkube.TestSuite)
- func MapTestSuiteUpsertRequestToTestCRD(request testkube.TestSuiteUpsertRequest) testsuitesv2.TestSuite
- func MapToTestExecutionSummary(executions []testkube.TestSuiteExecution) []testkube.TestSuiteExecutionSummary
- func MergeVariablesAndParams(variables map[string]testsuitesv2.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 testsuitesv2.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 *testsuitesv2.TestSuiteExecutionRequest) *testkube.TestSuiteExecutionRequest
MapExecutionRequestFromSpec maps CRD to OpenAPI spec ExecutionRequest
func MapExecutionRequestToSpecExecutionRequest ¶ added in v1.4.15
func MapExecutionRequestToSpecExecutionRequest(executionRequest *testkube.TestSuiteExecutionRequest) *testsuitesv2.TestSuiteExecutionRequest
MapExecutionRequestToSpecExecutionRequest maps ExecutionRequest OpenAPI spec to ExecutionRequest CRD spec
func MapTestSuiteListKubeToAPI ¶
func MapTestSuiteListKubeToAPI(cr testsuitesv2.TestSuiteList) (tests []testkube.TestSuite)
MapTestSuiteListKubeToAPI maps TestSuiteList CRD to list of OpenAPI spec TestSuite
func MapTestSuiteUpsertRequestToTestCRD ¶ added in v1.4.15
func MapTestSuiteUpsertRequestToTestCRD(request testkube.TestSuiteUpsertRequest) testsuitesv2.TestSuite
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.
Click to show internal directories.
Click to hide internal directories.