meteor

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const RequeueAfter = 10 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type MeteorReconciler

type MeteorReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Meteor *v1alpha1.Meteor
	Shower *v1alpha1.Shower
}

MeteorReconciler reconciles a Meteor object

func (*MeteorReconciler) DeleteComas

func (r *MeteorReconciler) DeleteComas(ctx context.Context) error

func (*MeteorReconciler) EnsureFinalizers

func (r *MeteorReconciler) EnsureFinalizers(ctx context.Context) error

func (*MeteorReconciler) Reconcile

func (r *MeteorReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Meteor object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*MeteorReconciler) ReconcileComas

func (r *MeteorReconciler) ReconcileComas(ctx context.Context) error

func (*MeteorReconciler) ReconcilePipelineRun

func (r *MeteorReconciler) ReconcilePipelineRun(name string, ctx *context.Context, req ctrl.Request) error

Submit a Tekton PipelineRun from a collection

func (*MeteorReconciler) SetCondition

func (r *MeteorReconciler) SetCondition(kind, name string, status metav1.ConditionStatus, reason, message string)

Set status condition helper

func (*MeteorReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*MeteorReconciler) UpdateStatusNow

func (r *MeteorReconciler) UpdateStatusNow(ctx context.Context, originalErr error) (ctrl.Result, error)

Force object status update. Returns a reconcile result

Jump to

Keyboard shortcuts

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