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

type CleanupUpload Uses

type CleanupUpload struct {
    UploadOperationId    int64    `protobuf:"varint,1,opt,name=upload_operation_id,json=uploadOperationId" json:"upload_operation_id,omitempty"`
    UploadUrl            string   `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl" json:"upload_url,omitempty"`
    PathToCleanup        string   `protobuf:"bytes,3,opt,name=path_to_cleanup,json=pathToCleanup" json:"path_to_cleanup,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

CleanupUpload task cleans up garbage after canceled upload.

func (*CleanupUpload) Descriptor Uses

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

func (*CleanupUpload) GetPathToCleanup Uses

func (m *CleanupUpload) GetPathToCleanup() string

func (*CleanupUpload) GetUploadOperationId Uses

func (m *CleanupUpload) GetUploadOperationId() int64

func (*CleanupUpload) GetUploadUrl Uses

func (m *CleanupUpload) GetUploadUrl() string

func (*CleanupUpload) ProtoMessage Uses

func (*CleanupUpload) ProtoMessage()

func (*CleanupUpload) Reset Uses

func (m *CleanupUpload) Reset()

func (*CleanupUpload) String Uses

func (m *CleanupUpload) String() string

func (*CleanupUpload) XXX_DiscardUnknown Uses

func (m *CleanupUpload) XXX_DiscardUnknown()

func (*CleanupUpload) XXX_Marshal Uses

func (m *CleanupUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CleanupUpload) XXX_Merge Uses

func (dst *CleanupUpload) XXX_Merge(src proto.Message)

func (*CleanupUpload) XXX_Size Uses

func (m *CleanupUpload) XXX_Size() int

func (*CleanupUpload) XXX_Unmarshal Uses

func (m *CleanupUpload) XXX_Unmarshal(b []byte) error

type VerifyUpload Uses

type VerifyUpload struct {
    UploadOperationId    int64    `protobuf:"varint,1,opt,name=upload_operation_id,json=uploadOperationId" json:"upload_operation_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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)

func (*VerifyUpload) GetUploadOperationId Uses

func (m *VerifyUpload) GetUploadOperationId() int64

func (*VerifyUpload) ProtoMessage Uses

func (*VerifyUpload) ProtoMessage()

func (*VerifyUpload) Reset Uses

func (m *VerifyUpload) Reset()

func (*VerifyUpload) String Uses

func (m *VerifyUpload) String() string

func (*VerifyUpload) XXX_DiscardUnknown Uses

func (m *VerifyUpload) XXX_DiscardUnknown()

func (*VerifyUpload) XXX_Marshal Uses

func (m *VerifyUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyUpload) XXX_Merge Uses

func (dst *VerifyUpload) XXX_Merge(src proto.Message)

func (*VerifyUpload) XXX_Size Uses

func (m *VerifyUpload) XXX_Size() int

func (*VerifyUpload) XXX_Unmarshal Uses

func (m *VerifyUpload) XXX_Unmarshal(b []byte) error

Package tasks imports 3 packages (graph) and is imported by 1 packages. Updated 2018-08-14. Refresh now. Tools for package owners.