Documentation ¶
Index ¶
- Variables
- type WaitTaskResult
- func (*WaitTaskResult) Descriptor() ([]byte, []int)deprecated
- func (x *WaitTaskResult) GetChildResults() []*WaitTaskResult_Task
- func (x *WaitTaskResult) GetLogDataUrl() *WaitTaskResult_LogDataURL
- func (x *WaitTaskResult) GetResult() *WaitTaskResult_Task
- func (x *WaitTaskResult) GetStdout() string
- func (*WaitTaskResult) ProtoMessage()
- func (x *WaitTaskResult) ProtoReflect() protoreflect.Message
- func (x *WaitTaskResult) Reset()
- func (x *WaitTaskResult) String() string
- type WaitTaskResult_LogDataURL
- func (*WaitTaskResult_LogDataURL) Descriptor() ([]byte, []int)deprecated
- func (x *WaitTaskResult_LogDataURL) GetGsUrl() string
- func (x *WaitTaskResult_LogDataURL) GetIsolateUrl() stringdeprecated
- func (*WaitTaskResult_LogDataURL) ProtoMessage()
- func (x *WaitTaskResult_LogDataURL) ProtoReflect() protoreflect.Message
- func (x *WaitTaskResult_LogDataURL) Reset()
- func (x *WaitTaskResult_LogDataURL) String() string
- type WaitTaskResult_Task
- func (*WaitTaskResult_Task) Descriptor() ([]byte, []int)deprecated
- func (x *WaitTaskResult_Task) GetFailure() bool
- func (x *WaitTaskResult_Task) GetName() string
- func (x *WaitTaskResult_Task) GetState() string
- func (x *WaitTaskResult_Task) GetSuccess() bool
- func (x *WaitTaskResult_Task) GetTaskLogsUrl() string
- func (x *WaitTaskResult_Task) GetTaskRequestId() string
- func (x *WaitTaskResult_Task) GetTaskRunId() string
- func (x *WaitTaskResult_Task) GetTaskRunUrl() string
- func (*WaitTaskResult_Task) ProtoMessage()
- func (x *WaitTaskResult_Task) ProtoReflect() protoreflect.Message
- func (x *WaitTaskResult_Task) Reset()
- func (x *WaitTaskResult_Task) String() string
- type WaitTasksResult
- func (*WaitTasksResult) Descriptor() ([]byte, []int)deprecated
- func (x *WaitTasksResult) GetIncomplete() bool
- func (x *WaitTasksResult) GetResults() []*WaitTaskResult
- func (*WaitTasksResult) ProtoMessage()
- func (x *WaitTasksResult) ProtoReflect() protoreflect.Message
- func (x *WaitTasksResult) Reset()
- func (x *WaitTasksResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_platform_skylab_tool_result_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type WaitTaskResult ¶
type WaitTaskResult struct { Result *WaitTaskResult_Task `protobuf:"bytes,1,opt,name=result,json=task-result,proto3" json:"result,omitempty"` Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` ChildResults []*WaitTaskResult_Task `protobuf:"bytes,3,rep,name=child_results,json=child-results,proto3" json:"child_results,omitempty"` LogDataUrl *WaitTaskResult_LogDataURL `protobuf:"bytes,4,opt,name=log_data_url,json=log-data-url,proto3" json:"log_data_url,omitempty"` // contains filtered or unexported fields }
WaitTaskResult describes the format returned by the `skylab wait-task` subcommand.
func (*WaitTaskResult) Descriptor
deprecated
func (*WaitTaskResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitTaskResult.ProtoReflect.Descriptor instead.
func (*WaitTaskResult) GetChildResults ¶
func (x *WaitTaskResult) GetChildResults() []*WaitTaskResult_Task
func (*WaitTaskResult) GetLogDataUrl ¶
func (x *WaitTaskResult) GetLogDataUrl() *WaitTaskResult_LogDataURL
func (*WaitTaskResult) GetResult ¶
func (x *WaitTaskResult) GetResult() *WaitTaskResult_Task
func (*WaitTaskResult) GetStdout ¶
func (x *WaitTaskResult) GetStdout() string
func (*WaitTaskResult) ProtoMessage ¶
func (*WaitTaskResult) ProtoMessage()
func (*WaitTaskResult) ProtoReflect ¶
func (x *WaitTaskResult) ProtoReflect() protoreflect.Message
func (*WaitTaskResult) Reset ¶
func (x *WaitTaskResult) Reset()
func (*WaitTaskResult) String ¶
func (x *WaitTaskResult) String() string
type WaitTaskResult_LogDataURL ¶
type WaitTaskResult_LogDataURL struct { // Deprecated: Do not use. IsolateUrl string `protobuf:"bytes,1,opt,name=isolate_url,json=isolateUrl,proto3" json:"isolate_url,omitempty"` // Google Storage URL, in full "gs://bucket/foo/bar/baz" form GsUrl string `protobuf:"bytes,2,opt,name=gs_url,json=gs-url,proto3" json:"gs_url,omitempty"` // contains filtered or unexported fields }
func (*WaitTaskResult_LogDataURL) Descriptor
deprecated
func (*WaitTaskResult_LogDataURL) Descriptor() ([]byte, []int)
Deprecated: Use WaitTaskResult_LogDataURL.ProtoReflect.Descriptor instead.
func (*WaitTaskResult_LogDataURL) GetGsUrl ¶
func (x *WaitTaskResult_LogDataURL) GetGsUrl() string
func (*WaitTaskResult_LogDataURL) GetIsolateUrl
deprecated
func (x *WaitTaskResult_LogDataURL) GetIsolateUrl() string
Deprecated: Do not use.
func (*WaitTaskResult_LogDataURL) ProtoMessage ¶
func (*WaitTaskResult_LogDataURL) ProtoMessage()
func (*WaitTaskResult_LogDataURL) ProtoReflect ¶
func (x *WaitTaskResult_LogDataURL) ProtoReflect() protoreflect.Message
func (*WaitTaskResult_LogDataURL) Reset ¶
func (x *WaitTaskResult_LogDataURL) Reset()
func (*WaitTaskResult_LogDataURL) String ¶
func (x *WaitTaskResult_LogDataURL) String() string
type WaitTaskResult_Task ¶
type WaitTaskResult_Task struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // TODO(crbug.com/964573): Deprecate this field. Failure bool `protobuf:"varint,3,opt,name=failure,proto3" json:"failure,omitempty"` Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"` // Note: These fields are a little problematic, because they are not // independently meaningful to the caller; their meaning depends on the // namespace (buildbucket vs. swarming) and, in the case of swarming, // environment (dev vs. prod). Still, they are used by some clients, so // preserved for now. Note the distinction between TaskRunID and // TaskRequestID: in buildbucket runs, these will be equal. In swarming // runs, they will differ in the last character (this is the difference // between a swarming run id and request id). TaskRunId string `protobuf:"bytes,5,opt,name=task_run_id,json=task-run-id,proto3" json:"task_run_id,omitempty"` TaskRequestId string `protobuf:"bytes,6,opt,name=task_request_id,json=task-request-id,proto3" json:"task_request_id,omitempty"` // Note: these URL fields are only populated for -bb runs; eventually, // non-bb runs will be deprecated. TaskRunUrl string `protobuf:"bytes,7,opt,name=task_run_url,json=task-run-url,proto3" json:"task_run_url,omitempty"` TaskLogsUrl string `protobuf:"bytes,8,opt,name=task_logs_url,json=task-logs-url,proto3" json:"task_logs_url,omitempty"` // contains filtered or unexported fields }
func (*WaitTaskResult_Task) Descriptor
deprecated
func (*WaitTaskResult_Task) Descriptor() ([]byte, []int)
Deprecated: Use WaitTaskResult_Task.ProtoReflect.Descriptor instead.
func (*WaitTaskResult_Task) GetFailure ¶
func (x *WaitTaskResult_Task) GetFailure() bool
func (*WaitTaskResult_Task) GetName ¶
func (x *WaitTaskResult_Task) GetName() string
func (*WaitTaskResult_Task) GetState ¶
func (x *WaitTaskResult_Task) GetState() string
func (*WaitTaskResult_Task) GetSuccess ¶
func (x *WaitTaskResult_Task) GetSuccess() bool
func (*WaitTaskResult_Task) GetTaskLogsUrl ¶
func (x *WaitTaskResult_Task) GetTaskLogsUrl() string
func (*WaitTaskResult_Task) GetTaskRequestId ¶
func (x *WaitTaskResult_Task) GetTaskRequestId() string
func (*WaitTaskResult_Task) GetTaskRunId ¶
func (x *WaitTaskResult_Task) GetTaskRunId() string
func (*WaitTaskResult_Task) GetTaskRunUrl ¶
func (x *WaitTaskResult_Task) GetTaskRunUrl() string
func (*WaitTaskResult_Task) ProtoMessage ¶
func (*WaitTaskResult_Task) ProtoMessage()
func (*WaitTaskResult_Task) ProtoReflect ¶
func (x *WaitTaskResult_Task) ProtoReflect() protoreflect.Message
func (*WaitTaskResult_Task) Reset ¶
func (x *WaitTaskResult_Task) Reset()
func (*WaitTaskResult_Task) String ¶
func (x *WaitTaskResult_Task) String() string
type WaitTasksResult ¶
type WaitTasksResult struct { Results []*WaitTaskResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // True if an error or timeout was encountered while waiting for tasks to // complete. Incomplete bool `protobuf:"varint,2,opt,name=incomplete,proto3" json:"incomplete,omitempty"` // contains filtered or unexported fields }
WaitTasksResult describes the format returned by the `skylab wait-tasks` subcommand.
func (*WaitTasksResult) Descriptor
deprecated
func (*WaitTasksResult) Descriptor() ([]byte, []int)
Deprecated: Use WaitTasksResult.ProtoReflect.Descriptor instead.
func (*WaitTasksResult) GetIncomplete ¶
func (x *WaitTasksResult) GetIncomplete() bool
func (*WaitTasksResult) GetResults ¶
func (x *WaitTasksResult) GetResults() []*WaitTaskResult
func (*WaitTasksResult) ProtoMessage ¶
func (*WaitTasksResult) ProtoMessage()
func (*WaitTasksResult) ProtoReflect ¶
func (x *WaitTasksResult) ProtoReflect() protoreflect.Message
func (*WaitTasksResult) Reset ¶
func (x *WaitTasksResult) Reset()
func (*WaitTasksResult) String ¶
func (x *WaitTasksResult) String() string
Click to show internal directories.
Click to hide internal directories.