graphrevision

package
v0.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// GraphVerified is the condition type indicating whether a GraphRevision
	// has been successfully compiled and validated.
	GraphVerified = string(internalv1alpha1.GraphRevisionConditionTypeGraphVerified)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionsMarker

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

ConditionsMarker provides an API to mark conditions onto a GraphRevision.

func NewConditionsMarkerFor

func NewConditionsMarkerFor(o apis.Object) *ConditionsMarker

NewConditionsMarkerFor creates a marker to manage GraphRevision conditions.

func (*ConditionsMarker) GraphInvalid

func (m *ConditionsMarker) GraphInvalid(msg string)

GraphInvalid marks the GraphRevision as having failed compilation or validation.

func (*ConditionsMarker) GraphVerified

func (m *ConditionsMarker) GraphVerified()

GraphVerified marks the GraphRevision as successfully compiled and verified.

type GraphRevisionReconciler

type GraphRevisionReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

GraphRevisionReconciler reconciles GraphRevision objects.

func NewGraphRevisionReconciler

func NewGraphRevisionReconciler(
	rgBuilder *graph.Builder,
	registry *revisions.Registry,
	maxConcurrentReconciles int,
	rgdConfig graph.RGDConfig,
) *GraphRevisionReconciler

NewGraphRevisionReconciler creates a reconciler that compiles GraphRevision snapshots and stores the results in the shared in-memory registry.

func (*GraphRevisionReconciler) Reconcile

Reconcile compiles GraphRevision definitions, tracks readiness, and stores compiled graphs in the in-memory revision registry.

func (*GraphRevisionReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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