Documentation ¶
Index ¶
- func MapCRDVariables(in map[string]testkube.Variable) map[string]testsv2.Variable
- func MapContentToSpecContent(content *testkube.TestContent) (specContent *testsv2.TestContent)
- func MapDepratcatedParams(in map[string]testkube.Variable) map[string]string
- func MapTestCRToAPI(crTest testsv2.Test) (test testkube.Test)
- func MapTestContentFromSpec(specContent *testsv2.TestContent) *testkube.TestContent
- func MapTestListKubeToAPI(crTests testsv2.TestList) (tests []testkube.Test)
- func MapToSpec(request testkube.TestUpsertRequest) *testsv2.Test
- func MergeVariablesAndParams(variables map[string]testsv2.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 MapContentToSpecContent ¶ added in v0.9.5
func MapContentToSpecContent(content *testkube.TestContent) (specContent *testsv2.TestContent)
MapContentToSpecContent maps TestContent OpenAPI spec to TestContent CRD spec
func MapDepratcatedParams ¶ added in v1.1.10
@Depracated MapDepratcatedParams maps old params to new variables data structure
func MapTestCRToAPI ¶ added in v0.9.5
MapTestCRToAPI maps CRD to OpenAPI spec test
func MapTestContentFromSpec ¶ added in v0.9.5
func MapTestContentFromSpec(specContent *testsv2.TestContent) *testkube.TestContent
MapTestContentFromSpec maps CRD to OpenAPI spec TestContent
func MapTestListKubeToAPI ¶
MapTestListKubeToAPI maps CRD list data to OpenAPI spec tests list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.