Documentation
¶
Index ¶
- func SufficientCopiesFromV2(v []objectAPI.CopiesVector) (res [][]uint32)
- type PutChunkPrm
- type PutInitPrm
- func (p *PutInitPrm) WithCommonPrm(v *util.CommonPrm) *PutInitPrm
- func (p *PutInitPrm) WithCopyNumbers(v []uint32) *PutInitPrm
- func (p *PutInitPrm) WithObject(v *objectSDK.Object) *PutInitPrm
- func (p *PutInitPrm) WithRelay(f func(context.Context, client.NodeInfo, client.MultiAddressClient) error) *PutInitPrm
- func (p *PutInitPrm) WithSufficientCopies(v [][]uint32) *PutInitPrm
- type PutResponse
- type Service
- type Streamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SufficientCopiesFromV2 ¶ added in v0.46.0
func SufficientCopiesFromV2(v []objectAPI.CopiesVector) (res [][]uint32)
Types ¶
type PutChunkPrm ¶
type PutChunkPrm struct {
// contains filtered or unexported fields
}
func (*PutChunkPrm) WithChunk ¶
func (p *PutChunkPrm) WithChunk(v []byte) *PutChunkPrm
type PutInitPrm ¶
type PutInitPrm struct {
// contains filtered or unexported fields
}
func (*PutInitPrm) WithCommonPrm ¶
func (p *PutInitPrm) WithCommonPrm(v *util.CommonPrm) *PutInitPrm
func (*PutInitPrm) WithCopyNumbers ¶ added in v0.37.0
func (p *PutInitPrm) WithCopyNumbers(v []uint32) *PutInitPrm
func (*PutInitPrm) WithObject ¶
func (p *PutInitPrm) WithObject(v *objectSDK.Object) *PutInitPrm
func (*PutInitPrm) WithRelay ¶
func (p *PutInitPrm) WithRelay(f func(context.Context, client.NodeInfo, client.MultiAddressClient) error) *PutInitPrm
func (*PutInitPrm) WithSufficientCopies ¶ added in v0.46.0
func (p *PutInitPrm) WithSufficientCopies(v [][]uint32) *PutInitPrm
type PutResponse ¶
type PutResponse struct {
// contains filtered or unexported fields
}
func (*PutResponse) ObjectID ¶
func (r *PutResponse) ObjectID() oid.ID
type Service ¶
type Service struct {
*objectwriter.Config
}
func NewService ¶
func NewService(ks *objutil.KeyStorage, cc objectwriter.ClientConstructor, ms objectwriter.MaxSizeSource, os objectwriter.ObjectStorage, cs container.Source, ns netmap.Source, ncs netmap.ConfigSource, nk netmap.AnnouncedKeys, nst netmap.State, ir objectwriter.InnerRing, opts ...objectwriter.Option, ) *Service
func (*Service) PutSingle ¶ added in v0.37.0
func (s *Service) PutSingle(ctx context.Context, req *objectAPI.PutSingleRequest) (*objectAPI.PutSingleResponse, error)
type Streamer ¶
type Streamer struct {
*objectwriter.Config
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.