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