v1

package
v0.0.0-...-21100e2 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the testing v1 API group +kubebuilder:object:generate=true +groupName=testing.tsgpragc.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "testing.tsgpragc.com", 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 Suite

type Suite struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SuiteSpec   `json:"spec,omitempty"`
	Status SuiteStatus `json:"status,omitempty"`
}

Suite is the Schema for the suites API

func (*Suite) DeepCopy

func (in *Suite) DeepCopy() *Suite

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Suite.

func (*Suite) DeepCopyInto

func (in *Suite) DeepCopyInto(out *Suite)

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

func (*Suite) DeepCopyObject

func (in *Suite) DeepCopyObject() runtime.Object

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

type SuiteList

type SuiteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Suite `json:"items"`
}

SuiteList contains a list of Suite

func (*SuiteList) DeepCopy

func (in *SuiteList) DeepCopy() *SuiteList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuiteList.

func (*SuiteList) DeepCopyInto

func (in *SuiteList) DeepCopyInto(out *SuiteList)

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

func (*SuiteList) DeepCopyObject

func (in *SuiteList) DeepCopyObject() runtime.Object

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

type SuiteSpec

type SuiteSpec struct {
	Tests    []TestSpec `json:"tests"`
	Capacity int        `json:"capacity,omitempty"`
}

SuiteSpec defines the desired state of Suite

func (*SuiteSpec) DeepCopy

func (in *SuiteSpec) DeepCopy() *SuiteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuiteSpec.

func (*SuiteSpec) DeepCopyInto

func (in *SuiteSpec) DeepCopyInto(out *SuiteSpec)

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

type SuiteStatus

type SuiteStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Status string       `json:"status,omitempty"`
	Tests  []TestStatus `json:"tests,omitempty"`
}

SuiteStatus defines the observed state of Suite

func (*SuiteStatus) DeepCopy

func (in *SuiteStatus) DeepCopy() *SuiteStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuiteStatus.

func (*SuiteStatus) DeepCopyInto

func (in *SuiteStatus) DeepCopyInto(out *SuiteStatus)

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

type TestSpec

type TestSpec struct {
	Name                  string `json:"name"`
	TektonPipelineRunYaml string `json:"tektonPipelineRunYaml"`
	MaxRetries            int    `json:"maxRetries,omitempty"`
	RunInIsolation        bool   `json:"runInIsolation,omitempty"`
}

func (*TestSpec) DeepCopy

func (in *TestSpec) DeepCopy() *TestSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestSpec.

func (*TestSpec) DeepCopyInto

func (in *TestSpec) DeepCopyInto(out *TestSpec)

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

type TestStatus

type TestStatus struct {
	Name     string `json:"name,omitempty"`
	Status   string `json:"status,omitempty"`
	Attempts int    `json:"attempts,omitempty"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