pullsubscription

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package pullsubscription implements the Pub/Sub PullSubscription controller.

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 {
	*pubsub.PubSubBase
	// contains filtered or unexported fields
}

Reconciler implements controller.Reconciler for PullSubscription 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 PullSubscription resource with the current status of the resource.

func (*Reconciler) UpdateFromLoggingConfigMap

func (r *Reconciler) UpdateFromLoggingConfigMap(cfg *corev1.ConfigMap)

func (*Reconciler) UpdateFromMetricsConfigMap

func (r *Reconciler) UpdateFromMetricsConfigMap(cfg *corev1.ConfigMap)

func (*Reconciler) UpdateFromTracingConfigMap

func (r *Reconciler) UpdateFromTracingConfigMap(cfg *corev1.ConfigMap)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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