Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_chromium_org_luci_resultdb_internal_proto_ui_ui_proto protoreflect.FileDescriptor
Functions ¶
func FileDescriptorSet ¶
func FileDescriptorSet() *descriptorpb.FileDescriptorSet
FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.
Will not return nil.
Do NOT modify the returned descriptor.
func RegisterUIServer ¶
Types ¶
type DecoratedUI ¶
type DecoratedUI struct { // Service is the service to decorate. Service UIServer // Prelude is called for each method before forwarding the call to Service. // If Prelude returns an error, then the call is skipped and the error is // processed via the Postlude (if one is defined), or it is returned directly. Prelude func(ctx context.Context, methodName string, req proto.Message) (context.Context, error) // Postlude is called for each method after Service has processed the call, or // after the Prelude has returned an error. This takes the the Service's // response proto (which may be nil) and/or any error. The decorated // service will return the response (possibly mutated) and error that Postlude // returns. Postlude func(ctx context.Context, methodName string, rsp proto.Message, err error) error }
func (*DecoratedUI) QueryTestVariants ¶
func (s *DecoratedUI) QueryTestVariants(ctx context.Context, req *v1.QueryTestVariantsRequest) (rsp *v1.QueryTestVariantsResponse, err error)
type UIClient ¶
type UIClient interface { // Retrieves test variants from an invocation, recursively. // Supports invocation inclusions. // For displaying test variants in the UI. QueryTestVariants(ctx context.Context, in *v1.QueryTestVariantsRequest, opts ...grpc.CallOption) (*v1.QueryTestVariantsResponse, error) }
UIClient is the client API for UI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUIClient ¶
func NewUIClient(cc grpc.ClientConnInterface) UIClient
func NewUIPRPCClient ¶
type UIServer ¶
type UIServer interface { // Retrieves test variants from an invocation, recursively. // Supports invocation inclusions. // For displaying test variants in the UI. QueryTestVariants(context.Context, *v1.QueryTestVariantsRequest) (*v1.QueryTestVariantsResponse, error) }
UIServer is the server API for UI service.
type UnimplementedUIServer ¶
type UnimplementedUIServer struct { }
UnimplementedUIServer can be embedded to have forward compatible implementations.
func (*UnimplementedUIServer) QueryTestVariants ¶
func (*UnimplementedUIServer) QueryTestVariants(context.Context, *v1.QueryTestVariantsRequest) (*v1.QueryTestVariantsResponse, error)
Click to show internal directories.
Click to hide internal directories.