controller

package
v0.0.0-...-70a74c4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenShiftBuildReconciler

type OpenShiftBuildReconciler struct {
	APIReader      client.Reader
	Client         client.Client
	Scheme         *apiruntime.Scheme
	Logger         logr.Logger
	SharedResource *sharedresource.SharedResource
	Shipwright     *shipwrightbuild.ShipwrightBuild
}

OpenShiftBuildReconciler reconciles a OpenShiftBuild object

func (*OpenShiftBuildReconciler) BootstrapOpenShiftBuild

func (r *OpenShiftBuildReconciler) BootstrapOpenShiftBuild(ctx context.Context, client client.Client) error

BootstrapOpenShiftBuild creates the default OpenShiftBuild instance ("cluster") if it is not present on the cluster.

func (*OpenShiftBuildReconciler) CreateOrUpdate

CreateOrUpdate will create or update v1alpha1.OpenShiftBuild resource

func (*OpenShiftBuildReconciler) HandleDeletion

HandleDeletion deletes objects created by the controller

func (*OpenShiftBuildReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*OpenShiftBuildReconciler) ReconcileSharedResource

func (r *OpenShiftBuildReconciler) ReconcileSharedResource(ctx context.Context, openshiftBuild *openshiftv1alpha1.OpenShiftBuild) error

ReconcileSharedResource creates and updates SharedResource objects

func (*OpenShiftBuildReconciler) ReconcileShipwrightBuild

func (r *OpenShiftBuildReconciler) ReconcileShipwrightBuild(ctx context.Context, owner *openshiftv1alpha1.OpenShiftBuild) error

ReconcileShipwrightBuild creates or deletes ShipwrightBuild object

func (*OpenShiftBuildReconciler) SetupWithManager

func (r *OpenShiftBuildReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ShipwrightBuildReconciler

type ShipwrightBuildReconciler shipwrightoperator.ShipwrightBuildReconciler

func (*ShipwrightBuildReconciler) SetupWithManager

func (r *ShipwrightBuildReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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