startlangdetection

package
v0.0.0-...-32c9aed Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager) error

Types

type DaemonSetReconciler

type DaemonSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*DaemonSetReconciler) Reconcile

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

type DeploymentReconciler

type DeploymentReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*DeploymentReconciler) Reconcile

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

type NamespacesReconciler

type NamespacesReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*NamespacesReconciler) Reconcile

func (n *NamespacesReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

type OdigosConfigReconciler

type OdigosConfigReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

This reconiler is responsible for recalculating the instrumented application for potential changes of ignored container list, and trigger runtime detection.

func (*OdigosConfigReconciler) Reconcile

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

type StatefulSetReconciler

type StatefulSetReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*StatefulSetReconciler) Reconcile

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

type WorkloadEnabledPredicate

type WorkloadEnabledPredicate struct {
	predicate.Funcs
}

this predicate is used for workload reconciler, and will only pass events where the workload is changed to odigos instrumentation enabled. This way, we don't need to run language detection downstream when unnecessary. This also helps in managing race conditions, where we might re-add runtime details which were just deleted by instrumentor controller and generate unnecessary noise in the k8s eventual consistency model.

func (*WorkloadEnabledPredicate) Create

func (*WorkloadEnabledPredicate) Delete

func (*WorkloadEnabledPredicate) Generic

func (*WorkloadEnabledPredicate) Update

Jump to

Keyboard shortcuts

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