internal

package
v0.0.0-...-fae9351 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is a bridge between the Collector's [receiverprofiles.Profiles] interface and our internal.Controller

func NewController

func NewController(cfg *controller.Config,
	nextConsumer xconsumer.Profiles) (*Controller, error)

func (*Controller) Shutdown

func (c *Controller) Shutdown(_ context.Context) error

Shutdown stops the receiver.

func (*Controller) Start

func (c *Controller) Start(ctx context.Context, _ component.Host) error

Start starts the receiver.

Jump to

Keyboard shortcuts

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