webhooks

package
v1.11.8-beta-16 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 MapEventArrayToCRDEvents added in v1.10.21

func MapEventArrayToCRDEvents(items []executorv1.EventType) (events []testkube.EventType)

MapEventArrayToCRDEvents maps event array of event types to OpenAPI spec list of EventType

func MapEventTypesToStringArray

func MapEventTypesToStringArray(eventTypes []testkube.EventType) (arr []executorv1.EventType)

MapEventTypesToStringArray maps OpenAPI spec list of EventType to string array

func MapStringArrayToCRDEvents

func MapStringArrayToCRDEvents(items []string) (events []testkube.EventType)

MapStringArrayToCRDEvents maps string array of event types to OpenAPI spec list of EventType

Types

This section is empty.

Jump to

Keyboard shortcuts

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