github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_trigger_condition.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  // supported condition for test triggers
    13  type TestTriggerCondition struct {
    14  	Status *TestTriggerConditionStatuses `json:"status"`
    15  	// test trigger condition
    16  	Type_ string `json:"type"`
    17  	// test trigger condition reason
    18  	Reason string `json:"reason,omitempty"`
    19  	// duration in seconds in the past from current time when the condition is still valid
    20  	Ttl int32 `json:"ttl,omitempty"`
    21  }