Documentation
¶
Index ¶
- type Reconciler
- func (r *Reconciler) DownloadResourceWithOCM(ctx context.Context, deployer *deliveryv1alpha1.Deployer, ...) (objs []client.Object, err error)
- func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, err error)
- func (r *Reconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
- func (r *Reconciler) Untrack(ctx context.Context, deployer *deliveryv1alpha1.Deployer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
*ocm.BaseReconciler
DownloadCache cache.DigestObjectCache[string, []client.Object]
OCMContextCache *ocm.ContextCache
// contains filtered or unexported fields
}
Reconciler reconciles a Deployer object.
func (*Reconciler) DownloadResourceWithOCM ¶
func (r *Reconciler) DownloadResourceWithOCM( ctx context.Context, deployer *deliveryv1alpha1.Deployer, resource *deliveryv1alpha1.Resource, ) (objs []client.Object, err error)
func (*Reconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
func (*Reconciler) Untrack ¶
func (r *Reconciler) Untrack(ctx context.Context, deployer *deliveryv1alpha1.Deployer) error
Untrack removes the deployer from the tracked objects and stops the resource watch if it is still running. It also removes the finalizer from the deployer if there are no more tracked objects.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package dynamic provides a dynamic informer manager that can register and unregister informers at runtime for arbitrary Kubernetes resources.
|
Package dynamic provides a dynamic informer manager that can register and unregister informers at runtime for arbitrary Kubernetes resources. |
Click to show internal directories.
Click to hide internal directories.