Documentation
¶
Index ¶
Constants ¶
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 ¶
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 ¶
func (r *GraphRevisionReconciler) Reconcile(ctx context.Context, obj *internalv1alpha1.GraphRevision) (ctrl.Result, error)
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.