shower

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: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequeueAfter     = 10 * time.Second
	DefaultImageBase = "quay.io/thoth-station/meteor-shower:v"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ShowerReconciler

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

ShowerReconciler reconciles a Shower object

func (*ShowerReconciler) Reconcile

func (r *ShowerReconciler) 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 Shower 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.10.0/pkg/reconcile

func (*ShowerReconciler) ReconcileDeployment

func (r *ShowerReconciler) ReconcileDeployment(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileExternalRole

func (r *ShowerReconciler) ReconcileExternalRole(namespace string) func(*context.Context, ctrl.Request) error

func (*ShowerReconciler) ReconcileExternalRolebinding

func (r *ShowerReconciler) ReconcileExternalRolebinding(namespace string) func(*context.Context, ctrl.Request) error

func (*ShowerReconciler) ReconcilePipelineRole

func (r *ShowerReconciler) ReconcilePipelineRole(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcilePipelineRolebinding

func (r *ShowerReconciler) ReconcilePipelineRolebinding(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileRoute

func (r *ShowerReconciler) ReconcileRoute(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileService

func (r *ShowerReconciler) ReconcileService(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileServiceAccount

func (r *ShowerReconciler) ReconcileServiceAccount(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileServiceMonitor

func (r *ShowerReconciler) ReconcileServiceMonitor(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileShowerRole

func (r *ShowerReconciler) ReconcileShowerRole(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) ReconcileShowerRolebinding

func (r *ShowerReconciler) ReconcileShowerRolebinding(ctx *context.Context, req ctrl.Request) error

func (*ShowerReconciler) SetCondition

func (r *ShowerReconciler) SetCondition(conditionType string, status metav1.ConditionStatus, reason, message string)

Set status condition helper

func (*ShowerReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

func (*ShowerReconciler) UpdateStatusNow

func (r *ShowerReconciler) 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