broker

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReconcilerName is the name of the reconciler
	ReconcilerName = "Brokers"
)

Variables

This section is empty.

Functions

func IngressChannelLabels

func IngressChannelLabels(brokerName string) map[string]string

IngressChannelLabels are all the labels placed on the Ingress Channel for the given brokerName. This should only be used by Broker and Trigger code.

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

func TriggerChannelLabels

func TriggerChannelLabels(brokerName string) map[string]string

TriggerChannelLabels are all the labels placed on the Trigger Channel for the given brokerName. This should only be used by Broker and Trigger code.

Types

type Reconciler

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

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 Broker resource with the current status of the resource.

type ReconcilerArgs

type ReconcilerArgs struct {
	IngressImage              string
	IngressServiceAccountName string
	FilterImage               string
	FilterServiceAccountName  string
}

ReconcilerArgs are the arguments needed to create a broker.Reconciler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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