Back to godoc.org

Package taskdefs

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

Overview

Package taskdefs contains task queue task definitions.

Index

Variables

var File_go_chromium_org_luci_buildbucket_appengine_tasks_defs_tasks_proto protoreflect.FileDescriptor

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

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