Back to godoc.org

Package pubsub

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 CloudPubSubSource 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 is the controller implementation for the CloudPubSubSource source.

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