controller

package
v0.14.2 Latest Latest
Warning

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

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

Documentation

Overview

Package controller implements the PingSource 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 {
	// contains filtered or unexported fields
}

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, source *v1alpha1.PingSource) pkgreconciler.Event

func (*Reconciler) UpdateFromLoggingConfigMap

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

TODO determine how to push the updated logging config to existing data plane Pods.

func (*Reconciler) UpdateFromMetricsConfigMap

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

TODO determine how to push the updated metrics config to existing data plane Pods.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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