clipb

package
v0.0.0-...-d3da680 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clipb contains protobuf messages used by Swarming CLI.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_client_cmd_swarming_swarmingimpl_clipb_cli_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ResultSummaryEntry

type ResultSummaryEntry struct {
	Error   string                     `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Output  string                     `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	Outputs []string                   `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Results *api_v2.TaskResultResponse `protobuf:"bytes,4,opt,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

One entry in a JSON output of `collect`.

`collect` outputs a dict `{task ID: ResultSummaryEntry}`.

func (*ResultSummaryEntry) Descriptor deprecated

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

Deprecated: Use ResultSummaryEntry.ProtoReflect.Descriptor instead.

func (*ResultSummaryEntry) GetError

func (x *ResultSummaryEntry) GetError() string

func (*ResultSummaryEntry) GetOutput

func (x *ResultSummaryEntry) GetOutput() string

func (*ResultSummaryEntry) GetOutputs

func (x *ResultSummaryEntry) GetOutputs() []string

func (*ResultSummaryEntry) GetResults

func (x *ResultSummaryEntry) GetResults() *api_v2.TaskResultResponse

func (*ResultSummaryEntry) ProtoMessage

func (*ResultSummaryEntry) ProtoMessage()

func (*ResultSummaryEntry) ProtoReflect

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

func (*ResultSummaryEntry) Reset

func (x *ResultSummaryEntry) Reset()

func (*ResultSummaryEntry) String

func (x *ResultSummaryEntry) String() string

type SpawnTasksInput

type SpawnTasksInput struct {
	Requests []*api_v2.NewTaskRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

JSON input for `spawn-tasks`.

func (*SpawnTasksInput) Descriptor deprecated

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

Deprecated: Use SpawnTasksInput.ProtoReflect.Descriptor instead.

func (*SpawnTasksInput) GetRequests

func (x *SpawnTasksInput) GetRequests() []*api_v2.NewTaskRequest

func (*SpawnTasksInput) ProtoMessage

func (*SpawnTasksInput) ProtoMessage()

func (*SpawnTasksInput) ProtoReflect

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

func (*SpawnTasksInput) Reset

func (x *SpawnTasksInput) Reset()

func (*SpawnTasksInput) String

func (x *SpawnTasksInput) String() string

type SpawnTasksOutput

type SpawnTasksOutput struct {
	Tasks []*api_v2.TaskRequestMetadataResponse `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

JSON output of `spawn-tasks` and JSON input of `collect`.

func (*SpawnTasksOutput) Descriptor deprecated

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

Deprecated: Use SpawnTasksOutput.ProtoReflect.Descriptor instead.

func (*SpawnTasksOutput) GetTasks

func (*SpawnTasksOutput) ProtoMessage

func (*SpawnTasksOutput) ProtoMessage()

func (*SpawnTasksOutput) ProtoReflect

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

func (*SpawnTasksOutput) Reset

func (x *SpawnTasksOutput) Reset()

func (*SpawnTasksOutput) String

func (x *SpawnTasksOutput) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL