shimhelper

package
v1.16.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncFn

type SyncFn func(context.Context, metav1.Object) error

SyncFn is the reconciliation function passed to a certificate-shim's controller.

func SyncFnFor

func SyncFnFor(
	rec record.EventRecorder,
	log logr.Logger,
	cmClient clientset.Interface,
	cmLister cmlisters.CertificateLister,
	defaults controller.IngressShimOptions,
	fieldManager string,
) SyncFn

SyncFnFor contains logic to reconcile any "Ingress-like" object.

An "Ingress-like" object is a resource such as an Ingress, a Gateway or an HTTPRoute. Due to their similarity, the reconciliation function for them is common. Reconciling an Ingress-like object means looking at its annotations and creating a Certificate with matching DNS names and secretNames from the TLS configuration of the Ingress-like object.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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