Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
Meta handles object meta information received from FS chain and object storages. Chain information is stored in Merkle-Patricia Tries. Full objects index is built and stored as a simple KV storage.
func (*Meta) Reload ¶
func (m *Meta) Reload(p Parameters) error
Reload updates service in runtime. Currently supported fields:
- endpoints
type NeoFSNetwork ¶ added in v0.45.2
type NeoFSNetwork interface {
// List returns node's containers that support chain-based meta data and
// any error that does not allow listing.
List() (map[cid.ID]struct{}, error)
// IsMineWithMeta checks if the given CID has meta enabled and current
// node belongs to it.
IsMineWithMeta(cid.ID) (bool, error)
// Head returns actual object header from the NeoFS network (non-local
// objects should also be returned). Missing, removed object statuses
// must be reported according to API statuses from SDK.
Head(context.Context, cid.ID, oid.ID) (object.Object, error)
}
NeoFSNetwork describes current NeoFS storage network state.
Click to show internal directories.
Click to hide internal directories.