github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_trigger_probe.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 probe for test triggers
    13  type TestTriggerProbe struct {
    14  	// test trigger condition probe scheme to connect to host, default is http
    15  	Scheme string `json:"scheme,omitempty"`
    16  	// test trigger condition probe host, default is pod ip or service name
    17  	Host string `json:"host,omitempty"`
    18  	// test trigger condition probe path to check, default is /
    19  	Path string `json:"path,omitempty"`
    20  	// test trigger condition probe port to connect
    21  	Port int32 `json:"port,omitempty"`
    22  	// test trigger condition probe headers to submit
    23  	Headers map[string]string `json:"headers,omitempty"`
    24  }