Back to godoc.org

Package trigger

v0.99.0
Latest Go to latest

The latest major version is .

Published: Jan 21, 2020 | License: Apache-2.0 | Module: github.com/aliok/eventing

Index

Constants

const (
	// ReconcilerName is the name of the reconciler
	ReconcilerName = "Triggers"
)

func NewController

func NewController(
	ctx context.Context,
	cmw configmap.Watcher,
) *controller.Impl

NewController initializes the controller and is called by the generated code. Registers event handlers to enqueue events.

type Reconciler

type Reconciler struct {
	*reconciler.Base
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile compares the actual state with the desired, and attempts to converge the two. It then updates the Status block of the Trigger resource with the current status of the resource.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier