luci: go.chromium.org/luci/scheduler/appengine/task/buildbucket Index | Files

package buildbucket

import "go.chromium.org/luci/scheduler/appengine/task/buildbucket"

Package buildbucket implements tasks that run Buildbucket jobs.

Index

Package Files

buildbucket.go

type TaskManager Uses

type TaskManager struct {
}

TaskManager implements task.Manager interface for tasks defined with BuildbucketTask proto message.

func (TaskManager) AbortTask Uses

func (m TaskManager) AbortTask(c context.Context, ctl task.Controller) error

AbortTask is part of Manager interface.

func (TaskManager) HandleNotification Uses

func (m TaskManager) HandleNotification(c context.Context, ctl task.Controller, msg *pubsub.PubsubMessage) error

HandleNotification is part of Manager interface.

func (TaskManager) HandleTimer Uses

func (m TaskManager) HandleTimer(c context.Context, ctl task.Controller, name string, payload []byte) error

HandleTimer is part of Manager interface.

func (TaskManager) LaunchTask Uses

func (m TaskManager) LaunchTask(c context.Context, ctl task.Controller) error

LaunchTask is part of Manager interface.

func (TaskManager) Name Uses

func (m TaskManager) Name() string

Name is part of Manager interface.

func (TaskManager) ProtoMessageType Uses

func (m TaskManager) ProtoMessageType() proto.Message

ProtoMessageType is part of Manager interface.

func (TaskManager) Traits Uses

func (m TaskManager) Traits() task.Traits

Traits is part of Manager interface.

func (TaskManager) ValidateProtoMessage Uses

func (m TaskManager) ValidateProtoMessage(c *validation.Context, msg proto.Message)

ValidateProtoMessage is part of Manager interface.

Package buildbucket imports 19 packages (graph) and is imported by 2 packages. Updated 2018-10-19. Refresh now. Tools for package owners.