controller

package
v0.0.0-...-ca34b71 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InsightsReconciler

type InsightsReconciler struct {
	*InsightsReconcilerConfig
	// contains filtered or unexported fields
}

InsightsReconciler reconciles the Insights proxy for Cryostat agents

func NewInsightsReconciler

func NewInsightsReconciler(config *InsightsReconcilerConfig) (*InsightsReconciler, error)

NewInsightsReconciler creates an InsightsReconciler using the provided configuration

func (*InsightsReconciler) Reconcile

func (r *InsightsReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile processes the Insights proxy deployment and configures it accordingly

func (*InsightsReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type InsightsReconcilerConfig

type InsightsReconcilerConfig struct {
	client.Client
	Log             logr.Logger
	Scheme          *runtime.Scheme
	Namespace       string
	UserAgentPrefix string
	common.OSUtils
}

InsightsReconcilerConfig contains configuration to create an InsightsReconciler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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