tekton

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTektonConfigWithProfileAndTargetNamespace

func CreateTektonConfigWithProfileAndTargetNamespace(ctx context.Context, client tektonoperatorclientv1alpha1.OperatorV1alpha1Interface, profile string, targetNamepsace string) (*tektonoperatorv1alpha1.TektonConfig, error)

CreateTektonConfigWithProfileAndTargetNamespace creates a TektonConfig object with the given profile and target namespace for Tekton components.

func GetTektonOperatorVersion

func GetTektonOperatorVersion(ctx context.Context, client crdclientv1.ApiextensionsV1Interface) (*version.Version, error)

GetTektonOperatorVersion gets the semantic version of the installed Tekton operator. If the Tekton operator is not installed, or its semantic version could not be determined, this returns an error.

func IsTektonConfigPresent

IsTektonConfigPresent checks if at least one TektonConfig instance is present.

func IsTektonOperatorInstalled

func IsTektonOperatorInstalled(ctx context.Context, client crdclientv1.ApiextensionsV1Interface) (bool, error)

IsTektonOperatorInstalled checks if the Tekton Operator has been installed on the cluster.

func IsTektonPipelinesInstalled

func IsTektonPipelinesInstalled(ctx context.Context, client crdclientv1.ApiextensionsV1Interface) (bool, error)

IsTektonPipelinesInstalled checks if Tekton has been installed on the cluster.

func ReconcileTekton

ReconcileTekton ensures that Tekton Pipelines has been installed. If Tekton Pipelines has not been installed, ReconcileTekton will create a TektonConfig object so that the Tekton Operator deploys Tekton Pipelines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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