Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 18 Imported by: 19

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.tekton.dev

Index

Constants

View Source
const (
	// operatorVersion
	VersionEnvKey = "VERSION"

	// Profiles
	ProfileAll   = "all"
	ProfileBasic = "basic"
	ProfileLite  = "lite"

	// Addon Params
	ClusterTasksParam      = "clusterTasks"
	PipelineTemplatesParam = "pipelineTemplates"
	CommunityClusterTasks  = "communityClusterTasks"

	// Hub Params
	EnableDevconsoleIntegrationParam = "enable-devconsole-integration"

	LastAppliedHashKey     = "operator.tekton.dev/last-applied-hash"
	CreatedByKey           = "operator.tekton.dev/created-by"
	ReleaseVersionKey      = "operator.tekton.dev/release-version"
	Component              = "operator.tekton.dev/component" // Used in case a component has sub-components eg TektonHub
	ReleaseMinorVersionKey = "operator.tekton.dev/release-minor-version"
	TargetNamespaceKey     = "operator.tekton.dev/target-namespace"
	InstallerSetType       = "operator.tekton.dev/type"
	LabelOperandName       = "operator.tekton.dev/operand-name"
	DbSecretHash           = "operator.tekton.dev/db-secret-hash"

	UpgradePending = "upgrade pending"
	Reinstalling   = "reinstalling"

	RequeueDelay = 10 * time.Second
)
View Source
const (
	// GroupName is the group of the API.
	GroupName = "operator.tekton.dev"

	// SchemaVersion is the current version of the API.
	SchemaVersion = "v1alpha1"

	// KindTektonPipeline is the Kind of Tekton Pipeline in a GVK context.
	KindTektonPipeline = "TektonPipeline"

	// KindTektonTrigger is the Kind of Tekton Trigger in a GVK context.
	KindTektonTrigger = "TektonTrigger"

	// KindTektonDashboard is the Kind of Tekton Dashboard in a GVK context.
	KindTektonDashboard = "TektonDashboard"

	// KindTektonAddon is the Kind of Tekton Addon in a GVK context.
	KindTektonAddon = "TektonAddon"

	// KindTektonConfig is the Kind of Tekton Config in a GVK context.
	KindTektonConfig = "TektonConfig"

	// KindTektonResult is the Kind of Tekton Result in a GVK context.
	KindTektonResult = "TektonResult"

	// KindTektonInstallerSet is the Kind of TektonInstallerSet in a GVK context.
	KindTektonInstallerSet = "TektonInstallerSet"

	// KindTektonHub is the Kind of TektonHub in a GVK context.
	KindTektonHub = "TektonHub"

	// KindTektonChain is the Kind of Tekton Chain in a GVK context.
	KindTektonChain = "TektonChain"

	// KindOpenShiftPipelinesAsCode is the Kind of OpenShiftPipelinesAsCode in a GVK context.
	KindOpenShiftPipelinesAsCode = "OpenShiftPipelinesAsCode"
)
View Source
const (
	PreInstall      apis.ConditionType = "PreInstall"
	ComponentsReady apis.ConditionType = "ComponentsReady"
	PostInstall     apis.ConditionType = "PostInstall"
)
View Source
const (
	// DB
	DbDependenciesInstalled apis.ConditionType = "DbDependenciesInstalled"
	DbInstallerSetAvailable apis.ConditionType = "DbInstallSetAvailable"
	// DB-migration
	DatabasebMigrationDone apis.ConditionType = "DatabasebMigrationDone"
	// API
	ApiDependenciesInstalled apis.ConditionType = "ApiDependenciesInstalled"
	ApiInstallerSetAvailable apis.ConditionType = "ApiInstallSetAvailable"
	// UI
	UiInstallerSetAvailable apis.ConditionType = "UiInstallSetAvailable"
)
View Source
const (
	CrdInstalled         apis.ConditionType = "CrdsInstalled"
	ClustersScoped       apis.ConditionType = "ClusterScopedResourcesInstalled"
	NamespaceScoped      apis.ConditionType = "NamespaceScopedResourcesInstalled"
	DeploymentsAvailable apis.ConditionType = "DeploymentsAvailable"
	WebhookReady         apis.ConditionType = "WebhooksReady"
	ControllerReady      apis.ConditionType = "ControllersReady"
	AllDeploymentsReady  apis.ConditionType = "AllDeploymentsReady"
)
View Source
const (
	PreReconciler         apis.ConditionType = "PreReconciler"
	InstallerSetAvailable apis.ConditionType = "InstallerSetAvailable"
	InstallerSetReady     apis.ConditionType = "InstallerSetReady"
	PostReconciler        apis.ConditionType = "PostReconciler"
)
View Source
const (
	DependenciesInstalled apis.ConditionType = "DependenciesInstalled"
)
View Source
const (
	// InstallSucceeded is a Condition indiciating that the installation of the component
	// itself has been successful.
	InstallSucceeded apis.ConditionType = "InstallSucceeded"
)

Variables

View Source
var (
	// RECONCILE_AGAIN_ERR
	// When we updates spec or status we reconcile again and then proceed so
	// that we proceed ahead with updated object
	RECONCILE_AGAIN_ERR = fmt.Errorf("reconcile again and proceed")

	REQUEUE_EVENT_AFTER = controller.NewRequeueAfter(RequeueDelay)

	// DEPENDENCY_UPGRADE_PENDING_ERR
	// When a reconciler cannot proceed due to an upgrade in progress of a dependency
	DEPENDENCY_UPGRADE_PENDING_ERR = fmt.Errorf("dependency upgrade pending")

	// VERSION_ENV_NOT_SET_ERR Error when VERSION environment variable is not set
	VERSION_ENV_NOT_SET_ERR = fmt.Errorf("version environment variable %s is not set or empty", VersionEnvKey)
)
View Source
var (

	// Profiles
	Profiles = []string{
		ProfileLite,
		ProfileBasic,
		ProfileAll,
	}

	PruningResource = []string{
		"taskrun",
		"pipelinerun",
	}

	AddonParams = map[string]ParamValue{
		ClusterTasksParam:      defaultParamValue,
		PipelineTemplatesParam: defaultParamValue,
		CommunityClusterTasks:  defaultParamValue,
	}

	HubParams = map[string]ParamValue{
		EnableDevconsoleIntegrationParam: defaultParamValue,
	}
)
View Source
var (
	ConfigResourceName           = "config"
	PipelineResourceName         = "pipeline"
	OperandTektoncdPipeline      = "tektoncd-pipelines"
	TriggerResourceName          = "trigger"
	OperandTektoncdTriggers      = "tektoncd-triggers"
	DashboardResourceName        = "dashboard"
	OperandTektoncdDashboard     = "tektoncd-dashboard"
	AddonResourceName            = "addon"
	ResultResourceName           = "result"
	OperandTektoncdResults       = "tektoncd-results"
	HubResourceName              = "hub"
	OperandTektoncdHub           = "tektoncd-hub"
	ChainResourceName            = "chain"
	OperandTektoncdChains        = "tektoncd-chains"
	OpenShiftPipelinesAsCodeName = "pipelines-as-code"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: SchemaVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme adds the API's types to the Scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// DefaultOpenshiftSA is the default service account for openshift
	DefaultOpenshiftSA = "pipeline"
)

Functions

func IsOpenShiftPlatform added in v0.63.0

func IsOpenShiftPlatform() bool

func ParseParams

func ParseParams(params []Param) map[string]string

ParseParams returns the params array as map

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Addon

type Addon struct {
	// Params is the list of params passed for Addon customization
	// +optional
	Params []Param `json:"params,omitempty"`
	// Deprecated, will be removed in further release
	// EnablePAC field defines whether to install PAC
	// +optional
	EnablePAC *bool `json:"enablePipelinesAsCode,omitempty"`
}

Addon defines the field to customize Addon component

func (*Addon) DeepCopy

func (in *Addon) DeepCopy() *Addon

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

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

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

func (Addon) IsEmpty

func (a Addon) IsEmpty() bool

type ApiSpec added in v0.55.0

type ApiSpec struct {
	// Deprecated, will be removed in further release
	HubConfigUrl           string `json:"hubConfigUrl,omitempty"`
	ApiSecretName          string `json:"secret,omitempty"`
	RouteHostUrl           string `json:"routeHostUrl,omitempty"`
	CatalogRefreshInterval string `json:"catalogRefreshInterval,omitempty"`
}

func (*ApiSpec) DeepCopy added in v0.55.0

func (in *ApiSpec) DeepCopy() *ApiSpec

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

func (*ApiSpec) DeepCopyInto added in v0.55.0

func (in *ApiSpec) DeepCopyInto(out *ApiSpec)

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

type Catalog added in v0.63.0

type Catalog struct {
	Name       string `json:"name,omitempty"`
	Org        string `json:"org,omitempty"`
	Type       string `json:"type,omitempty"`
	URL        string `json:"url,omitempty"`
	SshUrl     string `json:"sshUrl,omitempty"`
	ContextDir string `json:"contextDir,omitempty"`
	Revision   string `json:"revision,omitempty"`
	Provider   string `json:"provider,omitempty"`
}

func (*Catalog) DeepCopy added in v0.63.0

func (in *Catalog) DeepCopy() *Catalog

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

func (*Catalog) DeepCopyInto added in v0.63.0

func (in *Catalog) DeepCopyInto(out *Catalog)

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

type Category added in v0.63.0

type Category struct {
	Name string `json:"name,omitempty"`
}

func (*Category) DeepCopy added in v0.63.0

func (in *Category) DeepCopy() *Category

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

func (*Category) DeepCopyInto added in v0.63.0

func (in *Category) DeepCopyInto(out *Category)

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

type Chain added in v0.61.0

