Back to godoc.org

Package channel

v0.0.0-...-c52b3dd
Latest Go to latest

The latest major version is .

Published: Mar 3, 2020 | License: Apache-2.0 | Module: github.com/chizhg/knative-gcp

Overview

Package channel implements the Pub/Sub Channel controller.

Index

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
}

Reconciler implements controller.Reconciler for Channel resources.

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 Channel 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