v1alpha1

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
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

View Source
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}
)
View Source
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

func (in *Test) DeepCopy() *Test

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

func (*Test) DeepCopyInto

func (in *Test) DeepCopyInto(out *Test)

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

func (*Test) DeepCopyObject

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

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

func (in *TestList) DeepCopy() *TestList

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

func (*TestList) DeepCopyInto

func (in *TestList) DeepCopyInto(out *TestList)

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

func (*TestList) DeepCopyObject

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

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

type TestPhase

type TestPhase string

TestPhase --

func (TestPhase) AsError

func (phase TestPhase) AsError() error

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

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 {
	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.

Jump to

Keyboard shortcuts

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