test

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FooBarReconciler

type FooBarReconciler struct {
	Client client.Client
	// to avoid race conditions with the cache, listing matching webhook items
	// needs to use a direct client
	DirectClient  client.Client
	Log           *zap.SugaredLogger
	Scheme        *runtime.Scheme
	EventRecorder record.EventRecorder
	// contains filtered or unexported fields
}

func (*FooBarReconciler) CheckSetup

func (r *FooBarReconciler) CheckSetup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error

func (*FooBarReconciler) DependentCrdInstalled

func (m *FooBarReconciler) DependentCrdInstalled(ctx context.Context, logger *zap.SugaredLogger) (bool, error)

func (FooBarReconciler) Name

func (FooBarReconciler) Name() string

return trigger reconciler name

func (*FooBarReconciler) Reconcile

func (r *FooBarReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

Reconcile for Trigger should be implemented in each plugin

func (*FooBarReconciler) Setup

func (r *FooBarReconciler) Setup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error

Setup will setup webhook and controller

func (*FooBarReconciler) SetupWithManager

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

SetupTrigger 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