Documentation
¶
Index ¶
- func SetupExternalProxy(mgr ctrl.Manager) error
- func SetupPortForwarding(mgr ctrl.Manager) (func() error, error)
- type ExternalProxyReconciler
- func (r *ExternalProxyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ExternalProxyReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *ExternalProxyReconciler) SyncEndpointSlices(ctx context.Context, instance *networkingv1alpha1.ExternalProxy) error
- func (r *ExternalProxyReconciler) SyncIngress(ctx context.Context, instance *networkingv1alpha1.ExternalProxy) error
- func (r *ExternalProxyReconciler) SyncService(ctx context.Context, instance *networkingv1alpha1.ExternalProxy) error
- type PortForwardingReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupExternalProxy ¶
SetupExternalProxy sets up the ExternalProxy controller with the manager
Types ¶
type ExternalProxyReconciler ¶
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 ¶
func (r *ExternalProxyReconciler) SyncIngress(ctx context.Context, instance *networkingv1alpha1.ExternalProxy) error
SyncIngress ensures that the Ingresses associated with an ExternalProxy instance are properly reconciled.
func (*ExternalProxyReconciler) SyncService ¶
func (r *ExternalProxyReconciler) SyncService(ctx context.Context, instance *networkingv1alpha1.ExternalProxy) error
SyncService ensures that the Services associated with an ExternalProxy instance are correctly configured and reconciled.
type PortForwardingReconciler ¶ added in v0.2.0
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
func (r *PortForwardingReconciler) 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.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.