inputs_manager

package
v0.44.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InputsManager

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

func NewInputsManager

func NewInputsManager(ctx context.Context, store *collstore.Store, pipeline chan *pipeline.Msg) *InputsManager

func (*InputsManager) DeleteInput

func (mgr *InputsManager) DeleteInput(name string) error

func (*InputsManager) GetInputState added in v0.44.0

func (mgr *InputsManager) GetInputState(name string) *collstore.InputState

GetInputState returns the runtime state of an input from the state store.

func (*InputsManager) ListInputStates added in v0.44.0

func (mgr *InputsManager) ListInputStates() []*collstore.InputState

ListInputStates returns all input states from the state store.

func (*InputsManager) ProcessorInUse

func (mgr *InputsManager) ProcessorInUse(name string) bool

func (*InputsManager) Start

func (mgr *InputsManager) Start(wg *sync.WaitGroup) error

func (*InputsManager) Stop

func (mgr *InputsManager) Stop()

type ManagedInput

type ManagedInput struct {
	sync.RWMutex
	Name string
	Impl inputs.Input
	Cfg  map[string]any
}

Jump to

Keyboard shortcuts

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