Documentation

Overview

    Package taskdefs contains task queue task definitions.

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var File_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto protoreflect.FileDescriptor

    Functions

    This section is empty.

    Types

    type CancelSwarmingTask

    type CancelSwarmingTask struct {
    
    	// Hostname (e.g. "chromium-swarm.appspot.com") where the task should be
    	// cancelled.
    	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
    	// Swarming task ID to cancel.
    	TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
    	// LUCI realm the task belongs to or "" if realms is disabled.
    	Realm string `protobuf:"bytes,3,opt,name=realm,proto3" json:"realm,omitempty"`
    	// contains filtered or unexported fields
    }

      A task to cancel a Swarming task.

      func (*CancelSwarmingTask) Descriptor

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

        Deprecated: Use CancelSwarmingTask.ProtoReflect.Descriptor instead.

        func (*CancelSwarmingTask) GetHostname

        func (x *CancelSwarmingTask) GetHostname() string

        func (*CancelSwarmingTask) GetRealm

        func (x *CancelSwarmingTask) GetRealm() string

        func (*CancelSwarmingTask) GetTaskId

        func (x *CancelSwarmingTask) GetTaskId() string

        func (*CancelSwarmingTask) ProtoMessage

        func (*CancelSwarmingTask) ProtoMessage()

        func (*CancelSwarmingTask) ProtoReflect

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

        func (*CancelSwarmingTask) Reset

        func (x *CancelSwarmingTask) Reset()

        func (*CancelSwarmingTask) String

        func (x *CancelSwarmingTask) String() string

        type CreateSwarmingTask

        type CreateSwarmingTask struct {
        
        	// ID of a build in the datastore. See model.Build.
        	BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
        	// contains filtered or unexported fields
        }

          A task to create a Swarming task.

          func (*CreateSwarmingTask) Descriptor

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

            Deprecated: Use CreateSwarmingTask.ProtoReflect.Descriptor instead.

            func (*CreateSwarmingTask) GetBuildId

            func (x *CreateSwarmingTask) GetBuildId() int64

            func (*CreateSwarmingTask) ProtoMessage

            func (*CreateSwarmingTask) ProtoMessage()

            func (*CreateSwarmingTask) ProtoReflect

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

            func (*CreateSwarmingTask) Reset

            func (x *CreateSwarmingTask) Reset()

            func (*CreateSwarmingTask) String

            func (x *CreateSwarmingTask) String() string

            type ExportBigQuery

            type ExportBigQuery struct {
            
            	// ID of a build in the datastore. See model.Build.
            	BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
            	// contains filtered or unexported fields
            }

              A task to export a build to BigQuery.

              func (*ExportBigQuery) Descriptor

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

                Deprecated: Use ExportBigQuery.ProtoReflect.Descriptor instead.

                func (*ExportBigQuery) GetBuildId

                func (x *ExportBigQuery) GetBuildId() int64

                func (*ExportBigQuery) ProtoMessage

                func (*ExportBigQuery) ProtoMessage()

                func (*ExportBigQuery) ProtoReflect

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

                func (*ExportBigQuery) Reset

                func (x *ExportBigQuery) Reset()

                func (*ExportBigQuery) String

                func (x *ExportBigQuery) String() string

                type FinalizeResultDB

                type FinalizeResultDB struct {
                
                	// ID of a build in the datastore. See model.Build.
                	BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
                	// contains filtered or unexported fields
                }

                  A task to finalize an invocation in ResultDB.

                  func (*FinalizeResultDB) Descriptor

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

                    Deprecated: Use FinalizeResultDB.ProtoReflect.Descriptor instead.

                    func (*FinalizeResultDB) GetBuildId

                    func (x *FinalizeResultDB) GetBuildId() int64

                    func (*FinalizeResultDB) ProtoMessage

                    func (*FinalizeResultDB) ProtoMessage()

                    func (*FinalizeResultDB) ProtoReflect

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

                    func (*FinalizeResultDB) Reset

                    func (x *FinalizeResultDB) Reset()

                    func (*FinalizeResultDB) String

                    func (x *FinalizeResultDB) String() string

                    type NotifyPubSub

                    type NotifyPubSub struct {
                    
                    	// ID of a build in the datastore. See model.Build.
                    	BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
                    	// Whether to use the global or build-specific callback Pub/Sub topic.
                    	Callback bool `protobuf:"varint,2,opt,name=callback,proto3" json:"callback,omitempty"`
                    	// contains filtered or unexported fields
                    }

                      A task to send a build notification on Pub/Sub.

                      func (*NotifyPubSub) Descriptor

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

                        Deprecated: Use NotifyPubSub.ProtoReflect.Descriptor instead.

                        func (*NotifyPubSub) GetBuildId

                        func (x *NotifyPubSub) GetBuildId() int64

                        func (*NotifyPubSub) GetCallback

                        func (x *NotifyPubSub) GetCallback() bool

                        func (*NotifyPubSub) ProtoMessage

                        func (*NotifyPubSub) ProtoMessage()

                        func (*NotifyPubSub) ProtoReflect

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

                        func (*NotifyPubSub) Reset

                        func (x *NotifyPubSub) Reset()

                        func (*NotifyPubSub) String

                        func (x *NotifyPubSub) String() string