Skip to main content

Module registry

Module registry 

Source
Expand description

Global registry of reloader manager factories.

Ported from internal/reloader/registry.go.

Functions§

list_types
Returns a list of all registered reloader types.
new_manager
Creates a new reloader manager for the given type using the provided kubectl backend. Returns ReloaderError::UnknownType if the type is not registered.
register
Registers a reloader manager factory for a given type. Typically called from each reloader implementation’s setup path.

Type Aliases§

ManagerFactory
A function that creates a new reloader manager using the provided kubectl backend. None stands in for the Go original’s nil kubectl.Backend interface value, which NewManager’s own tests pass.