Documentation ¶
Index ¶
- func GetAdminReportErrMocked(t *testing.T, adminReport *types.Report) *types.Report
- func GetAdminReportFailJSONMocked(t *testing.T, adminReport *types.Report) *types.Report
- func GetAdminReportFailStatusMocked(t *testing.T, adminReport *types.Report) *types.Report
- func GetAdminReportListErrMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report
- func GetAdminReportListFailJSONMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report
- func GetAdminReportListFailStatusMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report
- func GetAdminReportListMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report
- func GetAdminReportMocked(t *testing.T, adminReport *types.Report) *types.Report
- type ReportService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAdminReportErrMocked ¶
GetAdminReportErrMocked test mocked function
func GetAdminReportFailJSONMocked ¶
GetAdminReportFailJSONMocked test mocked function
func GetAdminReportFailStatusMocked ¶
GetAdminReportFailStatusMocked test mocked function
func GetAdminReportListErrMocked ¶
GetAdminReportListErrMocked test mocked function
func GetAdminReportListFailJSONMocked ¶
GetAdminReportListFailJSONMocked test mocked function
func GetAdminReportListFailStatusMocked ¶
func GetAdminReportListFailStatusMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report
GetAdminReportListFailStatusMocked test mocked function
func GetAdminReportListMocked ¶
GetAdminReportListMocked test mocked function
Types ¶
type ReportService ¶
type ReportService struct {
// contains filtered or unexported fields
}
ReportService manages report operations
func NewReportService ¶
func NewReportService(concertoService utils.ConcertoService) (*ReportService, error)
NewReportService returns a Concerto report service
func (*ReportService) GetAdminReport ¶
func (rs *ReportService) GetAdminReport(ID string) (report *types.Report, err error)
GetAdminReport returns a report by its ID
func (*ReportService) GetAdminReportList ¶
func (rs *ReportService) GetAdminReportList() (reports []types.Report, err error)
GetAdminReportList returns the list of reports as an array of Report
Click to show internal directories.
Click to hide internal directories.