# Packages
Package compat provides helpers for integrating the input/v2 API with existing input based features like autodiscovery, config file reloading, or filebeat modules.
Package cursor provides an InputManager for use with the v2 API, that is capable of storing an internal cursor state between restarts.
# Functions
ConfigureWith creates an InputManager that provides no extra logic and allows each input to fully control event collection and publishing in isolation.
IsUnknownInputError checks if an error value indicates an input load error because there is no existing plugin that can create the input.
NewLoader creates a new Loader for configuring inputs from a slice if plugins.
# Variables
ErrNoInputConfigured indicates that the 'type' setting is missing.
ErrPluginWithoutName reports that the operation failed because the plugin is required to have a Name.
ErrUnknownInput indicates that the plugin type does not exist.
# Structs
Context provides the Input Run function with common environmental information and services.
Loader can be used to create Inputs from configurations.
LoadError is returned by Loaders in case of failures.
Plugin describes an input type.
SetupError indicates that the loader initialization has detected errors in individual plugin configurations or duplicates.
TestContext provides the Input Test function with common environmental information and services.
# Interfaces
Canceler is used to provide shutdown handling to the Context.
Input is a configured input object that can be used to test or start the actual data collection.
InputManager creates and maintains actions and background processes for an input type.
# Type aliases
Mode tells the InputManager in which mode it is initialized.