github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_content.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  type TestContent struct {
    13  	// type of sources a runner can get data from.   string: String content (e.g. Postman JSON file).   file-uri: content stored on the webserver.   git-file: the file stored in the Git repo in the given repository.path field (Deprecated: use git instead).   git-dir: the entire git repo or git subdirectory depending on the  repository.path field (Testkube does a shadow clone and sparse checkout to limit IOs in the case of monorepos). (Deprecated: use git instead).   git: automatically provisions either a file, directory or whole git repository depending on the repository.path field.
    14  	Type_      string      `json:"type,omitempty"`
    15  	Repository *Repository `json:"repository,omitempty"`
    16  	// test content data as string
    17  	Data string `json:"data,omitempty"`
    18  	// test content
    19  	Uri string `json:"uri,omitempty"`
    20  }