github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_suite_execution_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  // test suite execution request body
    13  type TestSuiteExecutionRequest struct {
    14  	// test execution custom name
    15  	Name string `json:"name,omitempty"`
    16  	// test suite execution number
    17  	Number int32 `json:"number,omitempty"`
    18  	// test kubernetes namespace (\"testkube\" when not set)
    19  	Namespace string              `json:"namespace,omitempty"`
    20  	Variables map[string]Variable `json:"variables,omitempty"`
    21  	// secret uuid
    22  	SecretUUID string `json:"secretUUID,omitempty"`
    23  	// test suite labels
    24  	Labels map[string]string `json:"labels,omitempty"`
    25  	// execution labels
    26  	ExecutionLabels map[string]string `json:"executionLabels,omitempty"`
    27  	// whether to start execution sync or async
    28  	Sync bool `json:"sync,omitempty"`
    29  	// http proxy for executor containers
    30  	HttpProxy string `json:"httpProxy,omitempty"`
    31  	// https proxy for executor containers
    32  	HttpsProxy string `json:"httpsProxy,omitempty"`
    33  	// duration in seconds the test suite may be active, until its stopped
    34  	Timeout        int32               `json:"timeout,omitempty"`
    35  	ContentRequest *TestContentRequest `json:"contentRequest,omitempty"`
    36  	RunningContext *RunningContext     `json:"runningContext,omitempty"`
    37  	// job template extensions
    38  	JobTemplate string `json:"jobTemplate,omitempty"`
    39  	// name of the template resource
    40  	JobTemplateReference string `json:"jobTemplateReference,omitempty"`
    41  	// cron job template extensions
    42  	CronJobTemplate string `json:"cronJobTemplate,omitempty"`
    43  	// name of the template resource
    44  	CronJobTemplateReference string `json:"cronJobTemplateReference,omitempty"`
    45  	// scraper template extensions
    46  	ScraperTemplate string `json:"scraperTemplate,omitempty"`
    47  	// name of the template resource
    48  	ScraperTemplateReference string `json:"scraperTemplateReference,omitempty"`
    49  	// pvc template extensions
    50  	PvcTemplate string `json:"pvcTemplate,omitempty"`
    51  	// name of the template resource
    52  	PvcTemplateReference string `json:"pvcTemplateReference,omitempty"`
    53  	// number of tests run in parallel
    54  	ConcurrencyLevel int32 `json:"concurrencyLevel,omitempty"`
    55  	// test suite execution name started the test suite execution
    56  	TestSuiteExecutionName string `json:"testSuiteExecutionName,omitempty"`
    57  }