type Chain struct {
	// taskrun artifacts config
	ArtifactsTaskRunFormat  string `json:"artifacts.taskrun.format,omitempty"`
	ArtifactsTaskRunStorage string `json:"artifacts.taskrun.storage,omitempty"`
	ArtifactsTaskRunSigner  string `json:"artifacts.taskrun.signer,omitempty"`

	// oci artifacts config
	ArtifactsOCIFormat  string `json:"artifacts.oci.format,omitempty"`
	ArtifactsOCIStorage string `json:"artifacts.oci.storage,omitempty"`
	ArtifactsOCISigner  string `json:"artifacts.oci.signer,omitempty"`

	// storage configs
	StorageGCSBucket             string `json:"storage.gcs.bucket,omitempty"`
	StorageOCIRepository         string `json:"storage.oci.repository,omitempty"`
	StorageOCIRepositoryInsecure *bool  `json:"storage.oci.repository.insecure,omitempty"`
	StorageDocDBURL              string `json:"storage.docdb.url,omitempty"`
	StorageGrafeasProjectID      string `json:"storage.grafeas.projectid,omitempty"`
	StorageGrafeasNoteID         string `json:"storage.grafeas.noteid,omitempty"`

	// builder config
	BuilderID string `json:"builder.id,omitempty"`

	// x509 signer config
	X509SignerFulcioEnabled    *bool  `json:"signers.x509.fulcio.enabled,omitempty"`
	X509SignerFulcioAddr       string `json:"signers.x509.fulcio.address,omitempty"`
	X509SignerFulcioOIDCIssuer string `json:"signers.x509.fulcio.issuer,omitempty"`
	X509SignerFulcioProvider   string `json:"signers.x509.fulcio.provider,omitempty"`

	// kms signer config
	KMSRef               string `json:"signers.kms.kmsref,omitempty"`
	KMSAuthAddress       string `json:"signers.kms.auth.address,omitempty"`
	KMSAuthToken         string `json:"signers.kms.auth.token,omitempty"`
	KMSAuthOIDCPath      string `json:"signers.kms.auth.oidc.path,omitempty"`
	KMSAuthOIDCRole      string `json:"signers.kms.auth.oidc.role,omitempty"`
	KMSAuthSpireSock     string `json:"signers.kms.auth.spire.sock,omitempty"`
	KMSAuthSpireAudience string `json:"signers.kms.auth.spire.audience,omitempty"`

	// transparency config
	TransparencyConfigEnabled *bool  `json:"transparency.enabled,omitempty"`
	TransparencyConfigURL     string `json:"transparency.url,omitempty"`
}

Chain defines the field to provide chain configuration

func (*Chain) DeepCopy added in v0.61.0

func (in *Chain) DeepCopy() *Chain

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

func (*Chain) DeepCopyInto added in v0.61.0

func (in *Chain) DeepCopyInto(out *Chain)

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

type CommonSpec

type CommonSpec struct {
	// TargetNamespace is where resources will be installed
	// +optional
	TargetNamespace string `json:"targetNamespace,omitempty"`
}

CommonSpec unifies common fields and functions on the Spec.

func (*CommonSpec) DeepCopy

func (in *CommonSpec) DeepCopy() *CommonSpec

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

func (*CommonSpec) DeepCopyInto

func (in *CommonSpec) DeepCopyInto(out *CommonSpec)

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

func (*CommonSpec) GetTargetNamespace

func (c *CommonSpec) GetTargetNamespace() string

GetTargetNamespace implements KComponentSpec.

type Config

type Config struct {
	NodeSelector map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations  []corev1.Toleration `json:"tolerations,omitempty"`
	// PriorityClassName holds the priority class to be set to pod template
	// +optional
	PriorityClassName string `json:"priorityClassName,omitempty"`
}

func (*Config) DeepCopy

func (in *Config) DeepCopy() *Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

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

type Dashboard added in v0.50.0

type Dashboard struct {
	DashboardProperties `json:",inline"`
}

Dashboard degines the fields to customize the Dashboard component

func (*Dashboard) DeepCopy added in v0.50.0

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto added in v0.50.0

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

type DashboardProperties added in v0.50.0

type DashboardProperties struct {
	// Readonly when set to true configures the Tekton dashboard in read-only mode
	Readonly bool `json:"readonly"`
	// +optional
	ExternalLogs string `json:"external-logs,omitempty"`
}

Dashboard degines the fields to customize the Dashboard component

func (*DashboardProperties) DeepCopy added in v0.50.0

func (in *DashboardProperties) DeepCopy() *DashboardProperties

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

func (*DashboardProperties) DeepCopyInto added in v0.50.0

func (in *DashboardProperties) DeepCopyInto(out *DashboardProperties)

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

type DbSpec added in v0.55.0

type DbSpec struct {
	DbSecretName string `json:"secret,omitempty"`
}

func (*DbSpec) DeepCopy added in v0.55.0

func (in *DbSpec) DeepCopy() *DbSpec

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

func (*DbSpec) DeepCopyInto added in v0.55.0

func (in *DbSpec) DeepCopyInto(out *DbSpec)

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

type Default added in v0.63.0

type Default struct {
	Scopes []string `json:"scopes,omitempty"`
}

func (*Default) DeepCopy added in v0.63.0

func (in *Default) DeepCopy() *Default

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

func (*Default) DeepCopyInto added in v0.63.0

func (in *Default) DeepCopyInto(out *Default)

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

type Hub added in v0.55.0

type Hub struct {
	// Params is the list of params passed for Hub customization
	// +optional
	Params []Param `json:"params,omitempty"`
}

Hub defines the field to customize Hub component

func (*Hub) DeepCopy added in v0.55.0

func (in *Hub) DeepCopy() *Hub

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

func (*Hub) DeepCopyInto added in v0.55.0

func (in *Hub) DeepCopyInto(out *Hub)

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

func (Hub) IsEmpty added in v0.55.0

func (h Hub) IsEmpty() bool

type OpenShift added in v0.63.0

type OpenShift struct {
	// PipelinesAsCode allows configuring PipelinesAsCode configurations
	// +optional
	PipelinesAsCode *PipelinesAsCode `json:"pipelinesAsCode,omitempty"`
}

func (*OpenShift) DeepCopy added in v0.63.0

func (in *OpenShift) DeepCopy() *OpenShift

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

func (*OpenShift) DeepCopyInto added in v0.63.0

func (in *OpenShift) DeepCopyInto(out *OpenShift)

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

type OpenShiftPipelinesAsCode added in v0.63.0

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

	Spec   OpenShiftPipelinesAsCodeSpec   `json:"spec,omitempty"`
	Status OpenShiftPipelinesAsCodeStatus `json:"status,omitempty"`
}

OpenShiftPipelinesAsCode is the Schema for the OpenShiftPipelinesAsCode API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*OpenShiftPipelinesAsCode) DeepCopy added in v0.63.0

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

func (*OpenShiftPipelinesAsCode) DeepCopyInto added in v0.63.0

func (in *OpenShiftPipelinesAsCode) DeepCopyInto(out *OpenShiftPipelinesAsCode)

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

func (*OpenShiftPipelinesAsCode) DeepCopyObject added in v0.63.0

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

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

func (*OpenShiftPipelinesAsCode) GetGroupVersionKind added in v0.63.0

func (pac *OpenShiftPipelinesAsCode) GetGroupVersionKind() schema.GroupVersionKind

func (*OpenShiftPipelinesAsCode) GetSpec added in v0.63.0

GetSpec implements TektonComponent

func (*OpenShiftPipelinesAsCode) GetStatus added in v0.63.0

GetStatus implements TektonComponent

func (*OpenShiftPipelinesAsCode) GroupVersionKind added in v0.63.0

func (pac *OpenShiftPipelinesAsCode) GroupVersionKind() schema.GroupVersionKind

func (*OpenShiftPipelinesAsCode) SetDefaults added in v0.63.0

func (pac *OpenShiftPipelinesAsCode) SetDefaults(ctx context.Context)

func (*OpenShiftPipelinesAsCode) Validate added in v0.63.0

func (pac *OpenShiftPipelinesAsCode) Validate(ctx context.Context) (errs *apis.FieldError)

type OpenShiftPipelinesAsCodeList added in v0.63.0

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

OpenShiftPipelinesAsCodeList contains a list of OpenShiftPipelinesAsCode +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*OpenShiftPipelinesAsCodeList) DeepCopy added in v0.63.0

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

func (*OpenShiftPipelinesAsCodeList) DeepCopyInto added in v0.63.0

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

func (*OpenShiftPipelinesAsCodeList) DeepCopyObject added in v0.63.0

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

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

type OpenShiftPipelinesAsCodeSpec added in v0.63.0

type OpenShiftPipelinesAsCodeSpec struct {
	CommonSpec  `json:",inline"`
	Config      Config `json:"config,omitempty"`
	PACSettings `json:",inline"`
}

OpenShiftPipelinesAsCodeSpec defines the desired state of OpenShiftPipelinesAsCode

func (*OpenShiftPipelinesAsCodeSpec) DeepCopy added in v0.63.0

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

func (*OpenShiftPipelinesAsCodeSpec) DeepCopyInto added in v0.63.0

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

type OpenShiftPipelinesAsCodeStatus added in v0.63.0

type OpenShiftPipelinesAsCodeStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`
}

OpenShiftPipelinesAsCodeStatus defines the observed state of OpenShiftPipelinesAsCode

func (*OpenShiftPipelinesAsCodeStatus) DeepCopy added in v0.63.0

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

func (*OpenShiftPipelinesAsCodeStatus) DeepCopyInto added in v0.63.0

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

func (*OpenShiftPipelinesAsCodeStatus) GetCondition added in v0.63.0

func (*OpenShiftPipelinesAsCodeStatus) GetVersion added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) GetVersion() string

func (*OpenShiftPipelinesAsCodeStatus) InitializeConditions added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) InitializeConditions()

func (*OpenShiftPipelinesAsCodeStatus) IsReady added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) IsReady() bool

func (*OpenShiftPipelinesAsCodeStatus) MarkDependenciesInstalled added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkDependenciesInstalled()

func (*OpenShiftPipelinesAsCodeStatus) MarkDependencyInstalling added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkDependencyInstalling(msg string)

func (*OpenShiftPipelinesAsCodeStatus) MarkDependencyMissing added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkDependencyMissing(msg string)

func (*OpenShiftPipelinesAsCodeStatus) MarkInstallerSetAvailable added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkInstallerSetAvailable()

func (*OpenShiftPipelinesAsCodeStatus) MarkInstallerSetNotAvailable added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkInstallerSetNotAvailable(msg string)

func (*OpenShiftPipelinesAsCodeStatus) MarkInstallerSetNotReady added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkInstallerSetNotReady(msg string)

func (*OpenShiftPipelinesAsCodeStatus) MarkInstallerSetReady added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkInstallerSetReady()

func (*OpenShiftPipelinesAsCodeStatus) MarkNotReady added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkNotReady(msg string)

func (*OpenShiftPipelinesAsCodeStatus) MarkPostReconcilerComplete added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkPostReconcilerComplete()

func (*OpenShiftPipelinesAsCodeStatus) MarkPostReconcilerFailed added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkPostReconcilerFailed(msg string)

func (*OpenShiftPipelinesAsCodeStatus) MarkPreReconcilerComplete added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkPreReconcilerComplete()

func (*OpenShiftPipelinesAsCodeStatus) MarkPreReconcilerFailed added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) MarkPreReconcilerFailed(msg string)

func (*OpenShiftPipelinesAsCodeStatus) SetVersion added in v0.63.0

func (pac *OpenShiftPipelinesAsCodeStatus) SetVersion(version string)

type OptionalPipelineProperties

type OptionalPipelineProperties struct {
	DefaultTimeoutMinutes               *uint  `json:"default-timeout-minutes,omitempty"`
	DefaultServiceAccount               string `json:"default-service-account,omitempty"`
	DefaultManagedByLabelValue          string `json:"default-managed-by-label-value,omitempty"`
	DefaultPodTemplate                  string `json:"default-pod-template,omitempty"`
	DefaultCloudEventsSink              string `json:"default-cloud-events-sink,omitempty"`
	DefaultAffinityAssistantPodTemplate string `json:"default-affinity-assistant-pod-template,omitempty"`
	DefaultTaskRunWorkspaceBinding      string `json:"default-task-run-workspace-binding,omitempty"`
	DefaultMaxMatrixCombinationsCount   string `json:"default-max-matrix-combinations-count,omitempty"`
}

OptionalPipelineProperties defines the fields which are to be defined for pipelines only if user pass them

func (*OptionalPipelineProperties) DeepCopy

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

func (*OptionalPipelineProperties) DeepCopyInto

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

type OptionalTriggersProperties added in v0.50.0

type OptionalTriggersProperties struct {
	DefaultServiceAccount string `json:"default-service-account,omitempty"`
}

OptionalTriggersProperties defines the fields which are to be defined for triggers only if user pass them

func (*OptionalTriggersProperties) DeepCopy added in v0.50.0

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

func (*OptionalTriggersProperties) DeepCopyInto added in v0.50.0

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

type PACSettings added in v0.63.0

type PACSettings struct {
	Settings map[string]string `json:"settings,omitempty"`
}

func (*PACSettings) DeepCopy added in v0.63.0

func (in *PACSettings) DeepCopy() *PACSettings

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

func (*PACSettings) DeepCopyInto added in v0.63.0

func (in *PACSettings) DeepCopyInto(out *PACSettings)

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

type Param

type Param struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

Param declares an string value to use for the parameter called name.

func (*Param) DeepCopy

func (in *Param) DeepCopy() *Param

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

func (*Param) DeepCopyInto

func (in *Param) DeepCopyInto(out *Param)

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

type ParamValue

type ParamValue struct {
	Default  string
	Possible []string
}

ParamValue defines a default value and possible values for a param

func (*ParamValue) DeepCopy

func (in *ParamValue) DeepCopy() *ParamValue

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

func (*ParamValue) DeepCopyInto

func (in *ParamValue) DeepCopyInto(out *ParamValue)

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

type Pipeline

type Pipeline struct {
	PipelineProperties `json:",inline"`
	// The params to customize different components of Pipelines
	// +optional
	Params []Param `json:"params,omitempty"`
}

Pipeline defines the field to customize Pipeline component

func (*Pipeline) DeepCopy

func (in *Pipeline) DeepCopy() *Pipeline

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

func (*Pipeline) DeepCopyInto

func (in *Pipeline) DeepCopyInto(out *Pipeline)

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

type PipelineMetricsProperties added in v0.50.0

type PipelineMetricsProperties struct {
	MetricsTaskrunLevel            string `json:"metrics.taskrun.level,omitempty"`
	MetricsTaskrunDurationType     string `json:"metrics.taskrun.duration-type,omitempty"`
	MetricsPipelinerunLevel        string `json:"metrics.pipelinerun.level,omitempty"`
	MetricsPipelinerunDurationType string `json:"metrics.pipelinerun.duration-type,omitempty"`
}

PipelineMetricsProperties defines the fields which are configurable for metrics

func (*PipelineMetricsProperties) DeepCopy added in v0.50.0

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

func (*PipelineMetricsProperties) DeepCopyInto added in v0.50.0

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

type PipelineProperties

type PipelineProperties struct {
	DisableAffinityAssistant                 *bool  `json:"disable-affinity-assistant,omitempty"`
	DisableCredsInit                         *bool  `json:"disable-creds-init,omitempty"`
	AwaitSidecarReadiness                    *bool  `json:"await-sidecar-readiness,omitempty"`
	RunningInEnvironmentWithInjectedSidecars *bool  `json:"running-in-environment-with-injected-sidecars,omitempty"`
	RequireGitSshSecretKnownHosts            *bool  `json:"require-git-ssh-secret-known-hosts,omitempty"`
	EnableTektonOciBundles                   *bool  `json:"enable-tekton-oci-bundles,omitempty"`
	EnableCustomTasks                        *bool  `json:"enable-custom-tasks,omitempty"`
	EnableApiFields                          string `json:"enable-api-fields,omitempty"`
	EmbeddedStatus                           string `json:"embedded-status,omitempty"`
	SendCloudEventsForRuns                   *bool  `json:"send-cloudevents-for-runs,omitempty"`
	VerificationMode                         string `json:"verification-mode,omitempty"`
	EnableProvenanceInStatus                 *bool  `json:"enable-provenance-in-status,omitempty"`

	// ScopeWhenExpressionsToTask Deprecated: remove in next release
	ScopeWhenExpressionsToTask *bool `json:"scope-when-expressions-to-task,omitempty"`
	PipelineMetricsProperties  `json:",inline"`
	// +optional
	OptionalPipelineProperties `json:",inline"`
	// +optional
	Resolvers `json:",inline"`
}

PipelineProperties defines customizable flags for Pipeline Component.

func (*PipelineProperties) DeepCopy

func (in *PipelineProperties) DeepCopy() *PipelineProperties

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

func (*PipelineProperties) DeepCopyInto

func (in *PipelineProperties) DeepCopyInto(out *PipelineProperties)

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

type PipelinesAsCode added in v0.63.0

type PipelinesAsCode struct {
	// Enable or disable pipelines as code by changing this bool
	// +optional
	Enable *bool `json:"enable,omitempty"`
	// PACSettings allows user to configure PAC configurations
	// +optional
	PACSettings `json:",inline"`
}

func (*PipelinesAsCode) DeepCopy added in v0.63.0

func (in *PipelinesAsCode) DeepCopy() *PipelinesAsCode

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

func (*PipelinesAsCode) DeepCopyInto added in v0.63.0

func (in *PipelinesAsCode) DeepCopyInto(out *PipelinesAsCode)

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

type Platforms added in v0.63.0

type Platforms struct {
	// OpenShift allows configuring openshift specific components and configurations
	// +optional
	OpenShift OpenShift `json:"openshift,omitempty"`
}

func (*Platforms) DeepCopy added in v0.63.0

func (in *Platforms) DeepCopy() *Platforms

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

func (*Platforms) DeepCopyInto added in v0.63.0

func (in *Platforms) DeepCopyInto(out *Platforms)

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

type Prune

type Prune struct {
	// The resources which need to be pruned
	Resources []string `json:"resources,omitempty"`
	// The number of resource to keep
	// You dont want to delete all the pipelinerun/taskrun's by a cron
	// +optional
	Keep *uint `json:"keep,omitempty"`
	// KeepSince keeps the resources younger than the specified value
	// Its value is taken in minutes
	// +optional
	KeepSince *uint `json:"keep-since,omitempty"`
	// How frequent pruning should happen
	Schedule string `json:"schedule,omitempty"`
}

Prune defines the pruner

func (*Prune) DeepCopy

func (in *Prune) DeepCopy() *Prune

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

func (*Prune) DeepCopyInto

func (in *Prune) DeepCopyInto(out *Prune)

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

func (Prune) IsEmpty

func (p Prune) IsEmpty() bool

type Resolvers added in v0.63.0

type Resolvers struct {
	EnableBundlesResolver *bool `json:"enable-bundles-resolver,omitempty"`
	EnableHubResolver     *bool `json:"enable-hub-resolver,omitempty"`
	EnableGitResolver     *bool `json:"enable-git-resolver,omitempty"`
	EnableClusterResolver *bool `json:"enable-cluster-resolver,omitempty"`
	ResolversConfig       `json:",inline"`
}

Resolvers defines the fields to configure resolvers

func (*Resolvers) DeepCopy added in v0.63.0

func (in *Resolvers) DeepCopy() *Resolvers

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

func (*Resolvers) DeepCopyInto added in v0.63.0

func (in *Resolvers) DeepCopyInto(out *Resolvers)

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

type ResolversConfig added in v0.63.0

type ResolversConfig struct {
	BundlesResolverConfig map[string]string `json:"bundles-resolver-config,omitempty"`
	HubResolverConfig     map[string]string `json:"hub-resolver-config,omitempty"`
	GitResolverConfig     map[string]string `json:"git-resolver-config,omitempty"`
	ClusterResolverConfig map[string]string `json:"cluster-resolver-config,omitempty"`
}

ResolversConfig defines the fields to configure each of the resolver

func (*ResolversConfig) DeepCopy added in v0.63.0

func (in *ResolversConfig) DeepCopy() *ResolversConfig

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

func (*ResolversConfig) DeepCopyInto added in v0.63.0

func (in *ResolversConfig) DeepCopyInto(out *ResolversConfig)

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

type Scope added in v0.63.0

type Scope struct {
	Name  string   `json:"name,omitempty"`
	Users []string `json:"users,omitempty"`
}

func (*Scope) DeepCopy added in v0.63.0

func (in *Scope) DeepCopy() *Scope

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

func (*Scope) DeepCopyInto added in v0.63.0

func (in *Scope) DeepCopyInto(out *Scope)

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

type TektonAddon

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

	Spec   TektonAddonSpec   `json:"spec,omitempty"`
	Status TektonAddonStatus `json:"status,omitempty"`
}

TektonAddon is the Schema for the tektonaddons API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonAddon) DeepCopy

func (in *TektonAddon) DeepCopy() *TektonAddon

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

func (*TektonAddon) DeepCopyInto

func (in *TektonAddon) DeepCopyInto(out *TektonAddon)

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

func (*TektonAddon) DeepCopyObject

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

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

func (*TektonAddon) GetGroupVersionKind added in v0.50.0

func (tp *TektonAddon) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonAddon) GetSpec

func (tp *TektonAddon) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonAddon) GetStatus

func (tp *TektonAddon) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonAddon) GroupVersionKind

func (tp *TektonAddon) GroupVersionKind() schema.GroupVersionKind

func (*TektonAddon) SetDefaults

func (ta *TektonAddon) SetDefaults(ctx context.Context)

func (*TektonAddon) Validate

func (ta *TektonAddon) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonAddonList

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

TektonAddonsList contains a list of TektonAddon +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonAddonList) DeepCopy

func (in *TektonAddonList) DeepCopy() *TektonAddonList

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

func (*TektonAddonList) DeepCopyInto

func (in *TektonAddonList) DeepCopyInto(out *TektonAddonList)

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

func (*TektonAddonList) DeepCopyObject

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

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

type TektonAddonSpec

type TektonAddonSpec struct {
	CommonSpec `json:",inline"`
	Addon      `json:",inline"`
	// Config holds the configuration for resources created by Addon
	// +optional
	Config Config `json:"config,omitempty"`
}

TektonAddonSpec defines the desired state of TektonAddon

func (*TektonAddonSpec) DeepCopy

func (in *TektonAddonSpec) DeepCopy() *TektonAddonSpec

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

func (*TektonAddonSpec) DeepCopyInto

func (in *TektonAddonSpec) DeepCopyInto(out *TektonAddonSpec)

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

type TektonAddonStatus

type TektonAddonStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// TektonInstallerSet created to install addons
	// +optional
	AddonsInstallerSet map[string]string `json:"installerSets,omitempty"`
}

TektonAddonStatus defines the observed state of TektonAddon

func (*TektonAddonStatus) DeepCopy

func (in *TektonAddonStatus) DeepCopy() *TektonAddonStatus

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

func (*TektonAddonStatus) DeepCopyInto

func (in *TektonAddonStatus) DeepCopyInto(out *TektonAddonStatus)

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

func (*TektonAddonStatus) GetCondition

func (tas *TektonAddonStatus) GetCondition(t apis.ConditionType) *apis.Condition

func (*TektonAddonStatus) GetVersion

func (tas *TektonAddonStatus) GetVersion() string

func (*TektonAddonStatus) InitializeConditions

func (tas *TektonAddonStatus) InitializeConditions()

func (*TektonAddonStatus) IsReady

func (tas *TektonAddonStatus) IsReady() bool

func (*TektonAddonStatus) MarkDependenciesInstalled

func (tas *TektonAddonStatus) MarkDependenciesInstalled()

func (*TektonAddonStatus) MarkDependencyInstalling

func (tas *TektonAddonStatus) MarkDependencyInstalling(msg string)

func (*TektonAddonStatus) MarkDependencyMissing

func (tas *TektonAddonStatus) MarkDependencyMissing(msg string)

func (*TektonAddonStatus) MarkInstallerSetAvailable added in v0.63.0

func (in *TektonAddonStatus) MarkInstallerSetAvailable()

func (*TektonAddonStatus) MarkInstallerSetNotReady added in v0.50.0

func (tas *TektonAddonStatus) MarkInstallerSetNotReady(msg string)

func (*TektonAddonStatus) MarkInstallerSetReady added in v0.50.0

func (tas *TektonAddonStatus) MarkInstallerSetReady()

func (*TektonAddonStatus) MarkNotReady added in v0.50.0

func (tas *TektonAddonStatus) MarkNotReady(msg string)

func (*TektonAddonStatus) MarkPostReconcilerComplete added in v0.50.0

func (tas *TektonAddonStatus) MarkPostReconcilerComplete()

func (*TektonAddonStatus) MarkPostReconcilerFailed added in v0.50.0

func (tas *TektonAddonStatus) MarkPostReconcilerFailed(msg string)

func (*TektonAddonStatus) MarkPreReconcilerComplete added in v0.50.0

func (tas *TektonAddonStatus) MarkPreReconcilerComplete()

func (*TektonAddonStatus) MarkPreReconcilerFailed added in v0.50.0

func (tas *TektonAddonStatus) MarkPreReconcilerFailed(msg string)

func (*TektonAddonStatus) SetVersion

func (tas *TektonAddonStatus) SetVersion(version string)

type TektonChain added in v0.55.0

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

	Spec   TektonChainSpec   `json:"spec,omitempty"`
	Status TektonChainStatus `json:"status,omitempty"`
}

TektonChain is the Schema for the tektonchain API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonChain) DeepCopy added in v0.55.0

func (in *TektonChain) DeepCopy() *TektonChain

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

func (*TektonChain) DeepCopyInto added in v0.55.0

func (in *TektonChain) DeepCopyInto(out *TektonChain)

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

func (*TektonChain) DeepCopyObject added in v0.55.0

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

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

func (*TektonChain) GetGroupVersionKind added in v0.55.0

func (tc *TektonChain) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonChain) GetSpec added in v0.55.0

func (tc *TektonChain) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonChain) GetStatus added in v0.55.0

func (tc *TektonChain) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonChain) GroupVersionKind added in v0.55.0

func (tc *TektonChain) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonChain

func (*TektonChain) SetDefaults added in v0.55.0

func (tc *TektonChain) SetDefaults(ctx context.Context)

func (*TektonChain) Validate added in v0.55.0

func (tc *TektonChain) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonChainList added in v0.55.0

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

TektonChainList contains a list of TektonChain +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonChainList) DeepCopy added in v0.55.0

func (in *TektonChainList) DeepCopy() *TektonChainList

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

func (*TektonChainList) DeepCopyInto added in v0.55.0

func (in *TektonChainList) DeepCopyInto(out *TektonChainList)

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

func (*TektonChainList) DeepCopyObject added in v0.55.0

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

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

type TektonChainSpec added in v0.55.0

type TektonChainSpec struct {
	CommonSpec `json:",inline"`
	Chain      `json:",inline"`
	// Config holds the configuration for resources created by TektonChain
	// +optional
	Config Config `json:"config,omitempty"`
}

TektonChainSpec defines the desired state of TektonChain

func (*TektonChainSpec) DeepCopy added in v0.55.0

func (in *TektonChainSpec) DeepCopy() *TektonChainSpec

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

func (*TektonChainSpec) DeepCopyInto added in v0.55.0

func (in *TektonChainSpec) DeepCopyInto(out *TektonChainSpec)

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

func (*TektonChainSpec) ValidateChainConfig added in v0.61.0

func (tcs *TektonChainSpec) ValidateChainConfig(path string) (errs *apis.FieldError)

type TektonChainStatus added in v0.55.0

type TektonChainStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The current installer set name for TektonChain
	// +optional
	TektonInstallerSet string `json:"tektonInstallerSet,omitempty"`
}

TektonChainStatus defines the observed state of TektonChain

func (*TektonChainStatus) DeepCopy added in v0.55.0

func (in *TektonChainStatus) DeepCopy() *TektonChainStatus

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

func (*TektonChainStatus) DeepCopyInto added in v0.55.0

func (in *TektonChainStatus) DeepCopyInto(out *TektonChainStatus)

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

func (*TektonChainStatus) GetCondition added in v0.55.0

func (tcs *TektonChainStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonChainStatus) GetTektonInstallerSet added in v0.55.0

func (tcs *TektonChainStatus) GetTektonInstallerSet() string

func (*TektonChainStatus) GetVersion added in v0.55.0

func (tcs *TektonChainStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonChainStatus) InitializeConditions added in v0.55.0

func (tcs *TektonChainStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonChainStatus

func (*TektonChainStatus) IsReady added in v0.55.0

func (tcs *TektonChainStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonChainStatus) MarkDependenciesInstalled added in v0.55.0

func (tcs *TektonChainStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonChainStatus) MarkDependencyInstalling added in v0.55.0

func (tcs *TektonChainStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonChainStatus) MarkDependencyMissing added in v0.55.0

func (tcs *TektonChainStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonChainStatus) MarkInstallerSetAvailable added in v0.55.0

func (tcs *TektonChainStatus) MarkInstallerSetAvailable()

func (*TektonChainStatus) MarkInstallerSetNotAvailable added in v0.55.0

func (tcs *TektonChainStatus) MarkInstallerSetNotAvailable(msg string)

func (*TektonChainStatus) MarkInstallerSetNotReady added in v0.55.0

func (tcs *TektonChainStatus) MarkInstallerSetNotReady(msg string)

func (*TektonChainStatus) MarkInstallerSetReady added in v0.55.0

func (tcs *TektonChainStatus) MarkInstallerSetReady()

func (*TektonChainStatus) MarkNotReady added in v0.55.0

func (tcs *TektonChainStatus) MarkNotReady(msg string)

func (*TektonChainStatus) MarkPostReconcilerComplete added in v0.55.0

func (tcs *TektonChainStatus) MarkPostReconcilerComplete()

func (*TektonChainStatus) MarkPostReconcilerFailed added in v0.55.0

func (tcs *TektonChainStatus) MarkPostReconcilerFailed(msg string)

func (*TektonChainStatus) MarkPreReconcilerComplete added in v0.55.0

func (tcs *TektonChainStatus) MarkPreReconcilerComplete()

func (*TektonChainStatus) MarkPreReconcilerFailed added in v0.55.0

func (tcs *TektonChainStatus) MarkPreReconcilerFailed(msg string)

func (*TektonChainStatus) SetTektonInstallerSet added in v0.55.0

func (tcs *TektonChainStatus) SetTektonInstallerSet(installerSet string)

func (*TektonChainStatus) SetVersion added in v0.55.0

func (tcs *TektonChainStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type TektonComponent

type TektonComponent interface {
	metav1.Object
	schema.ObjectKind

	// GetSpec returns the common spec for all known types.
	GetSpec() TektonComponentSpec
	// GetStatus returns the common status of all known types.
	GetStatus() TektonComponentStatus
}

TektonComponent is a common interface for accessing meta, spec and status of all known types.

type TektonComponentSpec

type TektonComponentSpec interface {
	// GetTargetNamespace gets the version to be installed
	GetTargetNamespace() string
}

TektonComponentSpec is a common interface for accessing the common spec of all known types.

type TektonComponentStatus

type TektonComponentStatus interface {
	MarkNotReady(string)
	MarkInstallerSetReady()

	MarkInstallerSetNotReady(string)
	MarkInstallerSetAvailable()

	MarkPreReconcilerFailed(string)
	MarkPostReconcilerFailed(string)

	// GetVersion gets the currently installed version of the component.
	GetVersion() string
	// SetVersion sets the currently installed version of the component.
	SetVersion(version string)
	// IsReady return true if all conditions are satisfied
	IsReady() bool
	// ConditionAccessor Implement to interact with a condition
	apis.ConditionAccessor
}

TektonComponentStatus is a common interface for status mutations of all known types.

type TektonConfig

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

	Spec   TektonConfigSpec   `json:"spec,omitempty"`
	Status TektonConfigStatus `json:"status,omitempty"`
}

TektonConfig is the Schema for the TektonConfigs API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonConfig) DeepCopy

func (in *TektonConfig) DeepCopy() *TektonConfig

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

func (*TektonConfig) DeepCopyInto

func (in *TektonConfig) DeepCopyInto(out *TektonConfig)

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

func (*TektonConfig) DeepCopyObject

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

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

func (*TektonConfig) GetGroupVersionKind added in v0.50.0

func (tc *TektonConfig) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonConfig) GetSpec

func (tp *TektonConfig) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonConfig) GetStatus

func (tp *TektonConfig) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonConfig) GroupVersionKind

func (tc *TektonConfig) GroupVersionKind() schema.GroupVersionKind

func (*TektonConfig) SetDefaults

func (tc *TektonConfig) SetDefaults(ctx context.Context)

func (*TektonConfig) Validate

func (tc *TektonConfig) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonConfigList

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

TektonConfigList contains a list of TektonConfig +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonConfigList) DeepCopy

func (in *TektonConfigList) DeepCopy() *TektonConfigList

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

func (*TektonConfigList) DeepCopyInto

func (in *TektonConfigList) DeepCopyInto(out *TektonConfigList)

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

func (*TektonConfigList) DeepCopyObject

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

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

type TektonConfigSpec

type TektonConfigSpec struct {
	Profile string `json:"profile,omitempty"`
	// Config holds the configuration for resources created by TektonConfig
	// +optional
	Config Config `json:"config,omitempty"`
	// Pruner holds the prune config
	// +optional
	Pruner     Prune `json:"pruner,omitempty"`
	CommonSpec `json:",inline"`
	// Addon holds the addons config
	// +optional
	Addon Addon `json:"addon,omitempty"`
	// Hub holds the hub config
	// +optional
	Hub Hub `json:"hub,omitempty"`
	// Pipeline holds the customizable option for pipeline component
	// +optional
	Pipeline Pipeline `json:"pipeline,omitempty"`
	// Trigger holds the customizable option for triggers component
	// +optional
	Trigger Trigger `json:"trigger,omitempty"`
	// Dashboard holds the customizable options for dashboards component
	// +optional
	Dashboard Dashboard `json:"dashboard,omitempty"`
	// Params is the list of params passed for all platforms
	// +optional
	Params []Param `json:"params,omitempty"`
	// Platforms allows configuring platform specific configurations
	// +optional
	Platforms Platforms `json:"platforms,omitempty"`
}

TektonConfigSpec defines the desired state of TektonConfig

func (*TektonConfigSpec) DeepCopy

func (in *TektonConfigSpec) DeepCopy() *TektonConfigSpec

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

func (*TektonConfigSpec) DeepCopyInto

func (in *TektonConfigSpec) DeepCopyInto(out *TektonConfigSpec)

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

type TektonConfigStatus

type TektonConfigStatus struct {
	duckv1.Status `json:",inline"`

	// The profile installed
	// +optional
	Profile string `json:"profile,omitempty"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The current installer set name
	// +optional
	TektonInstallerSet map[string]string `json:"tektonInstallerSets,omitempty"`
}

