Documentation ¶
Index ¶
- type TestNeoFS
- func (t *TestNeoFS) AddObject(key string, obj *object.Object)
- func (t *TestNeoFS) Container(_ context.Context, id cid.ID) (*container.Container, error)
- func (t *TestNeoFS) ContainerID(name string) (*cid.ID, error)
- func (t *TestNeoFS) CreateContainer(_ context.Context, prm neofs.PrmContainerCreate) (*cid.ID, error)
- func (t *TestNeoFS) CreateObject(_ context.Context, prm neofs.PrmObjectCreate) (*oid.ID, error)
- func (t *TestNeoFS) CurrentEpoch() uint64
- func (t *TestNeoFS) DeleteObject(_ context.Context, prm neofs.PrmObjectDelete) error
- func (t *TestNeoFS) Objects() []*object.Object
- func (t *TestNeoFS) ReadObject(_ context.Context, prm neofs.PrmObjectRead) (*neofs.ObjectPart, error)
- func (t *TestNeoFS) SelectObjects(_ context.Context, prm neofs.PrmObjectSelect) ([]oid.ID, error)
- func (t *TestNeoFS) TimeToEpoch(_ context.Context, futureTime time.Time) (uint64, uint64, error)
- func (t *TestNeoFS) UserContainers(_ context.Context, _ user.ID) ([]cid.ID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestNeoFS ¶
func NewTestNeoFS ¶
func NewTestNeoFS() *TestNeoFS
func (*TestNeoFS) CreateContainer ¶
func (*TestNeoFS) CreateObject ¶
func (*TestNeoFS) CurrentEpoch ¶
func (*TestNeoFS) DeleteObject ¶
func (*TestNeoFS) ReadObject ¶
func (t *TestNeoFS) ReadObject(_ context.Context, prm neofs.PrmObjectRead) (*neofs.ObjectPart, error)
func (*TestNeoFS) SelectObjects ¶
func (*TestNeoFS) TimeToEpoch ¶
Click to show internal directories.
Click to hide internal directories.