apiserversource

package
v0.23.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 31 Imported by: 10

Documentation

Overview

Package apiserversource implements the ApiSource controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCfgHost added in v0.7.0

func GetCfgHost(ctx context.Context) string

GetCfgHost extracts the k8s rest config host from the context.

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 HostKey added in v0.7.0

type HostKey struct{}

HostKey is used as the key for associating information with a context.Context.

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles a ApiServerSource object

func (*Reconciler) ReconcileKind added in v0.13.0

func (r *Reconciler) ReconcileKind(ctx context.Context, source *v1.ApiServerSource) pkgreconciler.Event

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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