pinot

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Pinot Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func RemoveFinalizers

func RemoveFinalizers(c client.Client) error

RemoveFinalizers removes the finalizers from the context

Types

type PinotReconciler

type PinotReconciler interface {
	reconcile.Reconciler
	// contains filtered or unexported methods
}

type ReconcileComponent

type ReconcileComponent func(log logr.Logger, pinot *pinotv1alpha1.Pinot) error

type ReconcilePinot

type ReconcilePinot struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	client.Client
	Log              logr.Logger
	CRDReconciler    *crds.CRDReconciler
	Manager          manager.Manager
	Scheme           *runtime.Scheme
	Recorder         record.EventRecorder
	Ctrl             controller.Controller
	WatchersInitOnce sync.Once
}

ReconcilePinot reconciles a Pinot object

func (*ReconcilePinot) Reconcile

func (r *ReconcilePinot) Reconcile(request ctrl.Request) (ctrl.Result, error)

Reconcile reads that state of the cluster for a Config object and makes changes based on the state read and what is in the Config.Spec

Jump to

Keyboard shortcuts

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