TektonConfigStatus defines the observed state of TektonConfig

func (*TektonConfigStatus) DeepCopy

func (in *TektonConfigStatus) DeepCopy() *TektonConfigStatus

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

func (*TektonConfigStatus) DeepCopyInto

func (in *TektonConfigStatus) DeepCopyInto(out *TektonConfigStatus)

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

func (*TektonConfigStatus) GetCondition

func (tcs *TektonConfigStatus) GetCondition(t apis.ConditionType) *apis.Condition

func (*TektonConfigStatus) GetVersion

func (tcs *TektonConfigStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonConfigStatus) InitializeConditions

func (tcs *TektonConfigStatus) InitializeConditions()

func (*TektonConfigStatus) IsReady

func (tcs *TektonConfigStatus) IsReady() bool

func (*TektonConfigStatus) MarkComponentNotReady added in v0.50.0

func (tcs *TektonConfigStatus) MarkComponentNotReady(msg string)

func (*TektonConfigStatus) MarkComponentsReady added in v0.50.0

func (tcs *TektonConfigStatus) MarkComponentsReady()

func (*TektonConfigStatus) MarkInstallerSetAvailable added in v0.63.0

func (in *TektonConfigStatus) MarkInstallerSetAvailable()

func (*TektonConfigStatus) MarkInstallerSetNotReady added in v0.63.0

