From 07469be5c5feb7ba8665cc826497c810fcfa3e75 Mon Sep 17 00:00:00 2001
From: Povilas Versockas
Date: Fri, 22 Sep 2023 14:29:45 +0300
Subject: [PATCH] feat: add ReadOnly flag to test (#4389) (#4390)
---
pkg/api/v1/testkube/model_test_base.go | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pkg/api/v1/testkube/model_test_base.go b/pkg/api/v1/testkube/model_test_base.go
index 81099be6d9d..6688cdf5360 100644
--- a/pkg/api/v1/testkube/model_test_base.go
+++ b/pkg/api/v1/testkube/model_test_base.go
@@ -32,4 +32,6 @@ type Test struct {
Uploads []string `json:"uploads,omitempty"`
ExecutionRequest *ExecutionRequest `json:"executionRequest,omitempty"`
Status *TestStatus `json:"status,omitempty"`
+ // true means that test is offline and cannot be executed
+ ReadOnly bool `json:"readOnly,omitempty"`
}