github.com/kubeshop/testkube@v1.17.23/pkg/cloud/data/artifact/artifacts_storage_models.go (about)

     1  package artifact
     2  
     3  import "github.com/kubeshop/testkube/pkg/api/v1/testkube"
     4  
     5  type ListFilesRequest struct {
     6  	ExecutionID      string
     7  	TestName         string
     8  	TestSuiteName    string
     9  	TestWorkflowName string
    10  }
    11  
    12  type ListFilesResponse struct {
    13  	Artifacts []testkube.Artifact
    14  }
    15  
    16  type DownloadFileRequest struct {
    17  	File             string
    18  	ExecutionID      string
    19  	TestName         string
    20  	TestSuiteName    string
    21  	TestWorkflowName string
    22  }
    23  
    24  type DownloadFileResponse struct {
    25  	URL string
    26  }