runtime_details

package
v1.0.69 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRuntimeDetails added in v1.0.64

func GetRuntimeDetails(ctx context.Context, kubeClient client.Client, podWorkload *common.PodWorkload) (*odigosv1.InstrumentedApplication, error)

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager) error

Types

type DaemonSetsReconciler

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

func (*DaemonSetsReconciler) Reconcile

func (d *DaemonSetsReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

type DeploymentsReconciler

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

func (*DeploymentsReconciler) Reconcile

func (d *DeploymentsReconciler) Reconcile(ctx context.Context, request 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 added in v1.0.60

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

func (*OdigosConfigReconciler) Reconcile added in v1.0.60

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

type StatefulSetsReconciler

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

func (*StatefulSetsReconciler) Reconcile

func (s *StatefulSetsReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

type WorkloadEnabledPredicate added in v1.0.60

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 added in v1.0.60

func (*WorkloadEnabledPredicate) Delete added in v1.0.60

func (*WorkloadEnabledPredicate) Generic added in v1.0.60

func (*WorkloadEnabledPredicate) Update added in v1.0.60

Jump to

Keyboard shortcuts

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