Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the yaks v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=org.citrusframework.yaks
Package v1alpha1 contains API Schema definitions for the yaks v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=org.citrusframework.yaks
Index ¶
Constants ¶
const ( // TestKind -- TestKind string = "Test" // TestPhaseNone -- TestPhaseNone TestPhase = "" // TestPhasePending -- TestPhasePending TestPhase = "Pending" // TestPhaseRunning -- TestPhaseRunning TestPhase = "Running" // TestPhasePassed -- TestPhasePassed TestPhase = "Passed" // TestPhaseFailed -- TestPhaseFailed TestPhase = "Failed" // TestPhaseError -- TestPhaseError TestPhase = "Error" // TestPhaseDeleting -- TestPhaseDeleting TestPhase = "Deleting" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "org.citrusframework.yaks", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var TestLanguages = []Language{ LanguageGherkin, }
TestLanguages is the list of all supported test languages
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language string
const ( // LanguageGherkin -- LanguageGherkin Language = "feature" )
type SettingsSpec ¶
type SettingsSpec struct { Name string `json:"name,omitempty"` Content string `json:"content,omitempty"` }
SettingsSpec--
func (*SettingsSpec) DeepCopy ¶
func (in *SettingsSpec) DeepCopy() *SettingsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingsSpec.
func (*SettingsSpec) DeepCopyInto ¶
func (in *SettingsSpec) DeepCopyInto(out *SettingsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceSpec ¶
type SourceSpec struct { Name string `json:"name,omitempty"` Content string `json:"content,omitempty"` Language Language `json:"language,omitempty"` }
SourceSpec--
func (*SourceSpec) DeepCopy ¶
func (in *SourceSpec) DeepCopy() *SourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.
func (*SourceSpec) DeepCopyInto ¶
func (in *SourceSpec) DeepCopyInto(out *SourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Test ¶
type Test struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestSpec `json:"spec,omitempty"` Status TestStatus `json:"status,omitempty"` }
Test is the Schema for the tests API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Test) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Test.
func (*Test) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Test) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestList ¶
type TestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Test `json:"items"` }
TestList contains a list of Test
func (*TestList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestList.
func (*TestList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestResult ¶ added in v0.0.22
type TestResult struct { Name string `json:"name,omitempty"` ErrorType string `json:"errorType,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` }
func (*TestResult) DeepCopy ¶ added in v0.0.22
func (in *TestResult) DeepCopy() *TestResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResult.
func (*TestResult) DeepCopyInto ¶ added in v0.0.22
func (in *TestResult) DeepCopyInto(out *TestResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestResults ¶ added in v0.0.22
type TestResults struct { Summary TestSummary `json:"summary,omitempty"` Tests []TestResult `json:"tests,omitempty"` Errors []string `json:"errors,omitempty"` }
func (*TestResults) DeepCopy ¶ added in v0.0.22
func (in *TestResults) DeepCopy() *TestResults
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResults.
func (*TestResults) DeepCopyInto ¶ added in v0.0.22
func (in *TestResults) DeepCopyInto(out *TestResults)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSpec ¶
type TestSpec struct { Source SourceSpec `json:"source,omitempty"` Settings SettingsSpec `json:"config,omitempty"` Env []string `json:"env,omitempty"` }
TestSpec defines the desired state of Test +k8s:openapi-gen=true
func (*TestSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSpec.
func (*TestSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestStatus ¶
type TestStatus struct { Phase TestPhase `json:"phase,omitempty"` Results TestResults `json:"results,omitempty"` Errors string `json:"errors,omitempty"` TestID string `json:"testID,omitempty"` Digest string `json:"digest,omitempty"` Version string `json:"version,omitempty"` }
TestStatus defines the observed state of Test +k8s:openapi-gen=true
func (*TestStatus) DeepCopy ¶
func (in *TestStatus) DeepCopy() *TestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestStatus.
func (*TestStatus) DeepCopyInto ¶
func (in *TestStatus) DeepCopyInto(out *TestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSummary ¶ added in v0.0.22
type TestSummary struct { Total int `json:"total"` Passed int `json:"passed"` Failed int `json:"failed"` Skipped int `json:"skipped"` Pending int `json:"pending"` Undefined int `json:"undefined"` }
func (*TestSummary) DeepCopy ¶ added in v0.0.22
func (in *TestSummary) DeepCopy() *TestSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSummary.
func (*TestSummary) DeepCopyInto ¶ added in v0.0.22
func (in *TestSummary) DeepCopyInto(out *TestSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.