github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_workflow_result.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 TestWorkflowResult struct {
    17  	Status          *TestWorkflowStatus `json:"status"`
    18  	PredictedStatus *TestWorkflowStatus `json:"predictedStatus"`
    19  	// when the pod was created
    20  	QueuedAt time.Time `json:"queuedAt,omitempty"`
    21  	// when the pod has been successfully assigned
    22  	StartedAt time.Time `json:"startedAt,omitempty"`
    23  	// when the pod has been completed
    24  	FinishedAt time.Time `json:"finishedAt,omitempty"`
    25  	// Go-formatted (human-readable) duration
    26  	Duration string `json:"duration,omitempty"`
    27  	// Duration in milliseconds
    28  	DurationMs     int32                             `json:"durationMs,omitempty"`
    29  	Initialization *TestWorkflowStepResult           `json:"initialization,omitempty"`
    30  	Steps          map[string]TestWorkflowStepResult `json:"steps,omitempty"`
    31  }