networking

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupExternalProxy

func SetupExternalProxy(mgr ctrl.Manager) error

SetupExternalProxy sets up the ExternalProxy controller with the manager

func SetupPortForwarding added in v0.2.0

func SetupPortForwarding(mgr ctrl.Manager) (func() error, error)

SetupPortForwarding sets up the PortForwarding controller with the manager

Types

type ExternalProxyReconciler

type ExternalProxyReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

ExternalProxyReconciler handles reconciliation of the ExternalProxy resources

func (*ExternalProxyReconciler) Reconcile

func (r *ExternalProxyReconciler) 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.1/pkg/reconcile

func (*ExternalProxyReconciler) SetupWithManager

func (r *ExternalProxyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

func (*ExternalProxyReconciler) SyncEndpointSlices

func (r *ExternalProxyReconciler) SyncEndpointSlices(ctx context.Context, instance *networkingv1alpha1.ExternalProxy) error

SyncEndpointSlices ensures that the EndpointSlices associated with an ExternalProxy instance are properly reconciled.

func (*ExternalProxyReconciler) SyncIngress

SyncIngress ensures that the Ingresses associated with an ExternalProxy instance are properly reconciled.

func (*ExternalProxyReconciler) SyncService

SyncService ensures that the Services associated with an ExternalProxy instance are correctly configured and reconciled.

type PortForwardingReconciler added in v0.2.0

type PortForwardingReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

PortForwardingReconciler reconciles a PortForwarding object

func (*PortForwardingReconciler) CleanUp added in v0.2.0

func (r *PortForwardingReconciler) CleanUp() error

CleanUp removes all port forwarding rule created by the port forwarding controller.

func (*PortForwardingReconciler) Reconcile added in v0.2.0

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.20.4/pkg/reconcile

func (*PortForwardingReconciler) SetupWithManager added in v0.2.0

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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