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: 0

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