controller

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodReconciler added in v0.9.0

type PodReconciler struct {
	k8sclient.Client
	Log             *logrus.Entry
	Metrics         *metrics.Metrics
	VersionChecker  *checker.Checker
	RequeueDuration time.Duration // Configurable reschedule duration
	// contains filtered or unexported fields
}

func NewPodReconciler added in v0.9.0

func NewPodReconciler(
	cacheTimeout time.Duration,
	metrics *metrics.Metrics,
	imageClient *client.Client,
	kubeClient k8sclient.Client,
	log *logrus.Entry,
	requeueDuration time.Duration,
	defaultTestAll bool,
) *PodReconciler

func (*PodReconciler) Reconcile added in v0.9.0

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

Reconcile is triggered whenever a watched object changes.

func (*PodReconciler) SetupWithManager added in v0.9.0

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

SetupWithManager initializes the controller

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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