github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_workflow.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 TestWorkflow struct {
    17  	// kubernetes resource name
    18  	Name string `json:"name,omitempty"`
    19  	// kubernetes namespace
    20  	Namespace string `json:"namespace,omitempty"`
    21  	// human-readable description
    22  	Description string `json:"description,omitempty"`
    23  	// test workflow labels
    24  	Labels map[string]string `json:"labels,omitempty"`
    25  	// test workflow annotations
    26  	Annotations map[string]string `json:"annotations,omitempty"`
    27  	Created     time.Time         `json:"created,omitempty"`
    28  	Spec        *TestWorkflowSpec `json:"spec,omitempty"`
    29  }