controller

package
v0.0.0-...-7fbc1a4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetStatusCondition

func SetStatusCondition(conditions *[]metav1.Condition, newCondition metav1.Condition)

Types

type AgentMetadata

type AgentMetadata struct {
	Registration Registration `json:"registration"`
}

type LightrunJavaAgentReconciler

type LightrunJavaAgentReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Log    logr.Logger
}

LightrunJavaAgentReconciler reconciles a LightrunJavaAgent object

func (*LightrunJavaAgentReconciler) Reconcile

func (*LightrunJavaAgentReconciler) SetupWithManager

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

SetupWithManager configures the controller with the Manager and sets up watches and indexers. It creates several field indexers to enable efficient lookups of LightrunJavaAgent CRs based on: - DeploymentName (legacy field) - WorkloadName (newer field that replaces DeploymentName) - SecretName

It also sets up watches for Deployments, StatefulSets, and Secrets so the controller can react to changes in these resources that are referenced by LightrunJavaAgent CRs.

type Registration

type Registration struct {
	DisplayName string `json:"displayName"`
	Tags        []Tag  `json:"tags"`
}

type Tag

type Tag struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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