Documentation ¶
Overview ¶
Package manager defines a Manager for resource groups.
Resource groups are stored into an in-memory Cache, and objects via a client. The Manager also operate controllers automating objects lifecycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // TODO: refactor in resoucegroup.add/delete/get; make delete fail if rs does not exist AddResourceGroup(name string) DeleteResourceGroup(name string) GetResourceGroup(name string) cresourcegroup.ResourceGroup GetScheme() *runtime.Scheme // TODO: expose less (only get informers) GetCache() ccache.Cache AddController(ccontroller.Controller) error Start(ctx context.Context) error }
Manager initializes shared dependencies such as Caches and Clients, and provides them to Runnables. A Manager is required to create Controllers.
Click to show internal directories.
Click to hide internal directories.