-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [TKC-1055] test suite steps persistence (#219)
* feat: test suite steps persistence * fix: remove unused fields
- Loading branch information
Showing
15 changed files
with
1,221 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package v1 | ||
|
||
// ArgsModeType defines args mode type | ||
// +kubebuilder:validation:Enum=append;override;replace | ||
type ArgsModeType string | ||
|
||
const ( | ||
// ArgsModeTypeAppend for append args mode | ||
ArgsModeTypeAppend ArgsModeType = "append" | ||
// ArgsModeTypeOverride for override args mode | ||
ArgsModeTypeOverride ArgsModeType = "override" | ||
// ArgsModeTypeReplace for replace args mode | ||
ArgsModeTypeReplace ArgsModeType = "replace" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package v1 | ||
|
||
// RunningContext for test or test suite execution | ||
type RunningContext struct { | ||
// One of possible context types | ||
Type_ RunningContextType `json:"type"` | ||
// Context value depending from its type | ||
Context string `json:"context,omitempty"` | ||
} | ||
|
||
type RunningContextType string | ||
|
||
const ( | ||
RunningContextTypeUserCLI RunningContextType = "user-cli" | ||
RunningContextTypeUserUI RunningContextType = "user-ui" | ||
RunningContextTypeTestSuite RunningContextType = "testsuite" | ||
RunningContextTypeTestTrigger RunningContextType = "testtrigger" | ||
RunningContextTypeScheduler RunningContextType = "scheduler" | ||
RunningContextTypeEmpty RunningContextType = "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.