Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentCache ¶
type ComponentCache interface { Add(key, value interface{}) bool Get(key interface{}) (component.Component, bool) Update(context.Context, UpdateFn) (component.Component, error) Start(context.Context) }
ComponentCache is cache of Components
func NewComponentCache ¶
func NewComponentCache(ctx context.Context) (ComponentCache, error)
NewComponentCache creates a new component cache.
Click to show internal directories.
Click to hide internal directories.