Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutionService ¶
func NewExecutionService(exec ServiceExecutor) container.Service
NewExecutionService wraps ServiceExecutor and returns Container Service interface.
func NewResponseService ¶
NewResponseService returns container service instance that passes internal service call to response service.
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.