Versions in this module Expand all Collapse all v2 v2.1.4 Oct 1, 2025 Changes in this version + const UpdateAll + const UpdateGateway + var ErrFailedAssert = errors.New("type assertion failed") + func ConditionsEqual(prev, cur []metav1.Condition) bool + func NewRetryUpdateFunc(getter controller.Getter, updater K8sUpdater, nsname types.NamespacedName, ...) func(ctx context.Context) (bool, error) + type ControlPlaneUpdateResult struct + Error error + type GroupUpdater interface + UpdateGroup func(ctx context.Context, name string, reqs ...UpdateRequest) + type K8sUpdater interface + Update func(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error + type LeaderAwareGroupUpdater struct + func NewLeaderAwareGroupUpdater(updater *Updater) *LeaderAwareGroupUpdater + func (u *LeaderAwareGroupUpdater) Enable(ctx context.Context) + func (u *LeaderAwareGroupUpdater) UpdateGroup(ctx context.Context, name string, reqs ...UpdateRequest) + type Queue struct + func NewQueue() *Queue + func (q *Queue) Dequeue(ctx context.Context) *QueueObject + func (q *Queue) Enqueue(item *QueueObject) + type QueueObject struct + Deployment types.NamespacedName + Error error + GatewayService *corev1.Service + UpdateType UpdateType + type Setter func(client.Object) (wasSet bool) + type UpdateRequest struct + NsName types.NamespacedName + ResourceType ngftypes.ObjectType + Setter Setter + func PrepareBackendTLSPolicyRequests(policies map[types.NamespacedName]*graph.BackendTLSPolicy, ...) []UpdateRequest + func PrepareGatewayClassRequests(gc *graph.GatewayClass, ...) []UpdateRequest + func PrepareGatewayRequests(gateway *graph.Gateway, transitionTime metav1.Time, ...) []UpdateRequest + func PrepareNGFPolicyRequests(policies map[graph.PolicyKey]*graph.Policy, transitionTime metav1.Time, ...) []UpdateRequest + func PrepareNginxGatewayStatus(nginxGateway *ngfAPI.NginxGateway, transitionTime metav1.Time, ...) *UpdateRequest + func PrepareRouteRequests(l4routes map[graph.L4RouteKey]*graph.L4Route, ...) []UpdateRequest + func PrepareSnippetsFilterRequests(snippetsFilters map[types.NamespacedName]*graph.SnippetsFilter, ...) []UpdateRequest + type UpdateType int + type Updater struct + func NewUpdater(c client.Client, logger logr.Logger) *Updater + func (u *Updater) Update(ctx context.Context, reqs ...UpdateRequest)