Documentation ¶
Index ¶
- type Server
- func (s *Server) GetAllRequestsStatus(ctx context.Context, req *report_manager.AllStatusRequest) (*report_manager.AllStatusResponse, error)
- func (s *Server) GetPresignedURL(ctx context.Context, req *report_manager.GetPresignedURLRequest) (*report_manager.GetPresignedURLResponse, error)
- func (s *Server) PrepareCustomReport(ctx context.Context, req *report_manager.CustomReportRequest) (*report_manager.CustomReportResponse, error)
- func (s *Server) StoreReport(stream report_manager.ReportManagerService_StoreReportServer) error
- type TSL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { ObjStoreClient objstore.ObjectStore ComplianceReportingClient cc_reporting.ReportingServiceClient CerealManager *cereal.Manager ObjBucket string DataStore *storage.DB EnableLargeReporting bool TSL TSL // contains filtered or unexported fields }
Server implementation for reporting
func New ¶
func New(objStoreClient *minio.Client, cerealManager *cereal.Manager, conf config.ReportManager, db *storage.DB, complianceReportingClient cc_reporting.ReportingServiceClient) *Server
New creates a new server
func (*Server) GetAllRequestsStatus ¶
func (s *Server) GetAllRequestsStatus(ctx context.Context, req *report_manager.AllStatusRequest) (*report_manager.AllStatusResponse, error)
func (*Server) GetPresignedURL ¶
func (s *Server) GetPresignedURL(ctx context.Context, req *report_manager.GetPresignedURLRequest) ( *report_manager.GetPresignedURLResponse, error)
func (*Server) PrepareCustomReport ¶
func (s *Server) PrepareCustomReport(ctx context.Context, req *report_manager.CustomReportRequest) ( *report_manager.CustomReportResponse, error)
func (*Server) StoreReport ¶
func (s *Server) StoreReport(stream report_manager.ReportManagerService_StoreReportServer) error
Click to show internal directories.
Click to hide internal directories.