github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_execution_summary.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  // Execution summary
    17  type ExecutionSummary struct {
    18  	// execution id
    19  	Id string `json:"id"`
    20  	// execution name
    21  	Name string `json:"name"`
    22  	// execution number
    23  	Number int32 `json:"number,omitempty"`
    24  	// name of the test
    25  	TestName string `json:"testName"`
    26  	// name of the test
    27  	TestNamespace string `json:"testNamespace,omitempty"`
    28  	// the type of test for this execution
    29  	TestType string           `json:"testType"`
    30  	Status   *ExecutionStatus `json:"status"`
    31  	// test execution start time
    32  	StartTime time.Time `json:"startTime,omitempty"`
    33  	// test execution end time
    34  	EndTime time.Time `json:"endTime,omitempty"`
    35  	// calculated test duration
    36  	Duration string `json:"duration,omitempty"`
    37  	// calculated test duration in ms
    38  	DurationMs int32 `json:"durationMs,omitempty"`
    39  	// test and execution labels
    40  	Labels         map[string]string `json:"labels,omitempty"`
    41  	RunningContext *RunningContext   `json:"runningContext,omitempty"`
    42  }