Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { Lookup(uuid string, stripeID int) error Persist(uuid string, stripeID int, metadata string) error Delete(uuid string) error PrintStats(elapsed time.Duration) }
Driver is an interface that a filesystem metadata engine can implement.
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is a simulated filesystem that supports basic read/write methods to generate metadata workload.
func New ¶
New returns a new filesystem with a driver initialized based on driverName. drop is passed on to the driver on initialization, drivers typically will use to determine whether existing tables should be dropped upon initialization.
func (*FS) PrintStats ¶
func (fs *FS) PrintStats()
PrintStats prints statistics collected during filesystem workload execution.
Click to show internal directories.
Click to hide internal directories.