Documentation ¶
Index ¶
- func MapAPIToCRD(request testkube.ExecutorUpsertRequest) executorv1.Executor
- func MapCRDToAPI(item executorv1.Executor) testkube.ExecutorUpsertRequest
- func MapContentTypesToAPI(contentTypes []executorv1.ScriptContentType) (out []string)
- func MapContentTypesToCRD(contentTypes []string) (out []executorv1.ScriptContentType)
- func MapExecutorCRDToExecutorDetails(item executorv1.Executor) testkube.ExecutorDetails
- func MapFeaturesToAPI(features []executorv1.Feature) (out []string)
- func MapFeaturesToCRD(features []string) (out []executorv1.Feature)
- func MapMetaToAPI(meta *executorv1.ExecutorMeta) *testkube.ExecutorMeta
- func MapMetaToCRD(meta *testkube.ExecutorMeta) *executorv1.ExecutorMeta
- func MapUpdateToSpec(request testkube.ExecutorUpdateRequest, executor *executorv1.Executor) *executorv1.Executor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapAPIToCRD ¶
func MapAPIToCRD(request testkube.ExecutorUpsertRequest) executorv1.Executor
MapAPIToCRD maps OpenAPI spec ExecutorUpsertRequest to CRD Executor
func MapCRDToAPI ¶
func MapCRDToAPI(item executorv1.Executor) testkube.ExecutorUpsertRequest
MapCRDToAPI maps Executor CRD to OpenAPI spec Executor
func MapContentTypesToAPI ¶ added in v1.9.4
func MapContentTypesToAPI(contentTypes []executorv1.ScriptContentType) (out []string)
func MapContentTypesToCRD ¶ added in v1.9.4
func MapContentTypesToCRD(contentTypes []string) (out []executorv1.ScriptContentType)
func MapExecutorCRDToExecutorDetails ¶ added in v1.6.22
func MapExecutorCRDToExecutorDetails(item executorv1.Executor) testkube.ExecutorDetails
MapExecutorCRDToExecutorDetails maps CRD Executor to OpemAPI spec ExecutorDetails
func MapFeaturesToAPI ¶ added in v1.9.4
func MapFeaturesToAPI(features []executorv1.Feature) (out []string)
func MapFeaturesToCRD ¶ added in v1.9.4
func MapFeaturesToCRD(features []string) (out []executorv1.Feature)
func MapMetaToAPI ¶ added in v1.9.4
func MapMetaToAPI(meta *executorv1.ExecutorMeta) *testkube.ExecutorMeta
func MapMetaToCRD ¶ added in v1.9.4
func MapMetaToCRD(meta *testkube.ExecutorMeta) *executorv1.ExecutorMeta
func MapUpdateToSpec ¶ added in v1.7.29
func MapUpdateToSpec(request testkube.ExecutorUpdateRequest, executor *executorv1.Executor) *executorv1.Executor
MapUpdateToSpec maps ExecutorUpdateRequest to Executor CRD spec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.