extensions

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuiltExtensions

type BuiltExtensions struct {
	// contains filtered or unexported fields
}

BuiltExtensions is a map of extensions created from extension configs.

func Build

func Build(
	ctx context.Context,
	settings component.TelemetrySettings,
	buildInfo component.BuildInfo,
	extensionsConfigs map[config.ComponentID]config.Extension,
	serviceExtensions []config.ComponentID,
	factories map[config.Type]component.ExtensionFactory,
) (*BuiltExtensions, error)

Build builds BuiltExtensions from config.

func (*BuiltExtensions) GetExtensions

func (bes *BuiltExtensions) GetExtensions() map[config.ComponentID]component.Extension

func (*BuiltExtensions) HandleZPages

func (bes *BuiltExtensions) HandleZPages(w http.ResponseWriter, r *http.Request)

func (*BuiltExtensions) NotifyPipelineNotReady

func (bes *BuiltExtensions) NotifyPipelineNotReady() error

func (*BuiltExtensions) NotifyPipelineReady

func (bes *BuiltExtensions) NotifyPipelineReady() error

func (*BuiltExtensions) ShutdownAll

func (bes *BuiltExtensions) ShutdownAll(ctx context.Context) error

ShutdownAll stops all extensions.

func (*BuiltExtensions) StartAll

func (bes *BuiltExtensions) StartAll(ctx context.Context, host component.Host) error

StartAll starts all extensions.

Jump to

Keyboard shortcuts

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