rpc

package
v0.0.0-...-28919e2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 2

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. Send all artifact files to the user-specified buckets using user-specified keys. 3. Send the metrics metadata and pre-calculated summaries to Cedar over gRPC using the Cedar creds.

Types

type UploadReportOptions

type UploadReportOptions struct {
	Report          *poplar.Report
	ClientConn      *grpc.ClientConn
	SerializeUpload bool
	DryRun          bool
}

UploadReportOptions contains all the required options for uploading a report to both Cedar and the Data Pipes service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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