github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_repository_parameters.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  // repository parameters for tests in git repositories
    13  type RepositoryParameters struct {
    14  	// branch/tag name for checkout
    15  	Branch string `json:"branch,omitempty"`
    16  	// commit id (sha) for checkout
    17  	Commit string `json:"commit,omitempty"`
    18  	// if needed we can checkout particular path (dir or file) in case of BIG/mono repositories
    19  	Path string `json:"path,omitempty"`
    20  	// if provided we checkout the whole repository and run test from this directory
    21  	WorkingDir string `json:"workingDir,omitempty"`
    22  }