func (in *TektonConfigStatus) MarkInstallerSetNotReady(s string)

func (*TektonConfigStatus) MarkInstallerSetReady added in v0.63.0

func (in *TektonConfigStatus) MarkInstallerSetReady()

func (*TektonConfigStatus) MarkNotReady added in v0.50.0

func (tcs *TektonConfigStatus) MarkNotReady(msg string)

func (*TektonConfigStatus) MarkPostInstallComplete added in v0.50.0

func (tcs *TektonConfigStatus) MarkPostInstallComplete()

func (*TektonConfigStatus) MarkPostInstallFailed added in v0.50.0

func (tcs *TektonConfigStatus) MarkPostInstallFailed(msg string)

func (*TektonConfigStatus) MarkPostReconcilerFailed added in v0.63.0

func (in *TektonConfigStatus) MarkPostReconcilerFailed(s string)

func (*TektonConfigStatus) MarkPreInstallComplete added in v0.50.0

func (tcs *TektonConfigStatus) MarkPreInstallComplete()

func (*TektonConfigStatus) MarkPreInstallFailed added in v0.50.0

func (tcs *TektonConfigStatus) MarkPreInstallFailed(msg string)

func (*TektonConfigStatus) MarkPreReconcilerFailed added in v0.63.0

func (in *TektonConfigStatus) MarkPreReconcilerFailed(s string)

func (*TektonConfigStatus) SetVersion

func (tcs *TektonConfigStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type TektonDashboard

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

	Spec   TektonDashboardSpec   `json:"spec,omitempty"`
	Status TektonDashboardStatus `json:"status,omitempty"`
}

TektonDashboard is the Schema for the tektondashboards API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonDashboard) DeepCopy

func (in *TektonDashboard) DeepCopy() *TektonDashboard

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

func (*TektonDashboard) DeepCopyInto

func (in *TektonDashboard) DeepCopyInto(out *TektonDashboard)

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

func (*TektonDashboard) DeepCopyObject

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

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

func (*TektonDashboard) GetGroupVersionKind added in v0.53.0

func (td *TektonDashboard) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonDashboard) GetSpec

func (tp *TektonDashboard) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonDashboard) GetStatus

func (tp *TektonDashboard) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonDashboard) GroupVersionKind

func (td *TektonDashboard) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonDashboard

func (*TektonDashboard) SetDefaults

func (td *TektonDashboard) SetDefaults(ctx context.Context)

func (*TektonDashboard) Validate

func (td *TektonDashboard) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonDashboardList

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

TektonDashboardsList contains a list of TektonDashboard +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonDashboardList) DeepCopy

func (in *TektonDashboardList) DeepCopy() *TektonDashboardList

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

func (*TektonDashboardList) DeepCopyInto

func (in *TektonDashboardList) DeepCopyInto(out *TektonDashboardList)

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

func (*TektonDashboardList) DeepCopyObject

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

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

type TektonDashboardSpec

type TektonDashboardSpec struct {
	CommonSpec          `json:",inline"`
	DashboardProperties `json:",inline"`
	// Config holds the configuration for resources created by TektonDashboard
	// +optional
	Config Config `json:"config,omitempty"`
}

TektonDashboardSpec defines the desired state of TektonDashboard

func (*TektonDashboardSpec) DeepCopy

func (in *TektonDashboardSpec) DeepCopy() *TektonDashboardSpec

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

func (*TektonDashboardSpec) DeepCopyInto

func (in *TektonDashboardSpec) DeepCopyInto(out *TektonDashboardSpec)

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

type TektonDashboardStatus

type TektonDashboardStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The current installer set name for TektonDashboard
	// +optional
	TektonInstallerSet string `json:"tektonInstallerSet,omitempty"`
}

TektonDashboardStatus defines the observed state of TektonDashboard

func (*TektonDashboardStatus) DeepCopy

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

func (*TektonDashboardStatus) DeepCopyInto

func (in *TektonDashboardStatus) DeepCopyInto(out *TektonDashboardStatus)

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

func (*TektonDashboardStatus) GetCondition

func (tds *TektonDashboardStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonDashboardStatus) GetTektonInstallerSet added in v0.53.0

func (tds *TektonDashboardStatus) GetTektonInstallerSet() string

func (*TektonDashboardStatus) GetVersion

func (tds *TektonDashboardStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonDashboardStatus) InitializeConditions

