Documentation ¶
Overview ¶
Package modmaninterface abstracts the manager interface to avoid an import cycle/loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleManager ¶
type ModuleManager interface { Add(ctx context.Context, cfg config.Module) error Reconfigure(ctx context.Context, cfg config.Module) ([]resource.Name, error) Remove(modName string) ([]resource.Name, error) AddResource(ctx context.Context, conf resource.Config, deps []string) (resource.Resource, error) ReconfigureResource(ctx context.Context, conf resource.Config, deps []string) error RemoveResource(ctx context.Context, name resource.Name) error IsModularResource(name resource.Name) bool ValidateConfig(ctx context.Context, cfg resource.Config) ([]string, error) Configs() []config.Module Provides(cfg resource.Config) bool Close(ctx context.Context) error }
ModuleManager abstracts the module manager interface.
Click to show internal directories.
Click to hide internal directories.