controller

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressReconciler

type IngressReconciler struct {
	// From manager via SetupWithManager.
	client.Client
	record.EventRecorder
	*rest.Config
	*kubernetes.Clientset
	// CLI args.
	GetIngressLoadBalancerIngress func(ctx context.Context) (*networkingv1.IngressLoadBalancerIngress, error)
	IngressClassName              string
	// Portforward to a Service-selected Pod instead of using Service DNS.
	// Useful for when running outside of the cluster we're reconciling.
	Portforward bool
	// contains filtered or unexported fields
}

IngressReconciler reconciles a Ingress object

func (*IngressReconciler) Close

func (r *IngressReconciler) Close() error

func (*IngressReconciler) GetCertificate

func (r *IngressReconciler) GetCertificate(chi *tls.ClientHelloInfo) (*tls.Certificate, error)

func (*IngressReconciler) Reconcile

func (r *IngressReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*IngressReconciler) ServeHTTP

func (r *IngressReconciler) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (*IngressReconciler) SetupWithManager

func (r *IngressReconciler) SetupWithManager(mgr ctrl.Manager) (err error)

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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