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