deletesvc

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*cfg)

Option is a Service's constructor option.

func WithHeadService added in v0.13.0

func WithHeadService(h *getsvc.Service) Option

WithHeadService returns option to set Head service to work with object headers.

func WithLogger added in v0.12.1

func WithLogger(l *logger.Logger) Option

WithLogger returns option to specify Delete service's logger.

func WithPutService

func WithPutService(p *putsvc.Service) Option

WithClientOptions returns option to specify options of remote node clients.

func WithSearchService added in v0.13.0

func WithSearchService(s *searchsvc.Service) Option

WithClientCache returns option to set cache of remote node clients.

type Prm

type Prm struct {
	client.DeleteObjectParams
	// contains filtered or unexported fields
}

Prm groups parameters of Delete service call.

func (*Prm) SetCommonParameters added in v0.13.0

func (p *Prm) SetCommonParameters(common *util.CommonPrm)

SetCommonParameters sets common parameters of the operation.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service utility serving requests of Object.Get service.

func New added in v0.13.0

func New(opts ...Option) *Service

New creates, initializes and returns utility serving Object.Get service requests.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, prm Prm) error

Delete serves requests to remote the objects.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL