Documentation
¶
Index ¶
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 NewPlugin ¶
func NewPlugin(maxPods int64, lsf LangSpecificFunc) 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.