-
Notifications
You must be signed in to change notification settings - Fork 129
/
model_executor.go
37 lines (36 loc) · 1.41 KB
/
model_executor.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
* Testkube API
*
* Testkube provides a Kubernetes-native framework for test definition, execution and results
*
* API version: 1.0.0
* Contact: testkube@kubeshop.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package testkube
// CRD based executor data
type Executor struct {
// ExecutorType one of \"rest\" for rest openapi based executors or \"job\" which will be default runners for testkube soon
ExecutorType string `json:"executorType,omitempty"`
// Image for kube-job
Image string `json:"image,omitempty"`
// container image pull secrets
ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty"`
// container executor image command
Command []string `json:"command,omitempty"`
// additional executor binary arguments
Args []string `json:"args,omitempty"`
// Types defines what types can be handled by executor e.g. \"postman/collection\", \":curl/command\" etc
Types []string `json:"types,omitempty"`
// URI for rest based executors
Uri string `json:"uri,omitempty"`
// list of handled content types
ContentTypes []string `json:"contentTypes,omitempty"`
// Job template to launch executor
JobTemplate string `json:"jobTemplate,omitempty"`
// executor labels
Labels map[string]string `json:"labels,omitempty"`
// Available executor features
Features []string `json:"features,omitempty"`
Meta *ExecutorMeta `json:"meta,omitempty"`
}