Documentation ¶
Index ¶
- func MapAPIToCRD(request testkube.WebhookCreateRequest) executorv1.Webhook
- func MapCRDToAPI(item executorv1.Webhook) testkube.Webhook
- func MapEventTypesToStringArray(eventTypes []testkube.WebhookEventType) (arr []string)
- func MapStringArrayToCRDEvents(items []string) (events []testkube.WebhookEventType)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapAPIToCRD ¶
func MapAPIToCRD(request testkube.WebhookCreateRequest) executorv1.Webhook
MapAPIToCRD maps OpenAPI spec WebhookCreateRequest to CRD Webhook
func MapCRDToAPI ¶
func MapCRDToAPI(item executorv1.Webhook) testkube.Webhook
MapCRDToAPI maps Webhook CRD to OpenAPI spec Webhook
func MapEventTypesToStringArray ¶
func MapEventTypesToStringArray(eventTypes []testkube.WebhookEventType) (arr []string)
MapEventTypesToStringArray maps OpenAPI spec list of WebhookEventType to string array
func MapStringArrayToCRDEvents ¶
func MapStringArrayToCRDEvents(items []string) (events []testkube.WebhookEventType)
MapStringArrayToCRDEvents maps string array of event types to OpenAPI spec list of WebhookEventType
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.