tests

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 5 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]testsv3.Variable

MapCRDVariables maps variables between API and operator CRDs

func MapContentToSpecContent added in v0.9.5

func MapContentToSpecContent(content *testkube.TestContent) (specContent *testsv3.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 MapExecutionRequestFromSpec added in v1.4.15

func MapExecutionRequestFromSpec(specExecutionRequest *testsv3.ExecutionRequest) *testkube.ExecutionRequest

MapExecutionRequestFromSpec maps CRD to OpenAPI spec ExecutionREquest

func MapExecutionRequestToSpecExecutionRequest added in v1.4.15

func MapExecutionRequestToSpecExecutionRequest(executionRequest *testkube.ExecutionRequest) *testsv3.ExecutionRequest

MapExecutionRequestToSpecExecutionRequest maps ExecutionRequest OpenAPI spec to ExecutionRequest CRD spec

func MapImagePullSecrets added in v1.5.35

func MapImagePullSecrets(lor []v1.LocalObjectReference) []testkube.LocalObjectReference

MapImagePullSecrets maps Kubernetes spec to testkube model

func MapTestArrayKubeToAPI added in v1.3.45

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

MapTestArrayKubeToAPI maps CRD array data to OpenAPI spec tests list

func MapTestCRToAPI added in v0.9.5

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

MapTestCRToAPI maps CRD to OpenAPI spec test

func MapTestContentFromSpec added in v0.9.5

func MapTestContentFromSpec(specContent *testsv3.TestContent) *testkube.TestContent

MapTestContentFromSpec maps CRD to OpenAPI spec TestContent

func MapTestListKubeToAPI

func MapTestListKubeToAPI(crTests testsv3.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) *testsv3.Test

MapToSpec maps TestUpsertRequest to Test CRD spec

func MergeVariablesAndParams added in v1.1.10

func MergeVariablesAndParams(variables map[string]testsv3.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