Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheRistretto ¶
type CacheRistretto struct {
// contains filtered or unexported fields
}
CacheRistretto cache adapter for Ristretto
func NewCacheRistretto ¶
func NewCacheRistretto(cache *ristretto.Cache) *CacheRistretto
func (*CacheRistretto) Set ¶
func (c *CacheRistretto) Set(key any, value any)
type ComponentGetNodes ¶
type ComponentGetNodes struct { *engine.ComponentMountable GetNodesFunc func() *engine.NodeGroup }
ComponentGetNodes add a custom GetNodes function to ComponentMountable
func CGN ¶
func CGN(name string, getNodesFunc func() *engine.NodeGroup, elements ...any) *ComponentGetNodes
CGN is a shortcut for NewComponentGetNodes
func NewComponentGetNodes ¶
func NewComponentGetNodes(name string, getNodesFunc func() *engine.NodeGroup, elements ...any) *ComponentGetNodes
func (*ComponentGetNodes) GetNodes ¶
func (c *ComponentGetNodes) GetNodes() *engine.NodeGroup
Click to show internal directories.
Click to hide internal directories.