luci: go.chromium.org/luci/cipd/appengine/impl/cas/tasks Index | Files

package tasks

import "go.chromium.org/luci/cipd/appengine/impl/cas/tasks"

Package tasks contains task queue tasks definitions.

Index

Package Files

gen.go tasks.pb.go

Variables

var File_go_chromium_org_luci_cipd_appengine_impl_cas_tasks_tasks_proto protoreflect.FileDescriptor

type CleanupUpload Uses

type CleanupUpload struct {
    UploadOperationId int64  `protobuf:"varint,1,opt,name=upload_operation_id,json=uploadOperationId,proto3" json:"upload_operation_id,omitempty"` // unwrapped integer ID of Operation entity
    UploadUrl         string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`                            // URL of the upload session to cancel
    PathToCleanup     string `protobuf:"bytes,3,opt,name=path_to_cleanup,json=pathToCleanup,proto3" json:"path_to_cleanup,omitempty"`              // gs file to delete
    // contains filtered or unexported fields
}

CleanupUpload task cleans up garbage after canceled upload.

func (*CleanupUpload) Descriptor Uses

func (*CleanupUpload) Descriptor() ([]byte, []int)

Deprecated: Use CleanupUpload.ProtoReflect.Descriptor instead.

func (*CleanupUpload) GetPathToCleanup Uses

func (x *CleanupUpload) GetPathToCleanup() string

func (*CleanupUpload) GetUploadOperationId Uses

func (x *CleanupUpload) GetUploadOperationId() int64

func (*CleanupUpload) GetUploadUrl Uses

func (x *CleanupUpload) GetUploadUrl() string

func (*CleanupUpload) ProtoMessage Uses

func (*CleanupUpload) ProtoMessage()

func (*CleanupUpload) ProtoReflect Uses

func (x *CleanupUpload) ProtoReflect() protoreflect.Message

func (*CleanupUpload) Reset Uses

func (x *CleanupUpload) Reset()

func (*CleanupUpload) String Uses

func (x *CleanupUpload) String() string

type VerifyUpload Uses

type VerifyUpload struct {
    UploadOperationId int64 `protobuf:"varint,1,opt,name=upload_operation_id,json=uploadOperationId,proto3" json:"upload_operation_id,omitempty"` // unwrapped integer ID of Operation entity
    // contains filtered or unexported fields
}

VerifyUpload task verifies data uploaded by a user and closes the upload session based on the result.

func (*VerifyUpload) Descriptor Uses

func (*VerifyUpload) Descriptor() ([]byte, []int)

Deprecated: Use VerifyUpload.ProtoReflect.Descriptor instead.

func (*VerifyUpload) GetUploadOperationId Uses

func (x *VerifyUpload) GetUploadOperationId() int64

func (*VerifyUpload) ProtoMessage Uses

func (*VerifyUpload) ProtoMessage()

func (*VerifyUpload) ProtoReflect Uses

func (x *VerifyUpload) ProtoReflect() protoreflect.Message

func (*VerifyUpload) Reset Uses

func (x *VerifyUpload) Reset()

func (*VerifyUpload) String Uses

func (x *VerifyUpload) String() string

Package tasks imports 4 packages (graph) and is imported by 1 packages. Updated 2020-12-06. Refresh now. Tools for package owners.