rollout

package
v0.9.9-experimental-2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 34 Imported by: 0

Documentation

Overview

Package rollout features a controller to do rollout.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	UncachedReader client.Reader
	// the max number of concurrent reconciles per controller.
	MaxConcurrentReconciles int

	// the informer contains the cache for all the resources we need.
	// to check the resource scope
	InformerManager informer.Manager
	// contains filtered or unexported fields
}

Reconciler recomputes the cluster resource binding.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req runtime.Request) (runtime.Result, error)

Reconcile triggers a single binding reconcile round.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr runtime.Manager) error

SetupWithManager sets up the rollout controller with the Manager. The rollout controller watches resource snapshots and resource bindings. It reconciles on the CRP when a new resource resourceBinding is created or an existing resource binding is created/updated.

Jump to

Keyboard shortcuts

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