func (c *defaultStores) Metadata() storage.Store {
	return c.metadata
}
Metadata yields the metadata storage for a context
package context
import (
	"bytes"
	"context"
	"fmt"
	"io/ioutil"
	"github.com/oneconcern/datamon/pkg/model"
	"github.com/oneconcern/datamon/pkg/storage"
)
type Stores interface {
	Metadata() storage.Store
	SetMetadata(metadata storage.Store)
	ReadLog() storage.Store
	SetReadLog(readLog storage.Store)
	VMetadata() storage.Store
	SetVMetadata(vMetadata storage.Store)
	Blob() storage.Store
	SetBlob(blob storage.Store)
	Wal() storage.Store
	SetWal(wal storage.Store)
}
var _ Stores = &defaultStores{}
type defaultStores struct {
	wal       storage.Store
	readLog   storage.Store
	blob      storage.Store
	metadata  storage.Store
	vMetadata storage.Store
	_         struct{}
}
func New() Stores {
	return &defaultStores{}
}
func NewStores(wal, readLog, blob, metadata, vMetadata storage.Store) Stores {
	return &defaultStores{wal: wal, readLog: readLog, blob: blob, metadata: metadata, vMetadata: vMetadata}
}
func (c *defaultStores) ReadLog() storage.Store {
	return c.readLog
}
func (c *defaultStores) SetReadLog(readLog storage.Store) {
	c.readLog = readLog
}
func (c *defaultStores) SetVMetadata(vMetadata storage.Store) {
	c.vMetadata = vMetadata
}
func (c *defaultStores) SetMetadata(metadata storage.Store) {
	c.metadata = metadata
}
func (c *defaultStores) SetBlob(blob storage.Store) {
	c.blob = blob
}
func (c *defaultStores) SetWal(wal storage.Store) {
	c.wal = wal
}