Documentation ¶
Index ¶
- Constants
- func ListEventsFailErrMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListEventsFailJSONMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListEventsFailStatusMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListEventsMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListSysEventsFailErrMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListSysEventsFailJSONMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListSysEventsFailStatusMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- func ListSysEventsMocked(t *testing.T, eventsIn []*types.Event) []*types.Event
- type EventService
Constants ¶
View Source
const APIPathAuditEvents = "/audit/events"
View Source
const APIPathAuditSystemEvents = "/audit/system_events"
Variables ¶
This section is empty.
Functions ¶
func ListEventsFailErrMocked ¶ added in v0.12.0
ListEventsFailErrMocked test mocked function
func ListEventsFailJSONMocked ¶ added in v0.12.0
ListEventsFailJSONMocked test mocked function
func ListEventsFailStatusMocked ¶ added in v0.12.0
ListEventsFailStatusMocked test mocked function
func ListEventsMocked ¶ added in v0.12.0
ListEventsMocked test mocked function
func ListSysEventsFailErrMocked ¶ added in v0.12.0
ListSysEventsFailErrMocked test mocked function
func ListSysEventsFailJSONMocked ¶ added in v0.12.0
ListSysEventsFailJSONMocked test mocked function
func ListSysEventsFailStatusMocked ¶ added in v0.12.0
ListSysEventsFailStatusMocked test mocked function
Types ¶
type EventService ¶
type EventService struct {
// contains filtered or unexported fields
}
EventService manages event operations
func NewEventService ¶
func NewEventService(concertoService utils.ConcertoService) (*EventService, error)
NewEventService returns a Concerto event service
func (*EventService) ListEvents ¶ added in v0.12.0
func (es *EventService) ListEvents() (events []*types.Event, err error)
ListEvents returns the list of events as an array of Event
func (*EventService) ListSysEvents ¶ added in v0.12.0
func (es *EventService) ListSysEvents() (events []*types.Event, err error)
ListSysEvents returns the list of events as an array of Event
Click to show internal directories.
Click to hide internal directories.