Documentation ¶
Overview ¶
gc provides the Torus interface for how garbage collection is implemented. Volumes implement a garbage collector and the controller in this package runs them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGC ¶
func RegisterGC(name string, newFunc CreateGCFunc)
Types ¶
type CreateGCFunc ¶
type CreateGCFunc func(srv *torus.Server, inodes INodeFetcher) (GC, error)
type GC ¶
func NewGCController ¶
func NewGCController(srv *torus.Server, inodes INodeFetcher) GC
type INodeFetcher ¶
Click to show internal directories.
Click to hide internal directories.