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.
Click to show internal directories.
Click to hide internal directories.