k8sdetector

package
v0.0.365 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__27cml6 = &core.Package{
		PackageName:         "namespacelabs.dev/foundation/universe/otel/k8sdetector",
		PackageDependencies: []string{"namespacelabs.dev/foundation/std/monitoring/tracing"},
	}

	Provider__27cml6 = core.Provider{
		Package:     Package__27cml6,
		Instantiate: makeDeps__27cml6,
	}

	Initializers__27cml6 = []*core.Initializer{
		{
			Package: Package__27cml6,
			Do: func(ctx context.Context, di core.Dependencies) error {
				return di.Instantiate(ctx, Provider__27cml6, func(ctx context.Context, v interface{}) error {
					return Prepare(ctx, v.(ExtensionDeps))
				})
			},
		},
	}
)

Functions

func Prepare

func Prepare(ctx context.Context, deps ExtensionDeps) error

Types

type ExtensionDeps

type ExtensionDeps struct {
	Detector tracing.Detector
}

Dependencies that are instantiated once for the lifetime of the extension.

Jump to

Keyboard shortcuts

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