delete

package
v0.0.0-...-c28e036 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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