Documentation ¶
Index ¶
- func MapAPIToCRD(request testkube.TemplateCreateRequest) templatev1.Template
- func MapCRDToAPI(item templatev1.Template) testkube.Template
- func MapSpecToUpdate(template *templatev1.Template) (request testkube.TemplateUpdateRequest)
- func MapUpdateToSpec(request testkube.TemplateUpdateRequest, template *templatev1.Template) *templatev1.Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapAPIToCRD ¶
func MapAPIToCRD(request testkube.TemplateCreateRequest) templatev1.Template
MapAPIToCRD maps OpenAPI spec TemplateCreateRequest to CRD Template
func MapCRDToAPI ¶
func MapCRDToAPI(item templatev1.Template) testkube.Template
MapCRDToAPI maps Template CRD to OpenAPI spec Template
func MapSpecToUpdate ¶
func MapSpecToUpdate(template *templatev1.Template) (request testkube.TemplateUpdateRequest)
MapSpecToUpdate maps Template CRD to TemplateUpdate Request to spec
func MapUpdateToSpec ¶
func MapUpdateToSpec(request testkube.TemplateUpdateRequest, template *templatev1.Template) *templatev1.Template
MapUpdateToSpec maps TemplateUpdateRequest to Wehook CRD spec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.