github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_executor_upsert_request.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 // executor create request body 13 type ExecutorUpsertRequest struct { 14 // object kubernetes namespace 15 Namespace string `json:"namespace"` 16 // object name 17 Name string `json:"name"` 18 // ExecutorType one of \"rest\" for rest openapi based executors or \"job\" which will be default runners for testkube soon 19 ExecutorType string `json:"executorType,omitempty"` 20 // Image for kube-job 21 Image string `json:"image,omitempty"` 22 Slaves *SlavesMeta `json:"slaves,omitempty"` 23 // container image pull secrets 24 ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty"` 25 // executor image command 26 Command []string `json:"command,omitempty"` 27 // additional executor binary argument 28 Args []string `json:"args,omitempty"` 29 // Types defines what types can be handled by executor e.g. \"postman/collection\", \":curl/command\" etc 30 Types []string `json:"types"` 31 // URI for rest based executors 32 Uri string `json:"uri,omitempty"` 33 // list of handled content types 34 ContentTypes []string `json:"contentTypes,omitempty"` 35 // Job template to launch executor 36 JobTemplate string `json:"jobTemplate,omitempty"` 37 // name of the template resource 38 JobTemplateReference string `json:"jobTemplateReference,omitempty"` 39 // executor labels 40 Labels map[string]string `json:"labels,omitempty"` 41 // Available executor features 42 Features []string `json:"features,omitempty"` 43 Meta *ExecutorMeta `json:"meta,omitempty"` 44 // use data dir as working dir for executor 45 UseDataDirAsWorkingDir bool `json:"useDataDirAsWorkingDir,omitempty"` 46 }