Documentation
¶
Index ¶
Constants ¶
View Source
const CName = "node.nodespace"
Variables ¶
View Source
var ( ErrDoesntSupportStats = errors.New("SpaceStorage doesn't support nodestorage.SpaceStats") ErrSpaceStorageIsLocked = errors.New("SpaceStorage is locked, try again later") )
Functions ¶
func NewStreamOpener ¶ added in v0.4.0
func NewStreamOpener() streamhandler.StreamHandler
Types ¶
type NodeSpace ¶ added in v0.3.1
type NodeSpace interface {
commonspace.Space
}
type Service ¶
type Service interface {
GetSpace(ctx context.Context, id string) (NodeSpace, error)
PickSpace(ctx context.Context, id string) (NodeSpace, error)
EvictSpace(ctx context.Context, id string) error
Cache() ocache.OCache
GetStats(ctx context.Context, id string) (nodestorage.SpaceStats, error)
app.ComponentRunnable
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_nodespace is a generated GoMock package.
|
Package mock_nodespace is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.