github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_base.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 Test struct { 17 // test name 18 Name string `json:"name,omitempty"` 19 // test namespace 20 Namespace string `json:"namespace,omitempty"` 21 // test description 22 Description string `json:"description,omitempty"` 23 // test type 24 Type_ string `json:"type,omitempty"` 25 Content *TestContent `json:"content,omitempty"` 26 // reference to test source resource 27 Source string `json:"source,omitempty"` 28 Created time.Time `json:"created,omitempty"` 29 // test labels 30 Labels map[string]string `json:"labels,omitempty"` 31 // schedule to run test 32 Schedule string `json:"schedule,omitempty"` 33 // if test is offline and cannot be executed 34 ReadOnly bool `json:"readOnly,omitempty"` 35 // list of file paths that will be needed from uploads 36 Uploads []string `json:"uploads,omitempty"` 37 ExecutionRequest *ExecutionRequest `json:"executionRequest,omitempty"` 38 Status *TestStatus `json:"status,omitempty"` 39 }