source

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

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 creates a new controller capable of reconciling Kf sources.

Types

type Reconciler

type Reconciler struct {
	*reconciler.Base
	// contains filtered or unexported fields
}

Reconciler reconciles an source object with the K8s cluster.

func (*Reconciler) ApplyChanges

func (r *Reconciler) ApplyChanges(ctx context.Context, source *v1alpha1.Source) error

ApplyChanges updates the linked resources in the cluster with the current status of the source.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, key string) error

Reconcile is called by Kubernetes.

Directories

Path Synopsis
Package resources holds simple functions for synthesizing child resources from a Source.
Package resources holds simple functions for synthesizing child resources from a Source.

Jump to

Keyboard shortcuts

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