Documentation ¶
Index ¶
- type Server
- func (srv *Server) Export(in *reporting.Query, stream reporting.ReportingService_ExportServer) error
- func (srv *Server) ListNodes(ctx context.Context, in *reporting.Query) (*reporting.Nodes, error)
- func (srv *Server) ListProfiles(ctx context.Context, in *reporting.Query) (*reporting.ProfileMins, error)
- func (srv *Server) ListReports(ctx context.Context, in *reporting.Query) (*reporting.Reports, error)
- func (srv *Server) ListSuggestions(ctx context.Context, in *reporting.SuggestionRequest) (*reporting.Suggestions, error)
- func (srv *Server) ReadNode(ctx context.Context, in *reporting.Id) (*reporting.Node, error)
- func (srv *Server) ReadReport(ctx context.Context, in *reporting.Query) (*reporting.Report, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implementation for reporting
func (*Server) Export ¶
func (srv *Server) Export(in *reporting.Query, stream reporting.ReportingService_ExportServer) error
Export streams a json or csv export
func (*Server) ListProfiles ¶
func (srv *Server) ListProfiles(ctx context.Context, in *reporting.Query) (*reporting.ProfileMins, error)
ListProfiles returns a list of profiles based on query
func (*Server) ListReports ¶
func (srv *Server) ListReports(ctx context.Context, in *reporting.Query) (*reporting.Reports, error)
ListReports returns a list of reports based on query
func (*Server) ListSuggestions ¶
func (srv *Server) ListSuggestions(ctx context.Context, in *reporting.SuggestionRequest) (*reporting.Suggestions, error)
ListSuggestions returns a list of suggestions based on query
Click to show internal directories.
Click to hide internal directories.