Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the test v1alpha1 API group +kubebuilder:object:generate=true +groupName=test.plural.sh
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "test.plural.sh", Version: "v1alpha1"} // 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 StepStatus ¶
type StepStatus struct { // the id for this test step PluralId string `json:"pluralId"` // name of this step Name string `json:"name"` // the status of this test step Status plural.Status `json:"status"` }
func (*StepStatus) DeepCopy ¶
func (in *StepStatus) DeepCopy() *StepStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepStatus.
func (*StepStatus) DeepCopyInto ¶
func (in *StepStatus) DeepCopyInto(out *StepStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestStep ¶
type TestStep struct { // the name for this step Name string `json:"name"` // a description for what this step is doing (for visualization) Description string `json:"description"` // the argo template to use for this step Template *argov1alpha1.Template `json:"template"` }
func (*TestStep) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestStep.
func (*TestStep) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuite ¶
type TestSuite struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestSuiteSpec `json:"spec,omitempty"` Status TestSuiteStatus `json:"status,omitempty"` }
TestSuite is the Schema for the testsuites API
func (*TestSuite) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuite.
func (*TestSuite) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestSuite) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestSuiteList ¶
type TestSuiteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TestSuite `json:"items"` }
TestSuiteList contains a list of TestSuite
func (*TestSuiteList) DeepCopy ¶
func (in *TestSuiteList) DeepCopy() *TestSuiteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteList.
func (*TestSuiteList) DeepCopyInto ¶
func (in *TestSuiteList) DeepCopyInto(out *TestSuiteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestSuiteList) DeepCopyObject ¶
func (in *TestSuiteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestSuiteSpec ¶
type TestSuiteSpec struct { // the tag you'll promote to on test success PromoteTag string `json:"promoteTag,omitempty"` // the test tags Tags []string `json:"tags,omitempty"` // the repository this test is run in Repository string `json:"repository,omitempty"` // test steps to run Steps []*TestStep `json:"steps,omitempty"` }
TestSuiteSpec defines the desired state of TestSuite
func (*TestSuiteSpec) DeepCopy ¶
func (in *TestSuiteSpec) DeepCopy() *TestSuiteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteSpec.
func (*TestSuiteSpec) DeepCopyInto ¶
func (in *TestSuiteSpec) DeepCopyInto(out *TestSuiteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestSuiteStatus ¶
type TestSuiteStatus struct { // the id for this test suite PluralId string `json:"pluralId"` // the status of the entire test Status plural.Status `json:"testStatus"` // the status for each individual step Steps []*StepStatus `json:"stepStatus"` // the name of the associated argo workflow WorkflowName string `json:"workflowName"` // time when the suite was completed CompletionTime *metav1.Time `json:"completionTime,omitempty"` }
TestSuiteStatus defines the observed state of TestSuite
func (*TestSuiteStatus) DeepCopy ¶
func (in *TestSuiteStatus) DeepCopy() *TestSuiteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSuiteStatus.
func (*TestSuiteStatus) DeepCopyInto ¶
func (in *TestSuiteStatus) DeepCopyInto(out *TestSuiteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.