v1beta2

package
v0.0.0-...-686abde Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Overview

Package v1beta2 contains API Schema definitions for the appstudio v1beta2 API group +kubebuilder:object:generate=true +groupName=appstudio.redhat.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "appstudio.redhat.com", Version: "v1beta2"}

	// 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 IntegrationTestScenario

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

	Spec   IntegrationTestScenarioSpec   `json:"spec,omitempty"`
	Status IntegrationTestScenarioStatus `json:"status,omitempty"`
}

IntegrationTestScenario is the Schema for the integrationtestscenarios API

func (*IntegrationTestScenario) DeepCopy

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

func (*IntegrationTestScenario) DeepCopyInto

func (in *IntegrationTestScenario) DeepCopyInto(out *IntegrationTestScenario)

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

func (*IntegrationTestScenario) DeepCopyObject

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

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

func (*IntegrationTestScenario) Hub

func (*IntegrationTestScenario) Hub()

Hub marks this type as a conversion hub.

func (*IntegrationTestScenario) SetupWebhookWithManager

func (r *IntegrationTestScenario) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*IntegrationTestScenario) ValidateCreate

func (r *IntegrationTestScenario) ValidateCreate() (warnings admission.Warnings, err error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*IntegrationTestScenario) ValidateDelete

func (r *IntegrationTestScenario) ValidateDelete() (warnings admission.Warnings, err error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*IntegrationTestScenario) ValidateUpdate

func (r *IntegrationTestScenario) ValidateUpdate(old runtime.Object) (warnings admission.Warnings, err error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type IntegrationTestScenarioList

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

IntegrationTestScenarioList contains a list of IntegrationTestScenario

func (*IntegrationTestScenarioList) DeepCopy

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

func (*IntegrationTestScenarioList) DeepCopyInto

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

func (*IntegrationTestScenarioList) DeepCopyObject

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

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

type IntegrationTestScenarioSpec

type IntegrationTestScenarioSpec struct {
	// Application that's associated with the IntegrationTestScenario
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
	// +required
	Application string `json:"application"`
	// Tekton Resolver where to store the Tekton resolverRef trigger Tekton pipeline used to refer to a Pipeline or Task in a remote location like a git repo.
	// +required
	ResolverRef ResolverRef `json:"resolverRef"`
	// Params to pass to the pipeline
	Params []PipelineParameter `json:"params,omitempty"`
	// Contexts where this IntegrationTestScenario can be applied
	Contexts []TestContext `json:"contexts,omitempty"`
}

IntegrationTestScenarioSpec defines the desired state of IntegrationScenario

func (*IntegrationTestScenarioSpec) DeepCopy

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

func (*IntegrationTestScenarioSpec) DeepCopyInto

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

type IntegrationTestScenarioStatus

type IntegrationTestScenarioStatus struct {
	Conditions []metav1.Condition `json:"conditions"`
}

IntegrationTestScenarioStatus defines the observed state of IntegrationTestScenario

func (*IntegrationTestScenarioStatus) DeepCopy

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

func (*IntegrationTestScenarioStatus) DeepCopyInto

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

type PipelineParameter

type PipelineParameter struct {
	Name   string   `json:"name"`
	Value  string   `json:"value,omitempty"`
	Values []string `json:"values,omitempty"`
}

PipelineParameter contains the name and values of a Tekton Pipeline parameter

func (*PipelineParameter) DeepCopy

func (in *PipelineParameter) DeepCopy() *PipelineParameter

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

func (*PipelineParameter) DeepCopyInto

func (in *PipelineParameter) DeepCopyInto(out *PipelineParameter)

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

type ResolverParameter

type ResolverParameter struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

ResolverParameter contains the name and values used to identify the referenced Tekton resource

func (*ResolverParameter) DeepCopy

func (in *ResolverParameter) DeepCopy() *ResolverParameter

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

func (*ResolverParameter) DeepCopyInto

func (in *ResolverParameter) DeepCopyInto(out *ResolverParameter)

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

type ResolverRef

type ResolverRef struct {
	// Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git" or "bundle"..
	// +required
	Resolver string `json:"resolver"`
	// Params contains the parameters used to identify the
	// referenced Tekton resource. Example entries might include
	// "repo" or "path" but the set of params ultimately depends on
	// the chosen resolver.
	// +required
	Params []ResolverParameter `json:"params"`
}

Tekton Resolver where to store the Tekton resolverRef trigger Tekton pipeline used to refer to a Pipeline or Task in a remote location like a git repo. +required

func (*ResolverRef) DeepCopy

func (in *ResolverRef) DeepCopy() *ResolverRef

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

func (*ResolverRef) DeepCopyInto

func (in *ResolverRef) DeepCopyInto(out *ResolverRef)

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

type TestContext

type TestContext struct {
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
}

TestContext contains the name and values of a Test context

func (*TestContext) DeepCopy

func (in *TestContext) DeepCopy() *TestContext

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

func (*TestContext) DeepCopyInto

func (in *TestContext) DeepCopyInto(out *TestContext)

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