tests

package
v1.4.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapCRDVariables added in v1.1.10

func MapCRDVariables(in map[string]testkube.Variable) map[string]testsv2.Variable

MapCRDVariables maps variables between API and operator CRDs

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

func MapDepratcatedParams(in map[string]testkube.Variable) map[string]string

@Depracated MapDepratcatedParams maps old params to new variables data structure

func MapTestArrayKubeToAPI added in v1.3.45

func MapTestArrayKubeToAPI(crTests []testsv2.Test) (tests []testkube.Test)

MapTestArrayKubeToAPI maps CRD array data to OpenAPI spec tests list

func MapTestCRToAPI added in v0.9.5

func MapTestCRToAPI(crTest testsv2.Test) (test testkube.Test)

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

func MapTestListKubeToAPI(crTests testsv2.TestList) (tests []testkube.Test)

MapTestListKubeToAPI maps CRD list data to OpenAPI spec tests list

func MapToSpec added in v0.9.5

func MapToSpec(request testkube.TestUpsertRequest) *testsv2.Test

MapToSpec maps TestUpsertRequest to Test CRD spec

func MergeVariablesAndParams added in v1.1.10

func MergeVariablesAndParams(variables map[string]testsv2.Variable, params map[string]string) map[string]testkube.Variable

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL