controller

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransportReconciler

type TransportReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder events.EventRecorder
}

TransportReconciler reconciles a StoryRun object for streaming transport

func (*TransportReconciler) Reconcile

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

Reconcile loads the StoryRun and parent Story, skips non-streaming stories, patches ConditionTransportReady when transport annotations are invalid, and delegates to reconcileNormal or reconcileDelete based on DeletionTimestamp (`internal/controller/main.go:60-140`).

func (*TransportReconciler) SetupWithManager

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

SetupWithManager registers TransportReconciler with controller-runtime so it watches StoryRun resources via the manager's shared client/cache.

Jump to

Keyboard shortcuts

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