github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_event.go (about) 1 /* 2 * Testkube API 3 * 4 * Testkube provides a Kubernetes-native framework for test definition, execution and results 5 * 6 * API version: 1.0.0 7 * Contact: testkube@kubeshop.io 8 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 9 */ 10 package testkube 11 12 // Event data 13 type Event struct { 14 // UUID of event 15 Id string `json:"id"` 16 // stream topic 17 StreamTopic string `json:"streamTopic,omitempty"` 18 Resource *EventResource `json:"resource"` 19 // ID of resource 20 ResourceId string `json:"resourceId"` 21 Type_ *EventType `json:"type"` 22 TestExecution *Execution `json:"testExecution,omitempty"` 23 TestSuiteExecution *TestSuiteExecution `json:"testSuiteExecution,omitempty"` 24 TestWorkflowExecution *TestWorkflowExecution `json:"testWorkflowExecution,omitempty"` 25 // cluster name of event 26 ClusterName string `json:"clusterName,omitempty"` 27 // environment variables 28 Envs map[string]string `json:"envs,omitempty"` 29 }