Versions in this module Expand all Collapse all v0 v0.1.0 Jun 1, 2016 v0.0.1 Apr 27, 2016 Changes in this version + func RegisterGC(name string, newFunc CreateGCFunc) + type CreateGCFunc func(srv *agro.Server, inodes INodeFetcher) (GC, error) + type GC interface + Clear func() + IsDead func(agro.BlockRef) bool + PrepVolume func(*models.Volume) error + func NewGCController(srv *agro.Server, inodes INodeFetcher) GC + type INodeFetcher interface + GetINode func(context.Context, agro.INodeRef) (*models.INode, error) + type NullGC struct + func (n *NullGC) Clear() + func (n *NullGC) IsDead(ref agro.BlockRef) bool + func (n *NullGC) PrepVolume(_ *models.Volume) error