github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_test_source_update.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  // Test source resource update for shared test content
    13  type TestSourceUpdate struct {
    14  	// 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.
    15  	Type_      *string            `json:"type,omitempty"`
    16  	Repository **RepositoryUpdate `json:"repository,omitempty"`
    17  	// test content data as *string
    18  	Data *string `json:"data,omitempty"`
    19  	// test content
    20  	Uri *string `json:"uri,omitempty"`
    21  	// test source name
    22  	Name *string `json:"name,omitempty"`
    23  	// test source namespace
    24  	Namespace *string `json:"namespace,omitempty"`
    25  	// test source labels
    26  	Labels *map[string]string `json:"labels,omitempty"`
    27  }