github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_suite_v2.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 TestSuiteV2 struct {
    17  	Name        string `json:"name"`
    18  	Namespace   string `json:"namespace,omitempty"`
    19  	Description string `json:"description,omitempty"`
    20  	// Run this step before whole suite
    21  	Before []TestSuiteStepV2 `json:"before,omitempty"`
    22  	// Steps to run
    23  	Steps []TestSuiteStepV2 `json:"steps,omitempty"`
    24  	// Run this step after whole suite
    25  	After []TestSuiteStepV2 `json:"after,omitempty"`
    26  	// test suite labels
    27  	Labels map[string]string `json:"labels,omitempty"`
    28  	// schedule to run test suite
    29  	Schedule         string                     `json:"schedule,omitempty"`
    30  	Repeats          int32                      `json:"repeats,omitempty"`
    31  	Created          time.Time                  `json:"created,omitempty"`
    32  	ExecutionRequest *TestSuiteExecutionRequest `json:"executionRequest,omitempty"`
    33  	Status           *TestSuiteStatus           `json:"status"`
    34  }