Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteHandler ¶
type DeleteHandler struct {
// contains filtered or unexported fields
}
DeleteHandler is responsible for handling delete tasks.
func NewDeleteHandler ¶
func NewDeleteHandler(storageClient *storage.Client, st *stats.Tracker) *DeleteHandler
NewDeleteHandler creates a DeleteHandler with storage.Client and http.Client.
func (*DeleteHandler) Do ¶
func (h *DeleteHandler) Do(ctx context.Context, taskReqMsg *taskpb.TaskReqMsg) *taskpb.TaskRespMsg
Do implements a handler to delete a bundle of objects in GCS.
Click to show internal directories.
Click to hide internal directories.