github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_suite.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 import ( 13 "time" 14 ) 15 16 type TestSuite struct { 17 Name string `json:"name"` 18 Namespace string `json:"namespace,omitempty"` 19 Description string `json:"description,omitempty"` 20 // Run these batch steps before whole suite 21 Before []TestSuiteBatchStep `json:"before,omitempty"` 22 // Batch steps to run 23 Steps []TestSuiteBatchStep `json:"steps,omitempty"` 24 // Run these batch steps after whole suite 25 After []TestSuiteBatchStep `json:"after,omitempty"` 26 // test suite labels 27 Labels map[string]string `json:"labels,omitempty"` 28 // schedule to run test suite 29 Schedule string `json:"schedule,omitempty"` 30 Repeats int32 `json:"repeats,omitempty"` 31 Created time.Time `json:"created,omitempty"` 32 ExecutionRequest *TestSuiteExecutionRequest `json:"executionRequest,omitempty"` 33 Status *TestSuiteStatus `json:"status"` 34 // if test suite is offline and cannot be executed 35 ReadOnly bool `json:"readOnly,omitempty"` 36 }