Back to godoc.org

Package gitiles

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Index

type Repository

type Repository struct {

	// ID is uniquely derived from jobID and repository URL, see repositoryID().
	ID string `gae:"$id"`

	// CompressedState stores gzip-compressed proto-serialized list of watched
	// refs with hashes of their tips.
	CompressedState []byte `gae:",noindex"`
	// contains filtered or unexported fields
}

Repository is used to store the repository status.

type TaskManager

type TaskManager struct {
	// contains filtered or unexported fields
}

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

func (TaskManager) AbortTask

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

AbortTask is part of Manager interface.

func (TaskManager) GetDebugState

func (m TaskManager) GetDebugState(c context.Context, ctl task.ControllerReadOnly) (*internal.DebugManagerState, error)

GetDebugState is part of Manager interface.

func (TaskManager) HandleNotification

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

HandleNotification is part of Manager interface.

func (TaskManager) HandleTimer

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

HandleTimer is part of Manager interface.

func (TaskManager) LaunchTask

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

LaunchTask is part of Manager interface.

func (TaskManager) Name

func (m TaskManager) Name() string

Name is part of Manager interface.

func (TaskManager) ProtoMessageType

func (m TaskManager) ProtoMessageType() proto.Message

ProtoMessageType is part of Manager interface.

func (TaskManager) Traits

func (m TaskManager) Traits() task.Traits

Traits is part of Manager interface.

func (TaskManager) ValidateProtoMessage

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

ValidateProtoMessage is part of Manager interface.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier