v1alpha1

package
v0.0.0-...-c4530a7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the certification v1alpha1 API group +kubebuilder:object:generate=true +groupName=certification.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: "certification.redhat.com", Version: "v1alpha1"}

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

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

	Spec   OperatorPipelineSpec   `json:"spec,omitempty"`
	Status OperatorPipelineStatus `json:"status,omitempty"`
}

OperatorPipeline is the Schema for the operatorpipelines API

func (*OperatorPipeline) DeepCopy

func (in *OperatorPipeline) DeepCopy() *OperatorPipeline

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

func (*OperatorPipeline) DeepCopyInto

func (in *OperatorPipeline) DeepCopyInto(out *OperatorPipeline)

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

func (*OperatorPipeline) DeepCopyObject

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

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

type OperatorPipelineList

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

OperatorPipelineList contains a list of OperatorPipeline

func (*OperatorPipelineList) DeepCopy

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

func (*OperatorPipelineList) DeepCopyInto

func (in *OperatorPipelineList) DeepCopyInto(out *OperatorPipelineList)

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

func (*OperatorPipelineList) DeepCopyObject

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

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

type OperatorPipelineSpec

type OperatorPipelineSpec struct {
	// OperatorPipelinesRelease is the Operator Pipelines release (version) to install.
	OperatorPipelinesRelease string `json:"operatorPipelinesRelease,omitempty"`

	// GitHubSecretName is the name of the secret containing the GitHub Token that will be used by the pipeline.
	//+kubebuilder:validation:Optional
	GitHubSecretName string `json:"gitHubSecretName,omitempty"`

	// KubeconfigSecretName is the name of the secret containing the kubeconfig that will be used by the pipeline.
	KubeconfigSecretName string `json:"kubeconfigSecretName,omitempty"`

	// The name of the secret containing the pyxis api secret expected by the pipeline
	PyxisSecretName string `json:"pyxisSecretName,omitempty"`

	// The name of the secret containing the docker registry credentials secret expected by the pipeline
	DockerRegistrySecretName string `json:"dockerRegistrySecretName,omitempty"`

	// The name of the secret containing the github ssh secret expected by the pipeline
	GithubSSHSecretName string `json:"githubSSHSecretName,omitempty"`

	// ApplyCIPipeline determines whether to install the ci pipeline.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="CI Pipeline",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
	//+kubebuilder:validation:Required
	ApplyCIPipeline bool `json:"applyCIPipeline"`

	// ApplyHostedPipeline determines whether to install the hosted pipeline.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Hosted Pipeline",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
	//+kubebuilder:validation:Required
	ApplyHostedPipeline bool `json:"applyHostedPipeline"`

	// ApplyReleasePipeline determines whether to install the release pipeline.
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Release Pipeline",xDescriptors={"urn:alm:descriptor:com.tectonic.ui:booleanSwitch"}
	//+kubebuilder:validation:Required
	ApplyReleasePipeline bool `json:"applyReleasePipeline"`
}

OperatorPipelineSpec defines the desired state of OperatorPipeline

func (*OperatorPipelineSpec) DeepCopy

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

func (*OperatorPipelineSpec) DeepCopyInto

func (in *OperatorPipelineSpec) DeepCopyInto(out *OperatorPipelineSpec)

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

type OperatorPipelineStatus

type OperatorPipelineStatus struct {
	// conditions describes the state of the operator's reconciliation functionality.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +optional
	// Conditions is a list of conditions related to operator reconciliation
	Conditions []metav1.Condition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`

	// ObservedGeneration is the generation last observed by the controller
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// PipelinesRepoHash is the hash of the operator-pipelines repo
	// +optional
	PipelinesRepoHash string `json:"pipelinesRepoHash,omitempty"`
}

OperatorPipelineStatus defines the observed state of OperatorPipeline

func (*OperatorPipelineStatus) DeepCopy

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

func (*OperatorPipelineStatus) DeepCopyInto

func (in *OperatorPipelineStatus) DeepCopyInto(out *OperatorPipelineStatus)

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