Documentation
¶
Overview ¶
Package registry provides component registration and management for fleetint, allowing fine-grained control over which components are enabled.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllComponentNames ¶
func AllComponentNames() []string
AllComponentNames returns a list of all available component names
Types ¶
type Component ¶
type Component struct {
Name string
InitFunc components.InitFunc
// EnabledByDefault indicates if this component should be enabled by default
EnabledByDefault bool
}
Component represents a health monitoring component with its name and initialization function
func All ¶
func All() []Component
All returns all available components with their default enable/disable state
func GetComponent ¶
GetComponent returns a component by name, or nil if not found
func GetEnabledComponents ¶
func GetEnabledComponents() []Component
GetEnabledComponents returns only the components that should be enabled by default
Click to show internal directories.
Click to hide internal directories.