Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
Finder caches embedder client instances and lazily instantiates them using the generic provider.Factory.
func (*Finder) AddConfig ¶
AddConfig registers or overwrites an embedder configuration and bumps the internal version.
func (*Finder) Find ¶
Find returns a ready-to-use embedder client by ID, creating and caching it on first request.
type Option ¶
type Option func(*Finder)
Option mutates Finder during construction.
func WithConfigLoader ¶
func WithConfigLoader(loader provider.ConfigLoader) Option
func WithInitial ¶
WithInitial registers a list of configuration objects available for lookup by ID.
Click to show internal directories.
Click to hide internal directories.