luci: go.chromium.org/luci/buildbucket/appengine/tasks/defs Index | Files

package taskdefs

import "go.chromium.org/luci/buildbucket/appengine/tasks/defs"

Package taskdefs contains task queue task definitions.

Index

Package Files

doc.go gen.go tasks.pb.go

Variables

var File_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto protoreflect.FileDescriptor

type CancelSwarmingTask Uses

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 Uses

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

Deprecated: Use CancelSwarmingTask.ProtoReflect.Descriptor instead.

func (*CancelSwarmingTask) GetHostname Uses

func (x *CancelSwarmingTask) GetHostname() string

func (*CancelSwarmingTask) GetRealm Uses

func (x *CancelSwarmingTask) GetRealm() string

func (*CancelSwarmingTask) GetTaskId Uses

func (x *CancelSwarmingTask) GetTaskId() string

func (*CancelSwarmingTask) ProtoMessage Uses

func (*CancelSwarmingTask) ProtoMessage()

func (*CancelSwarmingTask) ProtoReflect Uses

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

func (*CancelSwarmingTask) Reset Uses

func (x *CancelSwarmingTask) Reset()

func (*CancelSwarmingTask) String Uses

func (x *CancelSwarmingTask) String() string

type ExportBigQuery Uses

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 Uses

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

Deprecated: Use ExportBigQuery.ProtoReflect.Descriptor instead.

func (*ExportBigQuery) GetBuildId Uses

func (x *ExportBigQuery) GetBuildId() int64

func (*ExportBigQuery) ProtoMessage Uses

func (*ExportBigQuery) ProtoMessage()

func (*ExportBigQuery) ProtoReflect Uses

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

func (*ExportBigQuery) Reset Uses

func (x *ExportBigQuery) Reset()

func (*ExportBigQuery) String Uses

func (x *ExportBigQuery) String() string

type FinalizeResultDB Uses

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 Uses

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

Deprecated: Use FinalizeResultDB.ProtoReflect.Descriptor instead.

func (*FinalizeResultDB) GetBuildId Uses

func (x *FinalizeResultDB) GetBuildId() int64

func (*FinalizeResultDB) ProtoMessage Uses

func (*FinalizeResultDB) ProtoMessage()

func (*FinalizeResultDB) ProtoReflect Uses

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

func (*FinalizeResultDB) Reset Uses

func (x *FinalizeResultDB) Reset()

func (*FinalizeResultDB) String Uses

func (x *FinalizeResultDB) String() string

type NotifyPubSub Uses

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 Uses

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

Deprecated: Use NotifyPubSub.ProtoReflect.Descriptor instead.

func (*NotifyPubSub) GetBuildId Uses

func (x *NotifyPubSub) GetBuildId() int64

func (*NotifyPubSub) GetCallback Uses

func (x *NotifyPubSub) GetCallback() bool

func (*NotifyPubSub) ProtoMessage Uses

func (*NotifyPubSub) ProtoMessage()

func (*NotifyPubSub) ProtoReflect Uses

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

func (*NotifyPubSub) Reset Uses

func (x *NotifyPubSub) Reset()

func (*NotifyPubSub) String Uses

func (x *NotifyPubSub) String() string

Package taskdefs imports 4 packages (graph) and is imported by 2 packages. Updated 2020-11-27. Refresh now. Tools for package owners.