Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutionService ¶
func NewExecutionService(exec ServiceExecutor, metaHdr *session.ResponseMetaHeader) container.Service
NewExecutionService wraps ServiceExecutor and returns Container Service interface.
Passed meta header is attached to all responses.
func NewSignService ¶
Types ¶
type ServiceExecutor ¶
type ServiceExecutor interface {
Put(context.Context, *container.PutRequestBody) (*container.PutResponseBody, error)
Delete(context.Context, *container.DeleteRequestBody) (*container.DeleteResponseBody, error)
Get(context.Context, *container.GetRequestBody) (*container.GetResponseBody, error)
List(context.Context, *container.ListRequestBody) (*container.ListResponseBody, error)
SetExtendedACL(context.Context, *container.SetExtendedACLRequestBody) (*container.SetExtendedACLResponseBody, error)
GetExtendedACL(context.Context, *container.GetExtendedACLRequestBody) (*container.GetExtendedACLResponseBody, error)
}
Click to show internal directories.
Click to hide internal directories.