Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements Put operation of Object service v2.
func NewService ¶
func NewService(svc *putsvc.Service, ks *util.KeyStorage) *Service
NewService constructs Service instance from provided options.
func (*Service) Put ¶
func (s *Service) Put() (object.PutObjectStream, error)
Put calls internal service and returns v2 object streamer.
func (*Service) PutSingle ¶ added in v0.37.0
func (s *Service) PutSingle(ctx context.Context, req *objectAPI.PutSingleRequest) (*objectAPI.PutSingleResponse, error)
Click to show internal directories.
Click to hide internal directories.