Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=srossross.github.io
Index ¶
- Variables
- func Convert_tester_TestRunList_To_v1alpha1_TestRunList(in *tester.TestRunList, out *TestRunList, s conversion.Scope) error
- func Convert_tester_TestRunRecord_To_v1alpha1_TestRunRecord(in *tester.TestRunRecord, out *TestRunRecord, s conversion.Scope) error
- func Convert_tester_TestRunSpec_To_v1alpha1_TestRunSpec(in *tester.TestRunSpec, out *TestRunSpec, s conversion.Scope) error
- func Convert_tester_TestRunStatus_To_v1alpha1_TestRunStatus(in *tester.TestRunStatus, out *TestRunStatus, s conversion.Scope) error
- func Convert_tester_TestRun_To_v1alpha1_TestRun(in *tester.TestRun, out *TestRun, s conversion.Scope) error
- func Convert_tester_TestTemplateList_To_v1alpha1_TestTemplateList(in *tester.TestTemplateList, out *TestTemplateList, s conversion.Scope) error
- func Convert_tester_TestTemplateSpec_To_v1alpha1_TestTemplateSpec(in *tester.TestTemplateSpec, out *TestTemplateSpec, s conversion.Scope) error
- func Convert_tester_TestTemplate_To_v1alpha1_TestTemplate(in *tester.TestTemplate, out *TestTemplate, s conversion.Scope) error
- func Convert_v1alpha1_TestRunList_To_tester_TestRunList(in *TestRunList, out *tester.TestRunList, s conversion.Scope) error
- func Convert_v1alpha1_TestRunRecord_To_tester_TestRunRecord(in *TestRunRecord, out *tester.TestRunRecord, s conversion.Scope) error
- func Convert_v1alpha1_TestRunSpec_To_tester_TestRunSpec(in *TestRunSpec, out *tester.TestRunSpec, s conversion.Scope) error
- func Convert_v1alpha1_TestRunStatus_To_tester_TestRunStatus(in *TestRunStatus, out *tester.TestRunStatus, s conversion.Scope) error
- func Convert_v1alpha1_TestRun_To_tester_TestRun(in *TestRun, out *tester.TestRun, s conversion.Scope) error
- func Convert_v1alpha1_TestTemplateList_To_tester_TestTemplateList(in *TestTemplateList, out *tester.TestTemplateList, s conversion.Scope) error
- func Convert_v1alpha1_TestTemplateSpec_To_tester_TestTemplateSpec(in *TestTemplateSpec, out *tester.TestTemplateSpec, s conversion.Scope) error
- func Convert_v1alpha1_TestTemplate_To_tester_TestTemplate(in *TestTemplate, out *tester.TestTemplate, s conversion.Scope) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type TestRun
- type TestRunList
- type TestRunRecord
- type TestRunSpec
- type TestRunStatus
- type TestTemplate
- type TestTemplateList
- type TestTemplateSpec
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var ( // TestRunComplete will set the status to complete TestRunComplete = "Complete" TestRunRunning = "Running" )
var SchemeGroupVersion = schema.GroupVersion{Group: tester.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_tester_TestRunList_To_v1alpha1_TestRunList ¶
func Convert_tester_TestRunList_To_v1alpha1_TestRunList(in *tester.TestRunList, out *TestRunList, s conversion.Scope) error
Convert_tester_TestRunList_To_v1alpha1_TestRunList is an autogenerated conversion function.
func Convert_tester_TestRunRecord_To_v1alpha1_TestRunRecord ¶
func Convert_tester_TestRunRecord_To_v1alpha1_TestRunRecord(in *tester.TestRunRecord, out *TestRunRecord, s conversion.Scope) error
Convert_tester_TestRunRecord_To_v1alpha1_TestRunRecord is an autogenerated conversion function.
func Convert_tester_TestRunSpec_To_v1alpha1_TestRunSpec ¶
func Convert_tester_TestRunSpec_To_v1alpha1_TestRunSpec(in *tester.TestRunSpec, out *TestRunSpec, s conversion.Scope) error
Convert_tester_TestRunSpec_To_v1alpha1_TestRunSpec is an autogenerated conversion function.
func Convert_tester_TestRunStatus_To_v1alpha1_TestRunStatus ¶
func Convert_tester_TestRunStatus_To_v1alpha1_TestRunStatus(in *tester.TestRunStatus, out *TestRunStatus, s conversion.Scope) error
Convert_tester_TestRunStatus_To_v1alpha1_TestRunStatus is an autogenerated conversion function.
func Convert_tester_TestRun_To_v1alpha1_TestRun ¶
func Convert_tester_TestRun_To_v1alpha1_TestRun(in *tester.TestRun, out *TestRun, s conversion.Scope) error
Convert_tester_TestRun_To_v1alpha1_TestRun is an autogenerated conversion function.
func Convert_tester_TestTemplateList_To_v1alpha1_TestTemplateList ¶
func Convert_tester_TestTemplateList_To_v1alpha1_TestTemplateList(in *tester.TestTemplateList, out *TestTemplateList, s conversion.Scope) error
Convert_tester_TestTemplateList_To_v1alpha1_TestTemplateList is an autogenerated conversion function.
func Convert_tester_TestTemplateSpec_To_v1alpha1_TestTemplateSpec ¶
func Convert_tester_TestTemplateSpec_To_v1alpha1_TestTemplateSpec(in *tester.TestTemplateSpec, out *TestTemplateSpec, s conversion.Scope) error
Convert_tester_TestTemplateSpec_To_v1alpha1_TestTemplateSpec is an autogenerated conversion function.
func Convert_tester_TestTemplate_To_v1alpha1_TestTemplate ¶
func Convert_tester_TestTemplate_To_v1alpha1_TestTemplate(in *tester.TestTemplate, out *TestTemplate, s conversion.Scope) error
Convert_tester_TestTemplate_To_v1alpha1_TestTemplate is an autogenerated conversion function.
func Convert_v1alpha1_TestRunList_To_tester_TestRunList ¶
func Convert_v1alpha1_TestRunList_To_tester_TestRunList(in *TestRunList, out *tester.TestRunList, s conversion.Scope) error
Convert_v1alpha1_TestRunList_To_tester_TestRunList is an autogenerated conversion function.
func Convert_v1alpha1_TestRunRecord_To_tester_TestRunRecord ¶
func Convert_v1alpha1_TestRunRecord_To_tester_TestRunRecord(in *TestRunRecord, out *tester.TestRunRecord, s conversion.Scope) error
Convert_v1alpha1_TestRunRecord_To_tester_TestRunRecord is an autogenerated conversion function.
func Convert_v1alpha1_TestRunSpec_To_tester_TestRunSpec ¶
func Convert_v1alpha1_TestRunSpec_To_tester_TestRunSpec(in *TestRunSpec, out *tester.TestRunSpec, s conversion.Scope) error
Convert_v1alpha1_TestRunSpec_To_tester_TestRunSpec is an autogenerated conversion function.
func Convert_v1alpha1_TestRunStatus_To_tester_TestRunStatus ¶
func Convert_v1alpha1_TestRunStatus_To_tester_TestRunStatus(in *TestRunStatus, out *tester.TestRunStatus, s conversion.Scope) error
Convert_v1alpha1_TestRunStatus_To_tester_TestRunStatus is an autogenerated conversion function.
func Convert_v1alpha1_TestRun_To_tester_TestRun ¶
func Convert_v1alpha1_TestRun_To_tester_TestRun(in *TestRun, out *tester.TestRun, s conversion.Scope) error
Convert_v1alpha1_TestRun_To_tester_TestRun is an autogenerated conversion function.
func Convert_v1alpha1_TestTemplateList_To_tester_TestTemplateList ¶
func Convert_v1alpha1_TestTemplateList_To_tester_TestTemplateList(in *TestTemplateList, out *tester.TestTemplateList, s conversion.Scope) error
Convert_v1alpha1_TestTemplateList_To_tester_TestTemplateList is an autogenerated conversion function.
func Convert_v1alpha1_TestTemplateSpec_To_tester_TestTemplateSpec ¶
func Convert_v1alpha1_TestTemplateSpec_To_tester_TestTemplateSpec(in *TestTemplateSpec, out *tester.TestTemplateSpec, s conversion.Scope) error
Convert_v1alpha1_TestTemplateSpec_To_tester_TestTemplateSpec is an autogenerated conversion function.
func Convert_v1alpha1_TestTemplate_To_tester_TestTemplate ¶
func Convert_v1alpha1_TestTemplate_To_tester_TestTemplate(in *TestTemplate, out *tester.TestTemplate, s conversion.Scope) error
Convert_v1alpha1_TestTemplate_To_tester_TestTemplate is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies
deprecated
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type TestRun ¶
type TestRun struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestRunSpec `json:"spec,omitempty"` Status TestRunStatus `json:"status,omitempty"` }
func (*TestRun) DeepCopy ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestRun.
func (*TestRun) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestRun) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestRunList ¶
type TestRunList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TestRun `json:"items"` }
func (*TestRunList) DeepCopy ¶
func (x *TestRunList) DeepCopy() *TestRunList
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestRunList.
func (*TestRunList) DeepCopyInto ¶
func (in *TestRunList) DeepCopyInto(out *TestRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestRunList) DeepCopyObject ¶
func (x *TestRunList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestRunRecord ¶
type TestRunRecord struct { // the name of the test to run TestName string `json:"testname"` // The pod that this run PodRef *corev1.ObjectReference `json:"podref"` // When the pod was started StartTime *metav1.Time `json:"starttime"` // When the pod was started EndTime *metav1.Time `json:"endtime"` // When the pod was started Result string `json:"result"` }
TestRunRecord is a refrence to a pod run
func (*TestRunRecord) DeepCopy ¶
func (x *TestRunRecord) DeepCopy() *TestRunRecord
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestRunRecord.
func (*TestRunRecord) DeepCopyInto ¶
func (in *TestRunRecord) DeepCopyInto(out *TestRunRecord)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestRunSpec ¶
type TestRunSpec struct { // Label selector for pods. Existing ReplicaSets whose pods are // selected by this will be the ones affected by this deployment. // +optional Selector *metav1.LabelSelector `json:"selector,omitempty"` // The Maximum number of pods to run symultaniously MaxJobs int `json:"max-jobs"` // The Maximum number of failures before stoping the test run // and mark it as a failure MaxFail int `json:"maxfail"` }
func (*TestRunSpec) DeepCopy ¶
func (x *TestRunSpec) DeepCopy() *TestRunSpec
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestRunSpec.
func (*TestRunSpec) DeepCopyInto ¶
func (in *TestRunSpec) DeepCopyInto(out *TestRunSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestRunStatus ¶
type TestRunStatus struct { Status string `json:"status"` Message string `json:"message"` Success bool `json:"success"` Records []TestRunRecord `json:"records"` }
func (*TestRunStatus) DeepCopy ¶
func (x *TestRunStatus) DeepCopy() *TestRunStatus
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestRunStatus.
func (*TestRunStatus) DeepCopyInto ¶
func (in *TestRunStatus) DeepCopyInto(out *TestRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestTemplate ¶
type TestTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestTemplateSpec `json:"spec,omitempty"` }
func (*TestTemplate) DeepCopy ¶
func (x *TestTemplate) DeepCopy() *TestTemplate
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTemplate.
func (*TestTemplate) DeepCopyInto ¶
func (in *TestTemplate) DeepCopyInto(out *TestTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestTemplate) DeepCopyObject ¶
func (x *TestTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestTemplateList ¶
type TestTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TestTemplate `json:"items"` }
func (*TestTemplateList) DeepCopy ¶
func (x *TestTemplateList) DeepCopy() *TestTemplateList
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTemplateList.
func (*TestTemplateList) DeepCopyInto ¶
func (in *TestTemplateList) DeepCopyInto(out *TestTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestTemplateList) DeepCopyObject ¶
func (x *TestTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestTemplateSpec ¶
type TestTemplateSpec struct { // Description of what the test is about Description string `json:"description"` // Test run weight. the pods will be run in sorted order of (Weight, Name) Weight int `json:"weight"` Template corev1.PodTemplateSpec `json:"template"` }
func (*TestTemplateSpec) DeepCopy ¶
func (x *TestTemplateSpec) DeepCopy() *TestTemplateSpec
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTemplateSpec.
func (*TestTemplateSpec) DeepCopyInto ¶
func (in *TestTemplateSpec) DeepCopyInto(out *TestTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.