Documentation
Overview ¶
Package taskdefs contains task queue task definitions.
Index ¶
- Variables
- type CancelSwarmingTask
- func (*CancelSwarmingTask) Descriptor() ([]byte, []int)
- func (x *CancelSwarmingTask) GetHostname() string
- func (x *CancelSwarmingTask) GetRealm() string
- func (x *CancelSwarmingTask) GetTaskId() string
- func (*CancelSwarmingTask) ProtoMessage()
- func (x *CancelSwarmingTask) ProtoReflect() protoreflect.Message
- func (x *CancelSwarmingTask) Reset()
- func (x *CancelSwarmingTask) String() string
- type ExportBigQuery
- type NotifyPubSub
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 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 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