controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package controller reconciles runeward Citadel and Cohort custom resources onto the control-plane Manager.

It deliberately avoids controller-runtime: dynamic informers feed a work queue, backing runeward ids live in status, and a finalizer guarantees teardown of the underlying citadels/cohorts on CR deletion.

Index

Constants

View Source
const (
	// Group is the API group of the runeward CRDs.
	Group = "runeward.dev"
	// Version is the CRD API version.
	Version = "v1alpha1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller reconciles runeward CRs against a control-plane Manager.

func New

func New(mgr *controlplane.Manager, dyn dynamic.Interface, namespace string, logger *slog.Logger) *Controller

New builds a Controller watching the given namespace ("" for all).

func (*Controller) Run

func (c *Controller) Run(ctx context.Context, workers int) error

Run starts the informers and reconcile workers, blocking until ctx is done.

Jump to

Keyboard shortcuts

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