controlcontroller

package
v0.26.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const EventSource = "yawol-service"

EventSource is the name of the eventsource that get forwarded to the service of the customer

Variables

This section is empty.

Functions

This section is empty.

Types

type EventReconciler

type EventReconciler struct {
	TargetClient  client.Client
	ControlClient client.Client
	Log           logr.Logger
	Scheme        *runtime.Scheme
	Recorder      record.EventRecorder
}

EventReconciler reconciles service Objects with type Event

func (*EventReconciler) Reconcile

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

+kubebuilder:rbac:groups=core,resources=node,verbs=get;list;watch

func (*EventReconciler) SetupWithManager

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

type LoadBalancerReconciler

type LoadBalancerReconciler struct {
	TargetClient  client.Client
	ControlClient client.Client
	Log           logr.Logger
	Scheme        *runtime.Scheme
	Recorder      record.EventRecorder
}

LoadBalancerReconciler reconciles service Objects with type LoadBalancer

func (*LoadBalancerReconciler) Reconcile

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

Reconcile reconciles the LoadBalancerObject to patch the status in the Service

func (*LoadBalancerReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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