tester

package
v0.0.0-...-3d8bab0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package tester is the internal version of the API.

Index

Constants

View Source
const GroupName = "srossross.github.io"

GroupName is the group name use in this package

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterDeepCopies deprecated

func RegisterDeepCopies(scheme *runtime.Scheme) error

Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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
	metav1.ObjectMeta

	Spec   TestRunSpec
	Status TestRunStatus
}

func (*TestRun) DeepCopy

func (x *TestRun) DeepCopy() *TestRun

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestRun.

func (*TestRun) DeepCopyInto

func (in *TestRun) DeepCopyInto(out *TestRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TestRun) DeepCopyObject

func (x *TestRun) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TestRunList

type TestRunList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []TestRun
}

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 {
	TestName  string
	PodRef    *corev1.ObjectReference
	StartTime *metav1.Time
	EndTime   *metav1.Time
	Result    string
}

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 {
	Selector *metav1.LabelSelector
	MaxJobs  int
	MaxFail  int
}

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
	Message string
	Success bool
	Records []TestRunRecord
}

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
	metav1.ObjectMeta

	Spec TestTemplateSpec
}

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
	metav1.ListMeta

	Items []TestTemplate
}

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 string
	Weight      int
	Template    corev1.PodTemplateSpec
}

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.

Directories

Path Synopsis
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL