Documentation ¶
Index ¶
- Variables
- type PageToken
- type ReachableInvocations
- func (*ReachableInvocations) Descriptor() ([]byte, []int)deprecated
- func (x *ReachableInvocations) GetInvocations() []*ReachableInvocations_ReachableInvocation
- func (x *ReachableInvocations) GetSources() []*v1.Sources
- func (*ReachableInvocations) ProtoMessage()
- func (x *ReachableInvocations) ProtoReflect() protoreflect.Message
- func (x *ReachableInvocations) Reset()
- func (x *ReachableInvocations) String() string
- type ReachableInvocations_ReachableInvocation
- func (*ReachableInvocations_ReachableInvocation) Descriptor() ([]byte, []int)deprecated
- func (x *ReachableInvocations_ReachableInvocation) GetHasTestExonerations() bool
- func (x *ReachableInvocations_ReachableInvocation) GetHasTestResults() bool
- func (x *ReachableInvocations_ReachableInvocation) GetIncludedInvocationIds() []string
- func (x *ReachableInvocations_ReachableInvocation) GetInstructions() *v1.Instructions
- func (x *ReachableInvocations_ReachableInvocation) GetInvocationId() string
- func (x *ReachableInvocations_ReachableInvocation) GetRealm() string
- func (x *ReachableInvocations_ReachableInvocation) GetSourceOffset() int64
- func (*ReachableInvocations_ReachableInvocation) ProtoMessage()
- func (x *ReachableInvocations_ReachableInvocation) ProtoReflect() protoreflect.Message
- func (x *ReachableInvocations_ReachableInvocation) Reset()
- func (x *ReachableInvocations_ReachableInvocation) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_resultdb_internal_proto_page_token_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_resultdb_internal_proto_redis_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PageToken ¶
type PageToken struct { // Position marks the cursor's start (exclusive). Its interpretation is // implementation-specific. For instance, for a Spanner cursor, this is a // string slice representation of the Spanner key corresponding to the entry // prior to the one at which to start reading, or empty if the cursor is to // start at the beginning. Position []string `protobuf:"bytes,1,rep,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
A message for storing all the information attached to a page token.
func (*PageToken) Descriptor
deprecated
func (*PageToken) GetPosition ¶
func (*PageToken) ProtoMessage ¶
func (*PageToken) ProtoMessage()
func (*PageToken) ProtoReflect ¶
func (x *PageToken) ProtoReflect() protoreflect.Message
type ReachableInvocations ¶
type ReachableInvocations struct { // The invocations reachable. This includes the root invocation // (the invocation for which this cache entry is) itself. Invocations []*ReachableInvocations_ReachableInvocation `protobuf:"bytes,1,rep,name=invocations,proto3" json:"invocations,omitempty"` // The distinct sources in the reachable invocation graph. // As many invocations will have the same sources, this // is used to reduce the stored size. Sources []*v1.Sources `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` // contains filtered or unexported fields }
ReachableInvocations captures the invocations reachable from a root invocation (including the invocation itself). It is stored as a value in redis for finalized invocations alongside the ID of that invocation.
func (*ReachableInvocations) Descriptor
deprecated
func (*ReachableInvocations) Descriptor() ([]byte, []int)
Deprecated: Use ReachableInvocations.ProtoReflect.Descriptor instead.
func (*ReachableInvocations) GetInvocations ¶
func (x *ReachableInvocations) GetInvocations() []*ReachableInvocations_ReachableInvocation
func (*ReachableInvocations) GetSources ¶
func (x *ReachableInvocations) GetSources() []*v1.Sources
func (*ReachableInvocations) ProtoMessage ¶
func (*ReachableInvocations) ProtoMessage()
func (*ReachableInvocations) ProtoReflect ¶
func (x *ReachableInvocations) ProtoReflect() protoreflect.Message
func (*ReachableInvocations) Reset ¶
func (x *ReachableInvocations) Reset()
func (*ReachableInvocations) String ¶
func (x *ReachableInvocations) String() string
type ReachableInvocations_ReachableInvocation ¶
type ReachableInvocations_ReachableInvocation struct { // The invocation ID. InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"` // Whether the invocation has any test results. HasTestResults bool `protobuf:"varint,2,opt,name=has_test_results,json=hasTestResults,proto3" json:"has_test_results,omitempty"` // Whether the invocation has any test exonerations. HasTestExonerations bool `protobuf:"varint,3,opt,name=has_test_exonerations,json=hasTestExonerations,proto3" json:"has_test_exonerations,omitempty"` // The realm of the invocation. Realm string `protobuf:"bytes,4,opt,name=realm,proto3" json:"realm,omitempty"` // The offset of this invocation's resolved sources // in ReachableInvocations.sources. // 0 indicates there are no sources, 1 indicates the // sources are at ReachableInvocations.sources[0], 2 indicates // the sources are at ReachableInvocations.sources[1] and so on. SourceOffset int64 `protobuf:"varint,5,opt,name=source_offset,json=sourceOffset,proto3" json:"source_offset,omitempty"` // The instructions for this invocation. // It only contains test result instruction, with all content removed. Instructions *v1.Instructions `protobuf:"bytes,6,opt,name=instructions,proto3" json:"instructions,omitempty"` // The invocation IDs of invocations included in this invocation. IncludedInvocationIds []string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ReachableInvocations_ReachableInvocation) Descriptor
deprecated
func (*ReachableInvocations_ReachableInvocation) Descriptor() ([]byte, []int)
Deprecated: Use ReachableInvocations_ReachableInvocation.ProtoReflect.Descriptor instead.
func (*ReachableInvocations_ReachableInvocation) GetHasTestExonerations ¶
func (x *ReachableInvocations_ReachableInvocation) GetHasTestExonerations() bool
func (*ReachableInvocations_ReachableInvocation) GetHasTestResults ¶
func (x *ReachableInvocations_ReachableInvocation) GetHasTestResults() bool
func (*ReachableInvocations_ReachableInvocation) GetIncludedInvocationIds ¶
func (x *ReachableInvocations_ReachableInvocation) GetIncludedInvocationIds() []string
func (*ReachableInvocations_ReachableInvocation) GetInstructions ¶
func (x *ReachableInvocations_ReachableInvocation) GetInstructions() *v1.Instructions
func (*ReachableInvocations_ReachableInvocation) GetInvocationId ¶
func (x *ReachableInvocations_ReachableInvocation) GetInvocationId() string
func (*ReachableInvocations_ReachableInvocation) GetRealm ¶
func (x *ReachableInvocations_ReachableInvocation) GetRealm() string
func (*ReachableInvocations_ReachableInvocation) GetSourceOffset ¶
func (x *ReachableInvocations_ReachableInvocation) GetSourceOffset() int64
func (*ReachableInvocations_ReachableInvocation) ProtoMessage ¶
func (*ReachableInvocations_ReachableInvocation) ProtoMessage()
func (*ReachableInvocations_ReachableInvocation) ProtoReflect ¶
func (x *ReachableInvocations_ReachableInvocation) ProtoReflect() protoreflect.Message
func (*ReachableInvocations_ReachableInvocation) Reset ¶
func (x *ReachableInvocations_ReachableInvocation) Reset()
func (*ReachableInvocations_ReachableInvocation) String ¶
func (x *ReachableInvocations_ReachableInvocation) String() string
Click to show internal directories.
Click to hide internal directories.