Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutor ¶
func NewExecutor(rdr Reader, wrt Writer) containerSvc.ServiceExecutor
Types ¶
type Reader ¶
type Reader interface { containercore.Source containercore.EACLSource // List returns a list of container identifiers belonging // to the specified user of NeoFS system. Returns the identifiers // of all NeoFS containers if pointer to owner identifier is nil. List(*user.ID) ([]cid.ID, error) }
Reader is an interface of read-only container storage.
type Writer ¶
type Writer interface { // Put stores specified container in the side chain. Put(containercore.Container) (*cid.ID, error) // Delete removes specified container from the side chain. Delete(containercore.RemovalWitness) error // PutEACL updates extended ACL table of specified container in the side chain. PutEACL(containercore.EACL) error }
Writer is an interface of container storage updater.
Click to show internal directories.
Click to hide internal directories.