Documentation
¶
Index ¶
- Variables
- type Cache
- func (c *Cache) Close() error
- func (c *Cache) InstanceClose(ctx context.Context, cacheInstanceName string) error
- func (c *Cache) InstanceCreate(ctx context.Context, cacheInstanceName string) error
- func (c *Cache) InstanceDelete(ctx context.Context, cacheInstanceName string) error
- func (c *Cache) InstanceExists(ctx context.Context, cacheName string) bool
- func (c *Cache) InstanceIntentDelete(ctx context.Context, cacheName string, intentName string) error
- func (c *Cache) InstanceIntentExists(ctx context.Context, cacheName string, intentName string) (bool, error)
- func (c *Cache) InstanceIntentGet(ctx context.Context, cacheName string, intentName string) ([]byte, error)
- func (c *Cache) InstanceIntentGetAll(ctx context.Context, cacheName string, excludeIntentNames []string, ...)
- func (c *Cache) InstanceIntentModify(ctx context.Context, cacheName string, intentName string, data []byte) error
- func (c *Cache) InstanceIntentsList(ctx context.Context, cacheName string) ([]string, error)
- func (c *Cache) InstancesList(ctx context.Context) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorCacheInstanceNotFound = fmt.Errorf("cache instance not found") ErrorCacheInstanceAlreadyExists = fmt.Errorf("cache instance already exists") )
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) InstanceClose ¶ added in v0.0.36
func (*Cache) InstanceCreate ¶ added in v0.0.36
func (*Cache) InstanceDelete ¶ added in v0.0.36
func (*Cache) InstanceExists ¶ added in v0.0.36
func (*Cache) InstanceIntentDelete ¶ added in v0.0.36
func (*Cache) InstanceIntentExists ¶ added in v0.0.36
func (*Cache) InstanceIntentGet ¶ added in v0.0.36
func (*Cache) InstanceIntentGetAll ¶ added in v0.0.36
func (*Cache) InstanceIntentModify ¶ added in v0.0.36
func (*Cache) InstanceIntentsList ¶ added in v0.0.36
Click to show internal directories.
Click to hide internal directories.