controller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HCloudLoadBalancerReconciler

type HCloudLoadBalancerReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	HCloudClient hcloudclient.Interface
}

HCloudLoadBalancerReconciler reconciles HCloudLoadBalancer objects. +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudloadbalancers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudloadbalancers/status,verbs=get;update;patch +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudloadbalancers/finalizers,verbs=update +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudservers,verbs=get;list;watch

func (*HCloudLoadBalancerReconciler) Reconcile

func (*HCloudLoadBalancerReconciler) SetupWithManager

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

type HCloudServerReconciler

type HCloudServerReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	HCloudClient hcloudclient.Interface
}

HCloudServerReconciler reconciles HCloudServer objects. +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudservers,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudservers/status,verbs=get;update;patch +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudservers/finalizers,verbs=update

func (*HCloudServerReconciler) Reconcile

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

Reconcile is the core reconciliation loop for HCloudServer resources. It is called every time a HCloudServer is created, updated, or deleted.

func (*HCloudServerReconciler) SetupWithManager

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

SetupWithManager registers the reconciler with the controller manager.

type HCloudVolumeReconciler

type HCloudVolumeReconciler struct {
	client.Client
	Scheme       *runtime.Scheme
	HCloudClient hcloudclient.Interface
}

HCloudVolumeReconciler reconciles HCloudVolume objects. +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudvolumes,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudvolumes/status,verbs=get;update;patch +kubebuilder:rbac:groups=infra.hkc.io,resources=hcloudvolumes/finalizers,verbs=update

func (*HCloudVolumeReconciler) Reconcile

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

func (*HCloudVolumeReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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