Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteParams ¶
type DeleteParams struct {
// contains filtered or unexported fields
}
DeleteParams is a group of parameters for container removal operation.
func (DeleteParams) OwnerID ¶
func (s DeleteParams) OwnerID() OwnerID
OwnerID is an owner ID getter.
func (*DeleteParams) SetContext ¶
SetContext is a context setter.
func (*DeleteParams) SetOwnerID ¶
func (s *DeleteParams) SetOwnerID(v OwnerID)
SetOwnerID is an owner ID setter.
type DeleteResult ¶
type DeleteResult struct{}
DeleteResult is a group of values returned by container removal operation.
type GetParams ¶
type GetParams struct {
// contains filtered or unexported fields
}
GetParams is a group of parameters for container receiving operation.
func (*GetParams) SetContext ¶
SetContext is a context setter.
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
GetResult is a group of values returned by container receiving operation.
func (GetResult) Container ¶
func (s GetResult) Container() *Container
Container is a container getter.
func (*GetResult) SetContainer ¶
func (s *GetResult) SetContainer(v *Container)
SetContainer is a container setter.
type ListParams ¶
type ListParams struct {
// contains filtered or unexported fields
}
ListParams is a group of parameters for container listing operation.
func (ListParams) OwnerIDList ¶
func (s ListParams) OwnerIDList() []OwnerID
OwnerIDList is an owner ID list getter.
func (*ListParams) SetContext ¶
SetContext is a context setter.
func (*ListParams) SetOwnerIDList ¶
func (s *ListParams) SetOwnerIDList(v ...OwnerID)
SetOwnerIDList is an owner ID list setter.
type ListResult ¶
type ListResult struct {
// contains filtered or unexported fields
}
ListResult is a group of values returned by container listing operation.
func (ListResult) CIDList ¶
func (s ListResult) CIDList() []CID
CIDList is a container ID list getter.
func (*ListResult) SetCIDList ¶
func (s *ListResult) SetCIDList(v []CID)
SetCIDList is a container ID list setter.
type PutParams ¶
type PutParams struct {
// contains filtered or unexported fields
}
PutParams is a group of parameters for container storing operation.
func (PutParams) Container ¶
func (s PutParams) Container() *Container
Container is a container getter.
func (*PutParams) SetContainer ¶
func (s *PutParams) SetContainer(v *Container)
SetContainer is a container setter.
func (*PutParams) SetContext ¶
SetContext is a context setter.
type PutResult ¶
type PutResult struct {
// contains filtered or unexported fields
}
PutResult is a group of values returned by container storing operation.
type Storage ¶
type Storage interface {
GetContainer(GetParams) (*GetResult, error)
PutContainer(PutParams) (*PutResult, error)
DeleteContainer(DeleteParams) (*DeleteResult, error)
ListContainers(ListParams) (*ListResult, error)
}
Storage is an interface of the storage of NeoFS containers.