func (tds *TektonDashboardStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonDashboardStatus

func (*TektonDashboardStatus) IsReady

func (tds *TektonDashboardStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonDashboardStatus) MarkDependenciesInstalled

func (tds *TektonDashboardStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonDashboardStatus) MarkDependencyInstalling

func (tds *TektonDashboardStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonDashboardStatus) MarkDependencyMissing

func (tds *TektonDashboardStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonDashboardStatus) MarkInstallerSetAvailable added in v0.53.0

func (tds *TektonDashboardStatus) MarkInstallerSetAvailable()

func (*TektonDashboardStatus) MarkInstallerSetNotAvailable added in v0.53.0

func (tds *TektonDashboardStatus) MarkInstallerSetNotAvailable(msg string)

func (*TektonDashboardStatus) MarkInstallerSetNotReady added in v0.53.0

func (tds *TektonDashboardStatus) MarkInstallerSetNotReady(msg string)

func (*TektonDashboardStatus) MarkInstallerSetReady added in v0.53.0

func (tds *TektonDashboardStatus) MarkInstallerSetReady()

func (*TektonDashboardStatus) MarkNotReady added in v0.53.0

func (tds *TektonDashboardStatus) MarkNotReady(msg string)

func (*TektonDashboardStatus) MarkPostReconcilerComplete added in v0.53.0

func (tds *TektonDashboardStatus) MarkPostReconcilerComplete()

func (*TektonDashboardStatus) MarkPostReconcilerFailed added in v0.53.0

func (tds *TektonDashboardStatus) MarkPostReconcilerFailed(msg string)

func (*TektonDashboardStatus) MarkPreReconcilerComplete added in v0.53.0

func (tds *TektonDashboardStatus) MarkPreReconcilerComplete()

func (*TektonDashboardStatus) MarkPreReconcilerFailed added in v0.53.0

func (tds *TektonDashboardStatus) MarkPreReconcilerFailed(msg string)

func (*TektonDashboardStatus) SetTektonInstallerSet added in v0.53.0

func (tds *TektonDashboardStatus) SetTektonInstallerSet(installerSet string)

func (*TektonDashboardStatus) SetVersion

func (tds *TektonDashboardStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type TektonHub added in v0.55.0

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

	Spec   TektonHubSpec   `json:"spec,omitempty"`
	Status TektonHubStatus `json:"status,omitempty"`
}

TektonHub is the Schema for the tektonhub API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonHub) DeepCopy added in v0.55.0

func (in *TektonHub) DeepCopy() *TektonHub

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

func (*TektonHub) DeepCopyInto added in v0.55.0

func (in *TektonHub) DeepCopyInto(out *TektonHub)

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

func (*TektonHub) DeepCopyObject added in v0.55.0

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

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

func (*TektonHub) GetGroupVersionKind added in v0.55.0

func (th *TektonHub) GetGroupVersionKind() schema.GroupVersionKind

required by new type of FilterController might have to keep this and remove previous or vice-versa

func (*TektonHub) GetSpec added in v0.55.0

func (th *TektonHub) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonHub) GetStatus added in v0.55.0

func (th *TektonHub) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonHub) GroupVersionKind added in v0.55.0

func (th *TektonHub) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonHub

func (*TektonHub) SetDefaults added in v0.55.0

func (th *TektonHub) SetDefaults(ctx context.Context)

func (*TektonHub) Validate added in v0.55.0

func (th *TektonHub) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonHubList added in v0.55.0

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

TektonHubList contains a list of TektonHub +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonHubList) DeepCopy added in v0.55.0

func (in *TektonHubList) DeepCopy() *TektonHubList

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

func (*TektonHubList) DeepCopyInto added in v0.55.0

func (in *TektonHubList) DeepCopyInto(out *TektonHubList)

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

func (*TektonHubList) DeepCopyObject added in v0.55.0

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

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

type TektonHubSpec added in v0.55.0

type TektonHubSpec struct {
	CommonSpec `json:",inline"`
	Hub        `json:",inline"`
	Categories []string  `json:"categories,omitempty"`
	Catalogs   []Catalog `json:"catalogs,omitempty"`
	Scopes     []Scope   `json:"scopes,omitempty"`
	Default    Default   `json:"default,omitempty"`
	Db         DbSpec    `json:"db,omitempty"`
	Api        ApiSpec   `json:"api,omitempty"`
}

func (*TektonHubSpec) DeepCopy added in v0.55.0

func (in *TektonHubSpec) DeepCopy() *TektonHubSpec

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

func (*TektonHubSpec) DeepCopyInto added in v0.55.0

func (in *TektonHubSpec) DeepCopyInto(out *TektonHubSpec)

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

type TektonHubStatus added in v0.55.0

type TektonHubStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The url links of the manifests, separated by comma
	// +optional
	Manifests []string `json:"manifests,omitempty"`

	// The URL route for API which needs to be exposed
	// +optional
	ApiRouteUrl string `json:"apiUrl,omitempty"`

	// The URL route for Auth server
	// +optional
	AuthRouteUrl string `json:"authUrl,omitempty"`

	// The URL route for UI which needs to be exposed
	// +optional
	UiRouteUrl string `json:"uiUrl,omitempty"`

	// The current installer set name
	// +optional
	HubInstallerSet map[string]string `json:"hubInstallerSets,omitempty"`
}

TektonHubStatus defines the observed state of TektonHub

func (*TektonHubStatus) DeepCopy added in v0.55.0

func (in *TektonHubStatus) DeepCopy() *TektonHubStatus

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

func (*TektonHubStatus) DeepCopyInto added in v0.55.0

func (in *TektonHubStatus) DeepCopyInto(out *TektonHubStatus)

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

func (*TektonHubStatus) GetApiRoute added in v0.55.0

func (ths *TektonHubStatus) GetApiRoute() string

Get the API route URL

func (*TektonHubStatus) GetAuthRoute added in v0.55.0

func (ths *TektonHubStatus) GetAuthRoute() string

Get the Auth route URL

func (*TektonHubStatus) GetCondition added in v0.55.0

func (ths *TektonHubStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonHubStatus) GetManifests added in v0.55.0

func (ths *TektonHubStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*TektonHubStatus) GetUiRoute added in v0.55.0

func (ths *TektonHubStatus) GetUiRoute() string

GetManifests gets the url links of the manifests.

func (*TektonHubStatus) GetVersion added in v0.55.0

func (ths *TektonHubStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonHubStatus) InitializeConditions added in v0.55.0

func (ths *TektonHubStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonHubStatus

func (*TektonHubStatus) IsReady added in v0.55.0

func (ths *TektonHubStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonHubStatus) MarkApiDependenciesInstalled added in v0.55.0

func (ths *TektonHubStatus) MarkApiDependenciesInstalled()

func (*TektonHubStatus) MarkApiDependencyInstalling added in v0.55.0

func (ths *TektonHubStatus) MarkApiDependencyInstalling(msg string)

Lifecycle for the API component of Tekton Hub

func (*TektonHubStatus) MarkApiDependencyMissing added in v0.55.0

func (ths *TektonHubStatus) MarkApiDependencyMissing(msg string)

func (*TektonHubStatus) MarkApiInstallerSetAvailable added in v0.55.0

func (ths *TektonHubStatus) MarkApiInstallerSetAvailable()

func (*TektonHubStatus) MarkApiInstallerSetNotAvailable added in v0.55.0

func (ths *TektonHubStatus) MarkApiInstallerSetNotAvailable(msg string)

func (*TektonHubStatus) MarkDatabasebMigrationDone added in v0.55.0

func (ths *TektonHubStatus) MarkDatabasebMigrationDone()

func (*TektonHubStatus) MarkDatabasebMigrationFailed added in v0.55.0

func (ths *TektonHubStatus) MarkDatabasebMigrationFailed(msg string)

Lifecycle for the DB migration component of Tekton Hub

func (*TektonHubStatus) MarkDbDependenciesInstalled added in v0.55.0

func (ths *TektonHubStatus) MarkDbDependenciesInstalled()

func (*TektonHubStatus) MarkDbDependencyInstalling added in v0.55.0

func (ths *TektonHubStatus) MarkDbDependencyInstalling(msg string)

Lifecycle for the DB component of Tekton Hub

func (*TektonHubStatus) MarkDbDependencyMissing added in v0.55.0

func (ths *TektonHubStatus) MarkDbDependencyMissing(msg string)

func (*TektonHubStatus) MarkDbInstallerSetAvailable added in v0.55.0

func (ths *TektonHubStatus) MarkDbInstallerSetAvailable()

func (*TektonHubStatus) MarkDbInstallerSetNotAvailable added in v0.55.0

func (ths *TektonHubStatus) MarkDbInstallerSetNotAvailable(msg string)

func (*TektonHubStatus) MarkInstallerSetAvailable added in v0.63.0

func (in *TektonHubStatus) MarkInstallerSetAvailable()

func (*TektonHubStatus) MarkInstallerSetNotReady added in v0.63.0

func (in *TektonHubStatus) MarkInstallerSetNotReady(s string)

func (*TektonHubStatus) MarkInstallerSetReady added in v0.63.0

func (in *TektonHubStatus) MarkInstallerSetReady()

func (*TektonHubStatus) MarkNotReady added in v0.55.0

func (ths *TektonHubStatus) MarkNotReady(msg string)

func (*TektonHubStatus) MarkPostReconcilerComplete added in v0.55.0

func (ths *TektonHubStatus) MarkPostReconcilerComplete()

func (*TektonHubStatus) MarkPostReconcilerFailed added in v0.55.0

func (ths *TektonHubStatus) MarkPostReconcilerFailed(msg string)

func (*TektonHubStatus) MarkPreReconcilerComplete added in v0.55.0

func (ths *TektonHubStatus) MarkPreReconcilerComplete()

func (*TektonHubStatus) MarkPreReconcilerFailed added in v0.55.0

func (ths *TektonHubStatus) MarkPreReconcilerFailed(msg string)

func (*TektonHubStatus) MarkUiInstallerSetAvailable added in v0.55.0

func (ths *TektonHubStatus) MarkUiInstallerSetAvailable()

func (*TektonHubStatus) MarkUiInstallerSetNotAvailable added in v0.55.0

func (ths *TektonHubStatus) MarkUiInstallerSetNotAvailable(msg string)

func (*TektonHubStatus) SetApiRoute added in v0.55.0

func (ths *TektonHubStatus) SetApiRoute(routeUrl string)

Set the API route URL

func (*TektonHubStatus) SetAuthRoute added in v0.55.0

func (ths *TektonHubStatus) SetAuthRoute(routeUrl string)

Set the Auth route URL

func (*TektonHubStatus) SetManifests added in v0.55.0

func (ths *TektonHubStatus) SetManifests(manifests []string)

SetManifests sets the url links of the manifests.

func (*TektonHubStatus) SetUiRoute added in v0.55.0

func (ths *TektonHubStatus) SetUiRoute(routeUrl string)

SetManifests sets the url links of the manifests.

func (*TektonHubStatus) SetVersion added in v0.55.0

func (ths *TektonHubStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type TektonInstallerSet added in v0.50.0

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

	Spec   TektonInstallerSetSpec   `json:"spec,omitempty"`
	Status TektonInstallerSetStatus `json:"status,omitempty"`
}

TektonInstallerSet is the Schema for the TektonInstallerSet API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonInstallerSet) DeepCopy added in v0.50.0

