-
Notifications
You must be signed in to change notification settings - Fork 128
/
model_test_suite.go
36 lines (34 loc) · 1.26 KB
/
model_test_suite.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Testkube API
*
* Testkube provides a Kubernetes-native framework for test definition, execution and results
*
* API version: 1.0.0
* Contact: testkube@kubeshop.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package testkube
import (
"time"
)
type TestSuite struct {
Name string `json:"name"`
Namespace string `json:"namespace,omitempty"`
Description string `json:"description,omitempty"`
// Run these batch steps before whole suite
Before []TestSuiteBatchStep `json:"before,omitempty"`
// Batch steps to run
Steps []TestSuiteBatchStep `json:"steps,omitempty"`
// Run these batch steps after whole suite
After []TestSuiteBatchStep `json:"after,omitempty"`
// test suite labels
Labels map[string]string `json:"labels,omitempty"`
// schedule to run test suite
Schedule string `json:"schedule,omitempty"`
Repeats int32 `json:"repeats,omitempty"`
Created time.Time `json:"created,omitempty"`
ExecutionRequest *TestSuiteExecutionRequest `json:"executionRequest,omitempty"`
Status *TestSuiteStatus `json:"status"`
// if test suite is offline and cannot be executed
ReadOnly bool `json:"readOnly,omitempty"`
}