controllers

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MongoDBProvider

func MongoDBProvider(ctx context.Context, instance v1beta1.GrowthbookInstance, username, password string) (storage.Disconnector, storage.Database, error)

MongoDBProvider returns a storage.Database for MongoDB

Types

type GrowthbookInstanceReconciler

type GrowthbookInstanceReconciler struct {
	client.Client
	Log              logr.Logger
	Scheme           *runtime.Scheme
	Recorder         record.EventRecorder
	DatabaseProvider func(ctx context.Context, instance v1beta1.GrowthbookInstance, username, password string) (storage.Disconnector, storage.Database, error)
}

GrowthbookInstance reconciles a GrowthbookInstance object

func (*GrowthbookInstanceReconciler) Reconcile

Reconcile GrowthbookInstances

func (*GrowthbookInstanceReconciler) SetupWithManager

SetupWithManager adding controllers

type GrowthbookInstanceReconcilerOptions

type GrowthbookInstanceReconcilerOptions struct {
	MaxConcurrentReconciles int
}

Jump to

Keyboard shortcuts

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