func (in *TektonInstallerSet) DeepCopy() *TektonInstallerSet

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

func (*TektonInstallerSet) DeepCopyInto added in v0.50.0

func (in *TektonInstallerSet) DeepCopyInto(out *TektonInstallerSet)

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

func (*TektonInstallerSet) DeepCopyObject added in v0.50.0

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

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

func (*TektonInstallerSet) GetGroupVersionKind added in v0.50.0

func (tis *TektonInstallerSet) GetGroupVersionKind() schema.GroupVersionKind

type TektonInstallerSetList added in v0.50.0

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

TektonInstallerSetList contains a list of TektonInstallerSet +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonInstallerSetList) DeepCopy added in v0.50.0

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

func (*TektonInstallerSetList) DeepCopyInto added in v0.50.0

func (in *TektonInstallerSetList) DeepCopyInto(out *TektonInstallerSetList)

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

func (*TektonInstallerSetList) DeepCopyObject added in v0.50.0

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

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

type TektonInstallerSetSpec added in v0.50.0

type TektonInstallerSetSpec struct {
	Manifests mf.Slice `json:"manifests,omitempty"`
}

TektonInstallerSetSpec defines the desired state of TektonInstallerSet

func (*TektonInstallerSetSpec) DeepCopy added in v0.50.0

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

func (*TektonInstallerSetSpec) DeepCopyInto added in v0.50.0

func (in *TektonInstallerSetSpec) DeepCopyInto(out *TektonInstallerSetSpec)

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

type TektonInstallerSetStatus added in v0.50.0

type TektonInstallerSetStatus struct {
	duckv1.Status `json:",inline"`
}

TektonInstallerSetStatus defines the observed state of TektonInstallerSet

func (*TektonInstallerSetStatus) DeepCopy added in v0.50.0

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

func (*TektonInstallerSetStatus) DeepCopyInto added in v0.50.0

func (in *TektonInstallerSetStatus) DeepCopyInto(out *TektonInstallerSetStatus)

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

func (*TektonInstallerSetStatus) GetCondition added in v0.50.0

func (*TektonInstallerSetStatus) InitializeConditions added in v0.50.0

func (tis *TektonInstallerSetStatus) InitializeConditions()

func (*TektonInstallerSetStatus) IsReady added in v0.50.0

func (tis *TektonInstallerSetStatus) IsReady() bool

func (*TektonInstallerSetStatus) MarkAllDeploymentsNotReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkAllDeploymentsNotReady(msg string)

func (*TektonInstallerSetStatus) MarkAllDeploymentsReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkAllDeploymentsReady()

func (*TektonInstallerSetStatus) MarkCRDsInstallationFailed added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkCRDsInstallationFailed(msg string)

func (*TektonInstallerSetStatus) MarkCRDsInstalled added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkCRDsInstalled()

func (*TektonInstallerSetStatus) MarkClustersScopedInstallationFailed added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkClustersScopedInstallationFailed(msg string)

func (*TektonInstallerSetStatus) MarkClustersScopedResourcesInstalled added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkClustersScopedResourcesInstalled()

func (*TektonInstallerSetStatus) MarkControllerNotReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkControllerNotReady(msg string)

func (*TektonInstallerSetStatus) MarkControllerReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkControllerReady()

func (*TektonInstallerSetStatus) MarkDeploymentsAvailable added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkDeploymentsAvailable()

func (*TektonInstallerSetStatus) MarkDeploymentsAvailableFailed added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkDeploymentsAvailableFailed(msg string)

func (*TektonInstallerSetStatus) MarkNamespaceScopedInstallationFailed added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkNamespaceScopedInstallationFailed(msg string)

func (*TektonInstallerSetStatus) MarkNamespaceScopedResourcesInstalled added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkNamespaceScopedResourcesInstalled()

func (*TektonInstallerSetStatus) MarkNotReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkNotReady(msg string)

func (*TektonInstallerSetStatus) MarkReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkReady()

func (*TektonInstallerSetStatus) MarkWebhookNotReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkWebhookNotReady(msg string)

func (*TektonInstallerSetStatus) MarkWebhookReady added in v0.50.0

func (tis *TektonInstallerSetStatus) MarkWebhookReady()

type TektonPipeline

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

	Spec   TektonPipelineSpec   `json:"spec,omitempty"`
	Status TektonPipelineStatus `json:"status,omitempty"`
}

TektonPipeline is the Schema for the tektonpipelines API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonPipeline) DeepCopy

func (in *TektonPipeline) DeepCopy() *TektonPipeline

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

func (*TektonPipeline) DeepCopyInto

func (in *TektonPipeline) DeepCopyInto(out *TektonPipeline)

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

func (*TektonPipeline) DeepCopyObject

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

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

func (*TektonPipeline) GetGroupVersionKind added in v0.50.0

func (tp *TektonPipeline) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonPipeline) GetSpec

func (tp *TektonPipeline) GetSpec() TektonComponentSpec

func (*TektonPipeline) GetStatus

func (tp *TektonPipeline) GetStatus() TektonComponentStatus

func (*TektonPipeline) GroupVersionKind

func (tp *TektonPipeline) GroupVersionKind() schema.GroupVersionKind

func (*TektonPipeline) SetDefaults

func (tp *TektonPipeline) SetDefaults(ctx context.Context)

func (*TektonPipeline) Validate

func (tp *TektonPipeline) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonPipelineList

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

TektonPipelineList contains a list of TektonPipeline +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonPipelineList) DeepCopy

func (in *TektonPipelineList) DeepCopy() *TektonPipelineList

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

func (*TektonPipelineList) DeepCopyInto

func (in *TektonPipelineList) DeepCopyInto(out *TektonPipelineList)

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

func (*TektonPipelineList) DeepCopyObject

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

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

type TektonPipelineSpec

type TektonPipelineSpec struct {
	CommonSpec `json:",inline"`
	Pipeline   `json:",inline"`
	// Config holds the configuration for resources created by TektonPipeline
	// +optional
	Config Config `json:"config,omitempty"`
}

TektonPipelineSpec defines the desired state of TektonPipeline

func (*TektonPipelineSpec) DeepCopy

func (in *TektonPipelineSpec) DeepCopy() *TektonPipelineSpec

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

func (*TektonPipelineSpec) DeepCopyInto

func (in *TektonPipelineSpec) DeepCopyInto(out *TektonPipelineSpec)

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

type TektonPipelineStatus

type TektonPipelineStatus struct {
	duckv1.Status `json:",inline"`
	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The current installer set name for TektonPipeline
	// +optional
	TektonInstallerSet string `json:"tektonInstallerSet,omitempty"`

	// The installer sets created for extension components
	// +optional
	ExtentionInstallerSets map[string]string `json:"extTektonInstallerSets,omitempty"`
}

TektonPipelineStatus defines the observed state of TektonPipeline

func (*TektonPipelineStatus) DeepCopy

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

func (*TektonPipelineStatus) DeepCopyInto

func (in *TektonPipelineStatus) DeepCopyInto(out *TektonPipelineStatus)

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

func (*TektonPipelineStatus) GetCondition

func (tps *TektonPipelineStatus) GetCondition(t apis.ConditionType) *apis.Condition

func (*TektonPipelineStatus) GetTektonInstallerSet added in v0.50.0

func (tps *TektonPipelineStatus) GetTektonInstallerSet() string

func (*TektonPipelineStatus) GetVersion

func (tps *TektonPipelineStatus) GetVersion() string

func (*TektonPipelineStatus) InitializeConditions

func (tps *TektonPipelineStatus) InitializeConditions()

func (*TektonPipelineStatus) IsReady

func (tps *TektonPipelineStatus) IsReady() bool

func (*TektonPipelineStatus) MarkInstallerSetAvailable added in v0.50.0

func (tps *TektonPipelineStatus) MarkInstallerSetAvailable()

func (*TektonPipelineStatus) MarkInstallerSetNotAvailable added in v0.50.0

func (tps *TektonPipelineStatus) MarkInstallerSetNotAvailable(msg string)

func (*TektonPipelineStatus) MarkInstallerSetNotReady added in v0.50.0

func (tps *TektonPipelineStatus) MarkInstallerSetNotReady(msg string)

func (*TektonPipelineStatus) MarkInstallerSetReady added in v0.50.0

func (tps *TektonPipelineStatus) MarkInstallerSetReady()

func (*TektonPipelineStatus) MarkNotReady added in v0.50.0

func (tps *TektonPipelineStatus) MarkNotReady(msg string)

func (*TektonPipelineStatus) MarkPostReconcilerComplete added in v0.50.0

func (tps *TektonPipelineStatus) MarkPostReconcilerComplete()

func (*TektonPipelineStatus) MarkPostReconcilerFailed added in v0.50.0

func (tps *TektonPipelineStatus) MarkPostReconcilerFailed(msg string)

func (*TektonPipelineStatus) MarkPreReconcilerComplete added in v0.50.0

func (tps *TektonPipelineStatus) MarkPreReconcilerComplete()

func (*TektonPipelineStatus) MarkPreReconcilerFailed added in v0.50.0

func (tps *TektonPipelineStatus) MarkPreReconcilerFailed(msg string)

func (*TektonPipelineStatus) SetTektonInstallerSet added in v0.50.0

func (tps *TektonPipelineStatus) SetTektonInstallerSet(installerSet string)

func (*TektonPipelineStatus) SetVersion

func (tps *TektonPipelineStatus) SetVersion(version string)

type TektonResult

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

	Spec   TektonResultSpec   `json:"spec,omitempty"`
	Status TektonResultStatus `json:"status,omitempty"`
}

TektonResult is the Schema for the tektonresults API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonResult) DeepCopy

func (in *TektonResult) DeepCopy() *TektonResult

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

func (*TektonResult) DeepCopyInto

func (in *TektonResult) DeepCopyInto(out *TektonResult)

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

