eventtype

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	Client client.Client
	Scheme *runtime.Scheme
}

Reconciler is a helper struct that can be used by any source in order to reconcile its EventTypes.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, owner metav1.Object, args *ReconcilerArgs) error

Reconcile reconciles the EventTypes taken from 'args', and sets 'owner' as the controller.

type ReconcilerArgs

type ReconcilerArgs struct {
	Specs     []eventingv1alpha1.EventTypeSpec
	Namespace string
	Labels    map[string]string
	Kind      string
}

ReconcilerArgs are the arguments needed to reconcile EventTypes.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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