Documentation

Overview

Package httpsource implements a controller for the HTTPSource custom resource.

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 returns a new controller that reconciles HTTPSource objects.

Types

type Reconciler

type Reconciler struct {
	// wrapper for core controller components (clients, logger, ...)
	*reconciler.Base

	// contains filtered or unexported fields

}

Reconciler reconciles HTTPSource resources.

func (*Reconciler) Reconcile

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

Reconcile compares the actual state of a HTTPSource object referenced by key with its desired state, and attempts to converge the two.