github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_suite_execution.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 executions data
    17  type TestSuiteExecution struct {
    18  	// execution id
    19  	Id string `json:"id"`
    20  	// execution name
    21  	Name      string                    `json:"name"`
    22  	TestSuite *ObjectRef                `json:"testSuite"`
    23  	Status    *TestSuiteExecutionStatus `json:"status,omitempty"`
    24  	// Environment variables passed to executor.
    25  	// Deprecated: use Basic Variables instead
    26  	Envs      map[string]string   `json:"envs,omitempty"`
    27  	Variables map[string]Variable `json:"variables,omitempty"`
    28  	// secret uuid
    29  	SecretUUID string `json:"secretUUID,omitempty"`
    30  	// test start time
    31  	StartTime time.Time `json:"startTime,omitempty"`
    32  	// test end time
    33  	EndTime time.Time `json:"endTime,omitempty"`
    34  	// test duration
    35  	Duration string `json:"duration,omitempty"`
    36  	// test duration in ms
    37  	DurationMs int32 `json:"durationMs,omitempty"`
    38  	// steps execution results
    39  	StepResults []TestSuiteStepExecutionResultV2 `json:"stepResults,omitempty"`
    40  	// batch steps execution results
    41  	ExecuteStepResults []TestSuiteBatchStepExecutionResult `json:"executeStepResults,omitempty"`
    42  	// test suite labels
    43  	Labels         map[string]string `json:"labels,omitempty"`
    44  	RunningContext *RunningContext   `json:"runningContext,omitempty"`
    45  	// test suite execution name started the test suite execution
    46  	TestSuiteExecutionName string `json:"testSuiteExecutionName,omitempty"`
    47  }