rpc

package
v0.0.0-...-d99a183 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachService

func AttachService(registry *poplar.RecorderRegistry, s *grpc.Server) error

func UploadReport

func UploadReport(ctx context.Context, opts UploadReportOptions) error

UploadReport does the following: 1. Ingest the report.json. 2. Upload the report to SPS over a REST endpoint.

Types

type UploadReportOptions

type UploadReportOptions struct {
	Report          *poplar.Report
	HTTPClient      *http.Client
	SPSURL          string
	SerializeUpload bool
	DryRun          bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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