Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the test suite executions v1 API group +kubebuilder:object:generate=true +groupName=tests.testkube.io
Index ¶
- Variables
- type ArgsModeType
- type ArtifactRequest
- type AssertionResult
- type Execution
- type ExecutionResult
- type ExecutionResultReports
- type ExecutionStatus
- type ExecutionStepResult
- type GitAuthType
- type ObjectRef
- type Repository
- type RepositoryParameters
- type RunningContext
- type RunningContextType
- type SecretRef
- type SuiteExecution
- type SuiteExecutionStatus
- type TestContent
- type TestContentRequest
- type TestContentType
- type TestSuiteBatchStep
- type TestSuiteBatchStepExecutionResult
- type TestSuiteExecution
- type TestSuiteExecutionList
- type TestSuiteExecutionRequest
- type TestSuiteExecutionSpec
- type TestSuiteExecutionStatus
- type TestSuiteStep
- type TestSuiteStepDelayV2
- type TestSuiteStepExecuteTestV2
- type TestSuiteStepExecutionResult
- type TestSuiteStepExecutionResultV2
- type TestSuiteStepV2
- type Variable
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "tests.testkube.io", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ArgsModeType ¶
type ArgsModeType string
ArgsModeType defines args mode type +kubebuilder:validation:Enum=append;override
const ( // ArgsModeTypeAppend for append args mode ArgsModeTypeAppend ArgsModeType = "append" // ArgsModeTypeOverride for override args mode ArgsModeTypeOverride ArgsModeType = "override" )
type ArtifactRequest ¶
type ArtifactRequest struct { // artifact storage class name for container executor StorageClassName string `json:"storageClassName"` // artifact volume mount path for container executor VolumeMountPath string `json:"volumeMountPath"` // artifact directories for scraping Dirs []string `json:"dirs,omitempty"` // artifact bucket storage StorageBucket string `json:"storageBucket,omitempty"` // don't use a separate folder for execution artifacts OmitFolderPerExecution bool `json:"omitFolderPerExecution,omitempty"` }
artifact request body with test artifacts
func (*ArtifactRequest) DeepCopy ¶
func (in *ArtifactRequest) DeepCopy() *ArtifactRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactRequest.
func (*ArtifactRequest) DeepCopyInto ¶
func (in *ArtifactRequest) DeepCopyInto(out *ArtifactRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssertionResult ¶
type AssertionResult struct { Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }
execution result data
func (*AssertionResult) DeepCopy ¶
func (in *AssertionResult) DeepCopy() *AssertionResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssertionResult.
func (*AssertionResult) DeepCopyInto ¶
func (in *AssertionResult) DeepCopyInto(out *AssertionResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Execution ¶
type Execution struct { // execution id Id string `json:"id,omitempty"` // unique test name (CRD Test name) TestName string `json:"testName,omitempty"` // unique test suite name (CRD Test suite name), if it's run as a part of test suite TestSuiteName string `json:"testSuiteName,omitempty"` // test namespace TestNamespace string `json:"testNamespace,omitempty"` // test type e.g. postman/collection TestType string `json:"testType,omitempty"` // execution name Name string `json:"name,omitempty"` // execution number Number int32 `json:"number,omitempty"` // Environment variables passed to executor. // Deprecated: use Basic Variables instead Envs map[string]string `json:"envs,omitempty"` // executor image command Command []string `json:"command,omitempty"` // additional arguments/flags passed to executor binary Args []string `json:"args,omitempty"` // usage mode for arguments ArgsMode ArgsModeType `json:"args_mode,omitempty"` Variables map[string]Variable `json:"variables,omitempty"` // in case the variables file is too big, it will be uploaded to storage IsVariablesFileUploaded bool `json:"isVariablesFileUploaded,omitempty"` // variables file content - need to be in format for particular executor (e.g. postman envs file) VariablesFile string `json:"variablesFile,omitempty"` // test secret uuid TestSecretUUID string `json:"testSecretUUID,omitempty"` // test suite secret uuid, if it's run as a part of test suite TestSuiteSecretUUID string `json:"testSuiteSecretUUID,omitempty"` Content *TestContent `json:"content,omitempty"` // test start time StartTime metav1.Time `json:"startTime,omitempty"` // test end time EndTime metav1.Time `json:"endTime,omitempty"` // test duration Duration string `json:"duration,omitempty"` // test duration in milliseconds DurationMs int32 `json:"durationMs,omitempty"` ExecutionResult *ExecutionResult `json:"executionResult,omitempty"` // test and execution labels Labels map[string]string `json:"labels,omitempty"` // list of file paths that need to be copied into the test from uploads Uploads []string `json:"uploads,omitempty"` // minio bucket name to get uploads from BucketName string `json:"bucketName,omitempty"` ArtifactRequest *ArtifactRequest `json:"artifactRequest,omitempty"` // script to run before test execution PreRunScript string `json:"preRunScript,omitempty"` // script to run after test execution PostRunScript string `json:"postRunScript,omitempty"` // execute post run script before scraping (prebuilt executor only) ExecutePostRunScriptBeforeScraping bool `json:"executePostRunScriptBeforeScraping,omitempty"` RunningContext *RunningContext `json:"runningContext,omitempty"` // shell used in container executor ContainerShell string `json:"containerShell,omitempty"` // test execution name started the test execution TestExecutionName string `json:"testExecutionName,omitempty"` }
test execution
func (*Execution) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Execution.
func (*Execution) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutionResult ¶
type ExecutionResult struct { Status *ExecutionStatus `json:"status"` // error message when status is error, separate to output as output can be partial in case of error ErrorMessage string `json:"errorMessage,omitempty"` // execution steps (for collection of requests) Steps []ExecutionStepResult `json:"steps,omitempty"` Reports *ExecutionResultReports `json:"reports,omitempty"` }
execution result returned from executor
func (*ExecutionResult) DeepCopy ¶
func (in *ExecutionResult) DeepCopy() *ExecutionResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionResult.
func (*ExecutionResult) DeepCopyInto ¶
func (in *ExecutionResult) DeepCopyInto(out *ExecutionResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutionResultReports ¶
type ExecutionResultReports struct {
Junit string `json:"junit,omitempty"`
}
func (*ExecutionResultReports) DeepCopy ¶
func (in *ExecutionResultReports) DeepCopy() *ExecutionResultReports
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionResultReports.
func (*ExecutionResultReports) DeepCopyInto ¶
func (in *ExecutionResultReports) DeepCopyInto(out *ExecutionResultReports)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutionStatus ¶
type ExecutionStatus string
+kubebuilder:validation:Enum=queued;running;passed;failed;aborted;timeout
const ( QUEUED_ExecutionStatus ExecutionStatus = "queued" RUNNING_ExecutionStatus ExecutionStatus = "running" PASSED_ExecutionStatus ExecutionStatus = "passed" FAILED_ExecutionStatus ExecutionStatus = "failed" ABORTED_ExecutionStatus ExecutionStatus = "aborted" TIMEOUT_ExecutionStatus ExecutionStatus = "timeout" )
List of ExecutionStatus
type ExecutionStepResult ¶
type ExecutionStepResult struct { // step name Name string `json:"name"` Duration string `json:"duration,omitempty"` // execution step status Status string `json:"status"` AssertionResults []AssertionResult `json:"assertionResults,omitempty"` }
execution result data
func (*ExecutionStepResult) DeepCopy ¶
func (in *ExecutionStepResult) DeepCopy() *ExecutionStepResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionStepResult.
func (*ExecutionStepResult) DeepCopyInto ¶
func (in *ExecutionStepResult) DeepCopyInto(out *ExecutionStepResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitAuthType ¶
type GitAuthType string
GitAuthType defines git auth type +kubebuilder:validation:Enum=basic;header
const ( // GitAuthTypeBasic for git basic auth requests GitAuthTypeBasic GitAuthType = "basic" // GitAuthTypeHeader for git header auth requests GitAuthTypeHeader GitAuthType = "header" )
type ObjectRef ¶
type ObjectRef struct { // object kubernetes namespace Namespace string `json:"namespace,omitempty"` // object name Name string `json:"name"` }
func (*ObjectRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectRef.
func (*ObjectRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶
type Repository struct { // VCS repository type Type_ string `json:"type,omitempty"` // uri of content file or git directory Uri string `json:"uri,omitempty"` // branch/tag name for checkout Branch string `json:"branch,omitempty"` // commit id (sha) for checkout Commit string `json:"commit,omitempty"` // if needed we can checkout particular path (dir or file) in case of BIG/mono repositories Path string `json:"path,omitempty"` UsernameSecret *SecretRef `json:"usernameSecret,omitempty"` TokenSecret *SecretRef `json:"tokenSecret,omitempty"` // git auth certificate secret for private repositories CertificateSecret string `json:"certificateSecret,omitempty"` // if provided we checkout the whole repository and run test from this directory WorkingDir string `json:"workingDir,omitempty"` // auth type for git requests AuthType GitAuthType `json:"authType,omitempty"` }
Repository represents VCS repo, currently we're handling Git only
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryParameters ¶
type RepositoryParameters struct { // branch/tag name for checkout Branch string `json:"branch,omitempty"` // commit id (sha) for checkout Commit string `json:"commit,omitempty"` // if needed we can checkout particular path (dir or file) in case of BIG/mono repositories Path string `json:"path,omitempty"` // if provided we checkout the whole repository and run test from this directory WorkingDir string `json:"workingDir,omitempty"` }
repository parameters for tests in git repositories
func (*RepositoryParameters) DeepCopy ¶
func (in *RepositoryParameters) DeepCopy() *RepositoryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryParameters.
func (*RepositoryParameters) DeepCopyInto ¶
func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunningContext ¶
type RunningContext struct { // One of possible context types Type_ RunningContextType `json:"type"` // Context value depending from its type Context string `json:"context,omitempty"` }
running context for test or test suite execution
func (*RunningContext) DeepCopy ¶
func (in *RunningContext) DeepCopy() *RunningContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunningContext.
func (*RunningContext) DeepCopyInto ¶
func (in *RunningContext) DeepCopyInto(out *RunningContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunningContextType ¶
type RunningContextType string
RunningContextType defines running context type +kubebuilder:validation:Enum=user-cli;user-ui;testsuite;testtrigger;scheduler;testexecution;testsuiteexecution
const ( RunningContextTypeUserCLI RunningContextType = "user-cli" RunningContextTypeUserUI RunningContextType = "user-ui" RunningContextTypeTestSuite RunningContextType = "testsuite" RunningContextTypeTestTrigger RunningContextType = "testtrigger" RunningContextTypeScheduler RunningContextType = "scheduler" RunningContextTypeTestExecution RunningContextType = "testexecution" RunningContextTypeTestSuiteExecution RunningContextType = "testsuiteexecution" RunningContextTypeEmpty RunningContextType = "" )
type SecretRef ¶
type SecretRef struct { // object kubernetes namespace Namespace string `json:"namespace,omitempty"` // object name Name string `json:"name"` // object key Key string `json:"key"` }
Testkube internal reference for secret storage in Kubernetes secrets
func (*SecretRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuiteExecution ¶
type SuiteExecution struct { // execution id Id string `json:"id"` // execution name Name string `json:"name"` TestSuite *ObjectRef `json:"testSuite"` Status *SuiteExecutionStatus `json:"status,omitempty"` // Environment variables passed to executor. // Deprecated: use Basic Variables instead Envs map[string]string `json:"envs,omitempty"` Variables map[string]Variable `json:"variables,omitempty"` // secret uuid SecretUUID string `json:"secretUUID,omitempty"` // test start time StartTime metav1.Time `json:"startTime,omitempty"` // test end time EndTime metav1.Time `json:"endTime,omitempty"` // test duration Duration string `json:"duration,omitempty"` // test duration in ms DurationMs int32 `json:"durationMs,omitempty"` // steps execution results StepResults []TestSuiteStepExecutionResultV2 `json:"stepResults,omitempty"` // batch steps execution results ExecuteStepResults []TestSuiteBatchStepExecutionResult `json:"executeStepResults,omitempty"` // test suite labels Labels map[string]string `json:"labels,omitempty"` RunningContext *RunningContext `json:"runningContext,omitempty"` // test suite execution name started the test suite execution TestSuiteExecutionName string `json:"testSuiteExecutionName,omitempty"` }
SuiteExecutions data
func (*SuiteExecution) DeepCopy ¶
func (in *SuiteExecution) DeepCopy() *SuiteExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuiteExecution.
func (*SuiteExecution) DeepCopyInto ¶
func (in *SuiteExecution) DeepCopyInto(out *SuiteExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SuiteExecutionStatus ¶
type SuiteExecutionStatus string
+kubebuilder:validation:Enum=queued;running;passed;failed;aborting;aborted;timeout
const ( QUEUED_SuiteExecutionStatus SuiteExecutionStatus = "queued" RUNNING_SuiteExecutionStatus SuiteExecutionStatus = "running" PASSED_SuiteExecutionStatus SuiteExecutionStatus = "passed" FAILED_SuiteExecutionStatus SuiteExecutionStatus = "failed" ABORTING_SuiteExecutionStatus SuiteExecutionStatus = "aborting" ABORTED_SuiteExecutionStatus SuiteExecutionStatus = "aborted" TIMEOUT_SuiteExecutionStatus SuiteExecutionStatus = "timeout" )
List of SuiteExecutionStatus
type TestContent ¶
type TestContent struct { // test type Type_ TestContentType `json:"type,omitempty"` // repository of test content Repository *Repository `json:"repository,omitempty"` // test content body Data string `json:"data,omitempty"` // uri of test content Uri string `json:"uri,omitempty"` }
TestContent defines test content
func (*TestContent) DeepCopy ¶
func (in *TestContent) DeepCopy() *TestContent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestContent.
func (*TestContent) DeepCopyInto ¶
func (in *TestContent) DeepCopyInto(out *TestContent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestContentRequest ¶
type TestContentRequest struct {
Repository *RepositoryParameters `json:"repository,omitempty"`
}
test content request body
func (*TestContentRequest) DeepCopy ¶
func (in *TestContentRequest) DeepCopy() *TestContentRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestContentRequest.
func (*TestContentRequest) DeepCopyInto ¶
func (in *TestContentRequest) DeepCopyInto(out *TestContentRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestContentType ¶
type TestContentType string
+kubebuilder:validation:Enum=string;file-uri;git-file;git-dir;git
const ( TestContentTypeString TestContentType = "string" TestContentTypeFileURI TestContentType = "file-uri" // Deprecated: use git instead TestContentTypeGitFile TestContentType = "git-file" // Deprecated: use git instead TestContentTypeGitDir TestContentType = "git-dir" TestContentTypeGit TestContentType = "git" )
type TestSuiteBatchStep ¶
type TestSuiteBatchStep struct { StopOnFailure bool `json:"stopOnFailure"` Execute []TestSuiteStep `json:"execute,omitempty"` }
set of steps run in parallel
func (*TestSuiteBatchStep) DeepCopy ¶
func (in *TestSuiteBatchStep) DeepCopy() *TestSuiteBatchStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteBatchStep.
func (*TestSuiteBatchStep) DeepCopyInto ¶
func (in *TestSuiteBatchStep) DeepCopyInto(out *TestSuiteBatchStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteBatchStepExecutionResult ¶
type TestSuiteBatchStepExecutionResult struct { Step *TestSuiteBatchStep `json:"step,omitempty"` Execute []TestSuiteStepExecutionResult `json:"execute,omitempty"` }
execution result returned from executor
func (*TestSuiteBatchStepExecutionResult) DeepCopy ¶
func (in *TestSuiteBatchStepExecutionResult) DeepCopy() *TestSuiteBatchStepExecutionResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteBatchStepExecutionResult.
func (*TestSuiteBatchStepExecutionResult) DeepCopyInto ¶
func (in *TestSuiteBatchStepExecutionResult) DeepCopyInto(out *TestSuiteBatchStepExecutionResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteExecution ¶
type TestSuiteExecution struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestSuiteExecutionSpec `json:"spec,omitempty"` Status TestSuiteExecutionStatus `json:"status,omitempty"` }
TestSuiteExecution is the Schema for the testsuiteexecutions API
func (*TestSuiteExecution) DeepCopy ¶
func (in *TestSuiteExecution) DeepCopy() *TestSuiteExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteExecution.
func (*TestSuiteExecution) DeepCopyInto ¶
func (in *TestSuiteExecution) DeepCopyInto(out *TestSuiteExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestSuiteExecution) DeepCopyObject ¶
func (in *TestSuiteExecution) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestSuiteExecutionList ¶
type TestSuiteExecutionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TestSuiteExecution `json:"items"` }
TestSuiteExecutionList contains a list of TestSuiteExecution
func (*TestSuiteExecutionList) DeepCopy ¶
func (in *TestSuiteExecutionList) DeepCopy() *TestSuiteExecutionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteExecutionList.
func (*TestSuiteExecutionList) DeepCopyInto ¶
func (in *TestSuiteExecutionList) DeepCopyInto(out *TestSuiteExecutionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestSuiteExecutionList) DeepCopyObject ¶
func (in *TestSuiteExecutionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestSuiteExecutionRequest ¶
type TestSuiteExecutionRequest struct { // test execution custom name Name string `json:"name,omitempty"` // test suite execution number Number int32 `json:"number,omitempty"` // test kubernetes namespace (\"testkube\" when not set) Namespace string `json:"namespace,omitempty"` Variables map[string]Variable `json:"variables,omitempty"` // secret uuid SecretUUID string `json:"secretUUID,omitempty"` // test suite labels Labels map[string]string `json:"labels,omitempty"` // execution labels ExecutionLabels map[string]string `json:"executionLabels,omitempty"` // whether to start execution sync or async Sync bool `json:"sync,omitempty"` // http proxy for executor containers HttpProxy string `json:"httpProxy,omitempty"` // https proxy for executor containers HttpsProxy string `json:"httpsProxy,omitempty"` // duration in seconds the test suite may be active, until its stopped Timeout int32 `json:"timeout,omitempty"` ContentRequest *TestContentRequest `json:"contentRequest,omitempty"` RunningContext *RunningContext `json:"runningContext,omitempty"` // cron job template extensions CronJobTemplate string `json:"cronJobTemplate,omitempty"` // number of tests run in parallel ConcurrencyLevel int32 `json:"concurrencyLevel,omitempty"` // test suite execution name started the test suite execution TestSuiteExecutionName string `json:"testSuiteExecutionName,omitempty"` }
test suite execution request body
func (*TestSuiteExecutionRequest) DeepCopy ¶
func (in *TestSuiteExecutionRequest) DeepCopy() *TestSuiteExecutionRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteExecutionRequest.
func (*TestSuiteExecutionRequest) DeepCopyInto ¶
func (in *TestSuiteExecutionRequest) DeepCopyInto(out *TestSuiteExecutionRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteExecutionSpec ¶
type TestSuiteExecutionSpec struct { TestSuite *ObjectRef `json:"testSuite"` ExecutionRequest *TestSuiteExecutionRequest `json:"executionRequest,omitempty"` }
TestSuiteExecutionSpec defines the desired state of TestSuiteExecution
func (*TestSuiteExecutionSpec) DeepCopy ¶
func (in *TestSuiteExecutionSpec) DeepCopy() *TestSuiteExecutionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteExecutionSpec.
func (*TestSuiteExecutionSpec) DeepCopyInto ¶
func (in *TestSuiteExecutionSpec) DeepCopyInto(out *TestSuiteExecutionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteExecutionStatus ¶
type TestSuiteExecutionStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file LatestExecution *SuiteExecution `json:"latestExecution,omitempty"` // test status execution generation Generation int64 `json:"generation,omitempty"` }
TestSuiteExecutionStatus defines the observed state of TestSuiteExecution
func (*TestSuiteExecutionStatus) DeepCopy ¶
func (in *TestSuiteExecutionStatus) DeepCopy() *TestSuiteExecutionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteExecutionStatus.
func (*TestSuiteExecutionStatus) DeepCopyInto ¶
func (in *TestSuiteExecutionStatus) DeepCopyInto(out *TestSuiteExecutionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStep ¶
type TestSuiteStep struct { // object name Test string `json:"test,omitempty"` // delay duration in time units Delay string `json:"delay,omitempty"` }
func (*TestSuiteStep) DeepCopy ¶
func (in *TestSuiteStep) DeepCopy() *TestSuiteStep
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStep.
func (*TestSuiteStep) DeepCopyInto ¶
func (in *TestSuiteStep) DeepCopyInto(out *TestSuiteStep)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStepDelayV2 ¶
type TestSuiteStepDelayV2 struct { // delay duration in milliseconds Duration int32 `json:"duration"` }
func (*TestSuiteStepDelayV2) DeepCopy ¶
func (in *TestSuiteStepDelayV2) DeepCopy() *TestSuiteStepDelayV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStepDelayV2.
func (*TestSuiteStepDelayV2) DeepCopyInto ¶
func (in *TestSuiteStepDelayV2) DeepCopyInto(out *TestSuiteStepDelayV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStepExecuteTestV2 ¶
type TestSuiteStepExecuteTestV2 struct { // object kubernetes namespace Namespace string `json:"namespace,omitempty"` // object name Name string `json:"name"` }
func (*TestSuiteStepExecuteTestV2) DeepCopy ¶
func (in *TestSuiteStepExecuteTestV2) DeepCopy() *TestSuiteStepExecuteTestV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStepExecuteTestV2.
func (*TestSuiteStepExecuteTestV2) DeepCopyInto ¶
func (in *TestSuiteStepExecuteTestV2) DeepCopyInto(out *TestSuiteStepExecuteTestV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStepExecutionResult ¶
type TestSuiteStepExecutionResult struct { Step *TestSuiteStep `json:"step,omitempty"` Test *ObjectRef `json:"test,omitempty"` Execution *Execution `json:"execution,omitempty"` }
execution result returned from executor
func (*TestSuiteStepExecutionResult) DeepCopy ¶
func (in *TestSuiteStepExecutionResult) DeepCopy() *TestSuiteStepExecutionResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStepExecutionResult.
func (*TestSuiteStepExecutionResult) DeepCopyInto ¶
func (in *TestSuiteStepExecutionResult) DeepCopyInto(out *TestSuiteStepExecutionResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStepExecutionResultV2 ¶
type TestSuiteStepExecutionResultV2 struct { Step *TestSuiteStepV2 `json:"step,omitempty"` Test *ObjectRef `json:"test,omitempty"` Execution *Execution `json:"execution,omitempty"` }
execution result returned from executor
func (*TestSuiteStepExecutionResultV2) DeepCopy ¶
func (in *TestSuiteStepExecutionResultV2) DeepCopy() *TestSuiteStepExecutionResultV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStepExecutionResultV2.
func (*TestSuiteStepExecutionResultV2) DeepCopyInto ¶
func (in *TestSuiteStepExecutionResultV2) DeepCopyInto(out *TestSuiteStepExecutionResultV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStepV2 ¶
type TestSuiteStepV2 struct { StopTestOnFailure bool `json:"stopTestOnFailure"` Execute *TestSuiteStepExecuteTestV2 `json:"execute,omitempty"` Delay *TestSuiteStepDelayV2 `json:"delay,omitempty"` }
func (*TestSuiteStepV2) DeepCopy ¶
func (in *TestSuiteStepV2) DeepCopy() *TestSuiteStepV2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStepV2.
func (*TestSuiteStepV2) DeepCopyInto ¶
func (in *TestSuiteStepV2) DeepCopyInto(out *TestSuiteStepV2)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.