reconciler

package
v0.0.0-...-d28b36b Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutputReference

type OutputReference string

func (OutputReference) Add

func (o OutputReference) Add(refs []string) []string

func (OutputReference) Remove

func (o OutputReference) Remove(refs []string) []string

type Reconciler

type Reconciler struct {
	Client     client.Client
	IngestAddr string
}

func New

func New(ingestAddr string, client client.Client) *Reconciler

func (*Reconciler) EnsureOutput

func (r *Reconciler) EnsureOutput(ctx context.Context, flowRef internal.FlowReference) (res ctrl.Result, err error)

func (*Reconciler) HTTPOuput

func (r *Reconciler) HTTPOuput(flowRef internal.FlowReference) *output.HTTPOutputConfig

func (*Reconciler) OutputObjectMeta

func (r *Reconciler) OutputObjectMeta(key types.NamespacedName, flowName string) metav1.ObjectMeta

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, event internal.ReconcileEvent) (res ctrl.Result, err error)

func (*Reconciler) ReconcileFlow

func (r *Reconciler) ReconcileFlow(ctx context.Context, ref internal.FlowReference, updater UpdateReference) (res ctrl.Result, err error)

func (*Reconciler) RemoveOutput

func (r *Reconciler) RemoveOutput(ctx context.Context, obj client.Object) (res ctrl.Result, err error)

type UpdateReference

type UpdateReference func(refs []string) []string

Jump to

Keyboard shortcuts

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