Documentation ¶
Overview ¶
Package updater holds a registry of default updaters.
A set of in-tree updaters can be added by using the defaults package's Set function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(ctx context.Context, fs map[string]driver.UpdaterSetFactory, cfg map[string]driver.ConfigUnmarshaler, c *http.Client) error
Configure calls the Configure method on all the passed-in UpdaterSetFactories.
func Register ¶
func Register(name string, f driver.UpdaterSetFactory)
Register registers an UpdaterSetFactory.
Register will panic if the same name is used twice.
func Registered ¶
func Registered() map[string]driver.UpdaterSetFactory
Registered returns a new map populated with the registered UpdaterSetFactories.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.