tektoninstallation

package
v0.0.0-...-732e647 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InstallationName the name of the TektonInstallation resource (cluster-scoped)
	InstallationName = "toolchain-tekton-installation"
	// SubscriptionNamespace the namespace of the TekTon Subscription resource
	SubscriptionNamespace = "openshift-operators"
	// SubscriptionName the name for of TekTon Subscription resource
	SubscriptionName = "openshift-pipelines-operator-rh"
	// StartingCSV keeps the CSV version the installation should start with
	StartingCSV = "openshift-pipelines-operator.v1.0.1"
	// TektonConfigName the name of the TektonConfig resource
	TektonConfigName = "cluster"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new TektonInstallation Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func InstallationFailed

func InstallationFailed(message string) toolchainv1alpha1.Condition

InstallationFailed returns a status condition for the case where the Tekton installation failed

func InstallationSucceeded

func InstallationSucceeded() toolchainv1alpha1.Condition

InstallationSucceeded returns a status condition for the case where the Tekton installation succeeded

func Installing

func Installing(message string) toolchainv1alpha1.Condition

Installing returns a status condition for the case where the Tekton is installing

func NewInstallation

func NewInstallation() *v1alpha1.TektonInstallation

NewInstallation returns a new TektonInstallation resource

func NewSubscription

func NewSubscription(ns string) *olmv1alpha1.Subscription

NewSubscription for openshift-pipeline operator

func Unknown

func Unknown() toolchainv1alpha1.Condition

Unknown returns a status condition for the case where the Tekton installation status is unknown

Types

type ReconcileTektonInstallation

type ReconcileTektonInstallation struct {
	// contains filtered or unexported fields
}

ReconcileTektonInstallation reconciles a TektonInstallation object

func (*ReconcileTektonInstallation) Reconcile

Reconcile reads that state of the config for a TektonInstallation object and makes changes based on the state read and what is in the TektonInstallation.Spec

Jump to

Keyboard shortcuts

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