controller

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapReconciler

type BootstrapReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	SourceProvider        source.Contract
	DefaultServiceAccount string
}

BootstrapReconciler reconciles a Bootstrap object.

func (*BootstrapReconciler) NewResourceManager added in v0.9.0

func (r *BootstrapReconciler) NewResourceManager(ctx context.Context, obj *v1alpha1.Bootstrap) (*ssa.ResourceManager, error)

NewResourceManager creates a ResourceManager for the given cluster.

func (*BootstrapReconciler) Reconcile

func (r *BootstrapReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err 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.

func (*BootstrapReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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