static

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package static implements the Pub/Sub PullSubscription controller for non-scalable PullSubscriptions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Types

type Reconciler

type Reconciler struct {
	*psreconciler.Base
}

Reconciler implements controller.Reconciler for PullSubscription resources.

func (*Reconciler) FinalizeKind added in v0.14.0

func (*Reconciler) ReconcileDeployment

func (r *Reconciler) ReconcileDeployment(ctx context.Context, ra *appsv1.Deployment, src *v1alpha1.PullSubscription) error

func (*Reconciler) ReconcileKind added in v0.14.0

func (r *Reconciler) ReconcileKind(ctx context.Context, ps *v1alpha1.PullSubscription) reconciler.Event

Jump to

Keyboard shortcuts

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