Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- func InstallationFailed(message string) toolchainv1alpha1.Condition
- func InstallationSucceeded() toolchainv1alpha1.Condition
- func Installing(message string) toolchainv1alpha1.Condition
- func NewInstallation() *v1alpha1.TektonInstallation
- func NewSubscription(ns string) *olmv1alpha1.Subscription
- func Unknown() toolchainv1alpha1.Condition
- type ReconcileTektonInstallation
Constants ¶
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 ¶
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 ¶
func (r *ReconcileTektonInstallation) Reconcile(request reconcile.Request) (reconcile.Result, error)
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