tasks

package
v0.0.0-...-781836f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package tasks contains task queue tasks definitions.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_cipd_appengine_impl_cas_tasks_tasks_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CleanupUpload

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 deprecated

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

Deprecated: Use CleanupUpload.ProtoReflect.Descriptor instead.

func (*CleanupUpload) GetPathToCleanup

func (x *CleanupUpload) GetPathToCleanup() string

func (*CleanupUpload) GetUploadOperationId

func (x *CleanupUpload) GetUploadOperationId() int64

func (*CleanupUpload) GetUploadUrl

func (x *CleanupUpload) GetUploadUrl() string

func (*CleanupUpload) ProtoMessage

func (*CleanupUpload) ProtoMessage()

func (*CleanupUpload) ProtoReflect

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

func (*CleanupUpload) Reset

func (x *CleanupUpload) Reset()

func (*CleanupUpload) String

func (x *CleanupUpload) String() string

type VerifyUpload

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 deprecated

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

Deprecated: Use VerifyUpload.ProtoReflect.Descriptor instead.

func (*VerifyUpload) GetUploadOperationId

func (x *VerifyUpload) GetUploadOperationId() int64

func (*VerifyUpload) ProtoMessage

func (*VerifyUpload) ProtoMessage()

func (*VerifyUpload) ProtoReflect

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

func (*VerifyUpload) Reset

func (x *VerifyUpload) Reset()

func (*VerifyUpload) String

func (x *VerifyUpload) String() string

Jump to

Keyboard shortcuts

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