Documentation ¶
Index ¶
- Constants
- Variables
- type DatastoreProcess
- type StorjConfig
- type StorjPlugin
- func (plugin *StorjPlugin) Close() error
- func (plugin StorjPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap
- func (plugin StorjPlugin) DatastoreTypeName() string
- func (plugin StorjPlugin) Init(env *plugin.Environment) error
- func (plugin StorjPlugin) Name() string
- func (plugin *StorjPlugin) Start(node *core.IpfsNode) error
- func (plugin StorjPlugin) Version() string
Constants ¶
View Source
const ( DefaultNodeConnectionPoolCapacity = 100 DefaultNodeConnectionPoolKeyCapacity = 5 DefaultNodeConnectionPoolIdleExpiration = 2 * time.Minute DefaultSatelliteConnectionPoolCapacity = 10 DefaultSatelliteConnectionPoolKeyCapacity = 0 DefaultSatelliteConnectionPoolIdleExpiration = 2 * time.Minute )
Variables ¶
View Source
var Error = errs.Class("storjds")
Error is the error class for Storj datastore plugin.
View Source
var Plugins = []plugin.Plugin{ &StorjPlugin{}, }
Functions ¶
This section is empty.
Types ¶
type DatastoreProcess ¶ added in v0.4.0
func OpenProcess ¶ added in v0.4.0
func (*DatastoreProcess) Close ¶ added in v0.4.0
func (p *DatastoreProcess) Close() error
type StorjConfig ¶
type StorjConfig struct {
// contains filtered or unexported fields
}
func (*StorjConfig) DiskSpec ¶
func (storj *StorjConfig) DiskSpec() fsrepo.DiskSpec
type StorjPlugin ¶
type StorjPlugin struct {
// contains filtered or unexported fields
}
func (*StorjPlugin) Close ¶
func (plugin *StorjPlugin) Close() error
func (StorjPlugin) DatastoreConfigParser ¶
func (plugin StorjPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap
func (StorjPlugin) DatastoreTypeName ¶
func (plugin StorjPlugin) DatastoreTypeName() string
func (StorjPlugin) Init ¶
func (plugin StorjPlugin) Init(env *plugin.Environment) error
func (StorjPlugin) Name ¶
func (plugin StorjPlugin) Name() string
func (StorjPlugin) Version ¶
func (plugin StorjPlugin) Version() string
Click to show internal directories.
Click to hide internal directories.