admin

package
v0.0.0-...-43d62ff Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdminReportErrMocked

func GetAdminReportErrMocked(t *testing.T, adminReport *types.Report) *types.Report

GetAdminReportErrMocked test mocked function

func GetAdminReportFailJSONMocked

func GetAdminReportFailJSONMocked(t *testing.T, adminReport *types.Report) *types.Report

GetAdminReportFailJSONMocked test mocked function

func GetAdminReportFailStatusMocked

func GetAdminReportFailStatusMocked(t *testing.T, adminReport *types.Report) *types.Report

GetAdminReportFailStatusMocked test mocked function

func GetAdminReportListErrMocked

func GetAdminReportListErrMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report

GetAdminReportListErrMocked test mocked function

func GetAdminReportListFailJSONMocked

func GetAdminReportListFailJSONMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report

GetAdminReportListFailJSONMocked test mocked function

func GetAdminReportListFailStatusMocked

func GetAdminReportListFailStatusMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report

GetAdminReportListFailStatusMocked test mocked function

func GetAdminReportListMocked

func GetAdminReportListMocked(t *testing.T, adminReportsIn *[]types.Report) *[]types.Report

GetAdminReportListMocked test mocked function

func GetAdminReportMocked

func GetAdminReportMocked(t *testing.T, adminReport *types.Report) *types.Report

GetAdminReportMocked 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

Jump to

Keyboard shortcuts

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