Documentation
¶
Index ¶
- func NewLister(ctx context.Context, clientset *kubernetes.Clientset, otelSdksLsf OtelSdksLsf) (dpm.ListerInterface, error)
- func NewMuslPlugin(lang common.ProgrammingLanguage, maxPods int64, lsf LangSpecificFunc, ...) dpm.PluginInterface
- func NewPlugin(maxPods int64, lsf LangSpecificFunc, ...) dpm.PluginInterface
- type LangSpecificFunc
- type OtelSdksLsf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLister ¶
func NewLister(ctx context.Context, clientset *kubernetes.Clientset, otelSdksLsf OtelSdksLsf) (dpm.ListerInterface, error)
func NewMuslPlugin ¶ added in v1.0.139
func NewMuslPlugin(lang common.ProgrammingLanguage, maxPods int64, lsf LangSpecificFunc, odigosKubeClient *odigosclientset.Clientset) dpm.PluginInterface
func NewPlugin ¶
func NewPlugin(maxPods int64, lsf LangSpecificFunc, odigosKubeClient *odigosclientset.Clientset) dpm.PluginInterface
Types ¶
type LangSpecificFunc ¶
type LangSpecificFunc func(deviceId string, uniqueDestinationSignals map[common.ObservabilitySignal]struct{}) *v1beta1.ContainerAllocateResponse
type OtelSdksLsf ¶
type OtelSdksLsf map[common.ProgrammingLanguage]map[common.OtelSdk]LangSpecificFunc
with this type, odiglet can determine which language specific function to use for each otel sdk in a each programming language. Otel SDKs frequently requires to set some environment variables and mount some fs dirs for it to work.
Click to show internal directories.
Click to hide internal directories.