func (*TektonResult) DeepCopyObject

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

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

func (*TektonResult) GetGroupVersionKind added in v0.56.0

func (tr *TektonResult) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonResult) GetSpec

func (tp *TektonResult) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonResult) GetStatus

func (tp *TektonResult) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonResult) GroupVersionKind

func (tr *TektonResult) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a TektonResult

type TektonResultList

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

TektonResultsList contains a list of TektonResult +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonResultList) DeepCopy

func (in *TektonResultList) DeepCopy() *TektonResultList

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

func (*TektonResultList) DeepCopyInto

func (in *TektonResultList) DeepCopyInto(out *TektonResultList)

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

func (*TektonResultList) DeepCopyObject

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

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

type TektonResultSpec

type TektonResultSpec struct {
	CommonSpec `json:",inline"`
}

TektonResultSpec defines the desired state of TektonResult

func (*TektonResultSpec) DeepCopy

func (in *TektonResultSpec) DeepCopy() *TektonResultSpec

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

func (*TektonResultSpec) DeepCopyInto

func (in *TektonResultSpec) DeepCopyInto(out *TektonResultSpec)

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

type TektonResultStatus

type TektonResultStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The current installer set name for TektonResult
	// +optional
	TektonInstallerSet string `json:"tektonInstallerSet,omitempty"`
}

TektonResultStatus defines the observed state of TektonResult

func (*TektonResultStatus) DeepCopy

func (in *TektonResultStatus) DeepCopy() *TektonResultStatus

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

func (*TektonResultStatus) DeepCopyInto

func (in *TektonResultStatus) DeepCopyInto(out *TektonResultStatus)

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

func (*TektonResultStatus) GetCondition

func (trs *TektonResultStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*TektonResultStatus) GetTektonInstallerSet added in v0.56.0

func (trs *TektonResultStatus) GetTektonInstallerSet() string

func (*TektonResultStatus) GetVersion

func (trs *TektonResultStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*TektonResultStatus) InitializeConditions

func (trs *TektonResultStatus) InitializeConditions()

InitializeConditions initializes conditions of an TektonResultStatus

func (*TektonResultStatus) IsReady

func (trs *TektonResultStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*TektonResultStatus) MarkDependenciesInstalled

func (trs *TektonResultStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*TektonResultStatus) MarkDependencyInstalling

func (trs *TektonResultStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*TektonResultStatus) MarkDependencyMissing

func (trs *TektonResultStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*TektonResultStatus) MarkInstallerSetAvailable added in v0.56.0

func (trs *TektonResultStatus) MarkInstallerSetAvailable()

func (*TektonResultStatus) MarkInstallerSetNotAvailable added in v0.56.0

func (trs *TektonResultStatus) MarkInstallerSetNotAvailable(msg string)

func (*TektonResultStatus) MarkInstallerSetNotReady added in v0.56.0

func (trs *TektonResultStatus) MarkInstallerSetNotReady(msg string)

func (*TektonResultStatus) MarkInstallerSetReady added in v0.56.0

func (trs *TektonResultStatus) MarkInstallerSetReady()

func (*TektonResultStatus) MarkNotReady added in v0.56.0

func (trs *TektonResultStatus) MarkNotReady(msg string)

func (*TektonResultStatus) MarkPostReconcilerFailed added in v0.63.0

func (in *TektonResultStatus) MarkPostReconcilerFailed(s string)

func (*TektonResultStatus) MarkPreReconcilerFailed added in v0.63.0

func (in *TektonResultStatus) MarkPreReconcilerFailed(s string)

func (*TektonResultStatus) SetTektonInstallerSet added in v0.56.0

func (trs *TektonResultStatus) SetTektonInstallerSet(installerSet string)

func (*TektonResultStatus) SetVersion

func (trs *TektonResultStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type TektonTrigger

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

	Spec   TektonTriggerSpec   `json:"spec,omitempty"`
	Status TektonTriggerStatus `json:"status,omitempty"`
}

TektonTrigger is the Schema for the tektontriggers API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +genclient:nonNamespaced

func (*TektonTrigger) DeepCopy

func (in *TektonTrigger) DeepCopy() *TektonTrigger

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

func (*TektonTrigger) DeepCopyInto

func (in *TektonTrigger) DeepCopyInto(out *TektonTrigger)

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

func (*TektonTrigger) DeepCopyObject

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

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

func (*TektonTrigger) GetGroupVersionKind added in v0.50.0

func (tr *TektonTrigger) GetGroupVersionKind() schema.GroupVersionKind

func (*TektonTrigger) GetSpec

func (tp *TektonTrigger) GetSpec() TektonComponentSpec

GetSpec implements TektonComponent

func (*TektonTrigger) GetStatus

func (tp *TektonTrigger) GetStatus() TektonComponentStatus

GetStatus implements TektonComponent

func (*TektonTrigger) GroupVersionKind

func (tr *TektonTrigger) GroupVersionKind() schema.GroupVersionKind

func (*TektonTrigger) SetDefaults

func (tt *TektonTrigger) SetDefaults(ctx context.Context)

func (*TektonTrigger) Validate

func (tr *TektonTrigger) Validate(ctx context.Context) (errs *apis.FieldError)

type TektonTriggerList

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

TektonTriggersList contains a list of TektonTrigger +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TektonTriggerList) DeepCopy

func (in *TektonTriggerList) DeepCopy() *TektonTriggerList

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

func (*TektonTriggerList) DeepCopyInto

func (in *TektonTriggerList) DeepCopyInto(out *TektonTriggerList)

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

func (*TektonTriggerList) DeepCopyObject

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

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

type TektonTriggerSpec

type TektonTriggerSpec struct {
	CommonSpec `json:",inline"`
	Trigger    `json:",inline"`
	// Config holds the configuration for resources created by TektonTrigger
	// +optional
	Config Config `json:"config,omitempty"`
}

TektonTriggerSpec defines the desired state of TektonTrigger

func (*TektonTriggerSpec) DeepCopy

func (in *TektonTriggerSpec) DeepCopy() *TektonTriggerSpec

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

func (*TektonTriggerSpec) DeepCopyInto

func (in *TektonTriggerSpec) DeepCopyInto(out *TektonTriggerSpec)

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

type TektonTriggerStatus

type TektonTriggerStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The current installer set name
	// +optional
	TektonInstallerSet string `json:"tektonInstallerSet,omitempty"`
}

TektonTriggerStatus defines the observed state of TektonTrigger

func (*TektonTriggerStatus) DeepCopy

func (in *TektonTriggerStatus) DeepCopy() *TektonTriggerStatus

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

func (*TektonTriggerStatus) DeepCopyInto

func (in *TektonTriggerStatus) DeepCopyInto(out *TektonTriggerStatus)

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

func (*TektonTriggerStatus) GetCondition

func (tts *TektonTriggerStatus) GetCondition(t apis.ConditionType) *apis.Condition

func (*TektonTriggerStatus) GetVersion

func (tts *TektonTriggerStatus) GetVersion() string

func (*TektonTriggerStatus) InitializeConditions

func (tts *TektonTriggerStatus) InitializeConditions()

func (*TektonTriggerStatus) IsNewInstallation added in v0.63.0

func (tts *TektonTriggerStatus) IsNewInstallation() bool

func (*TektonTriggerStatus) IsReady

func (tts *TektonTriggerStatus) IsReady() bool

func (*TektonTriggerStatus) MarkDependenciesInstalled

func (tts *TektonTriggerStatus) MarkDependenciesInstalled()

func (*TektonTriggerStatus) MarkDependencyInstalling

func (tts *TektonTriggerStatus) MarkDependencyInstalling(msg string)

func (*TektonTriggerStatus) MarkDependencyMissing

func (tts *TektonTriggerStatus) MarkDependencyMissing(msg string)

func (*TektonTriggerStatus) MarkInstallerSetAvailable added in v0.50.0

func (tts *TektonTriggerStatus) MarkInstallerSetAvailable()

func (*TektonTriggerStatus) MarkInstallerSetNotAvailable added in v0.50.0

func (tts *TektonTriggerStatus) MarkInstallerSetNotAvailable(msg string)

func (*TektonTriggerStatus) MarkInstallerSetNotReady added in v0.50.0

func (tts *TektonTriggerStatus) MarkInstallerSetNotReady(msg string)

func (*TektonTriggerStatus) MarkInstallerSetReady added in v0.50.0

func (tts *TektonTriggerStatus) MarkInstallerSetReady()

func (*TektonTriggerStatus) MarkNotReady added in v0.50.0

func (tts *TektonTriggerStatus) MarkNotReady(msg string)

func (*TektonTriggerStatus) MarkPostReconcilerComplete added in v0.50.0

func (tts *TektonTriggerStatus) MarkPostReconcilerComplete()

func (*TektonTriggerStatus) MarkPostReconcilerFailed added in v0.50.0

func (tts *TektonTriggerStatus) MarkPostReconcilerFailed(msg string)

func (*TektonTriggerStatus) MarkPreReconcilerComplete added in v0.50.0

func (tts *TektonTriggerStatus) MarkPreReconcilerComplete()

func (*TektonTriggerStatus) MarkPreReconcilerFailed added in v0.50.0

func (tts *TektonTriggerStatus) MarkPreReconcilerFailed(msg string)

func (*TektonTriggerStatus) SetVersion

func (tts *TektonTriggerStatus) SetVersion(version string)

type Trigger added in v0.50.0

type Trigger struct {
	TriggersProperties `json:",inline"`
}

Trigger defines the field to customize Trigger component

func (*Trigger) DeepCopy added in v0.50.0

func (in *Trigger) DeepCopy() *Trigger

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

func (*Trigger) DeepCopyInto added in v0.50.0

func (in *Trigger) DeepCopyInto(out *Trigger)

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

type TriggersProperties added in v0.50.0

type TriggersProperties struct {
	EnableApiFields string `json:"enable-api-fields,omitempty"`
	// +optional
	OptionalTriggersProperties `json:",inline"`
}

TriggersProperties defines the fields which are to be defined for triggers only if user pass them

func (*TriggersProperties) DeepCopy added in v0.50.0

func (in *TriggersProperties) DeepCopy() *TriggersProperties

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

func (*TriggersProperties) DeepCopyInto added in v0.50.0

func (in *TriggersProperties) DeepCopyInto(out *TriggersProperties)

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