Documentation
¶
Index ¶
- type MetadataCache
- func (this *MetadataCache) CacheDirentDelete(info *dirent.Dirent) error
- func (this *MetadataCache) CacheDirentPut(info *dirent.Dirent) error
- func (this *MetadataCache) CacheGroupDelete(info *identity.Group) error
- func (this *MetadataCache) CacheGroupPut(info *identity.Group) error
- func (this *MetadataCache) CacheUserDelete(info *identity.User) error
- func (this *MetadataCache) CacheUserPut(info *identity.User) error
- func (this *MetadataCache) Clear()
- func (this *MetadataCache) Close() error
- func (this *MetadataCache) GetFat() map[dirent.Id]*dirent.Dirent
- func (this *MetadataCache) GetGroups() map[identity.GroupId]*identity.Group
- func (this *MetadataCache) GetUsers() map[identity.UserId]*identity.User
- func (this *MetadataCache) IsEmpty() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataCache ¶
type MetadataCache struct {
// contains filtered or unexported fields
}
func NewMetadataCache ¶
func NewMetadataCache(connector connector.Connector, blockCipher cipher.Block, iv []byte) (*MetadataCache, error)
IV should not have to be transformed to use.
func (*MetadataCache) CacheDirentDelete ¶
func (this *MetadataCache) CacheDirentDelete(info *dirent.Dirent) error
func (*MetadataCache) CacheDirentPut ¶
func (this *MetadataCache) CacheDirentPut(info *dirent.Dirent) error
Put this dirent in the semi-durable cache.
func (*MetadataCache) CacheGroupDelete ¶
func (this *MetadataCache) CacheGroupDelete(info *identity.Group) error
func (*MetadataCache) CacheGroupPut ¶
func (this *MetadataCache) CacheGroupPut(info *identity.Group) error
func (*MetadataCache) CacheUserDelete ¶
func (this *MetadataCache) CacheUserDelete(info *identity.User) error
func (*MetadataCache) CacheUserPut ¶
func (this *MetadataCache) CacheUserPut(info *identity.User) error
func (*MetadataCache) Clear ¶
func (this *MetadataCache) Clear()
func (*MetadataCache) Close ¶
func (this *MetadataCache) Close() error
func (*MetadataCache) GetGroups ¶
func (this *MetadataCache) GetGroups() map[identity.GroupId]*identity.Group
func (*MetadataCache) GetUsers ¶
func (this *MetadataCache) GetUsers() map[identity.UserId]*identity.User
func (*MetadataCache) IsEmpty ¶
func (this *MetadataCache) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.