audit

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func ListEventsFailErrMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListEventsFailErrMocked test mocked function

func ListEventsFailJSONMocked added in v0.12.0

func ListEventsFailJSONMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListEventsFailJSONMocked test mocked function

func ListEventsFailStatusMocked added in v0.12.0

func ListEventsFailStatusMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListEventsFailStatusMocked test mocked function

func ListEventsMocked added in v0.12.0

func ListEventsMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListEventsMocked test mocked function

func ListSysEventsFailErrMocked added in v0.12.0

func ListSysEventsFailErrMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListSysEventsFailErrMocked test mocked function

func ListSysEventsFailJSONMocked added in v0.12.0

func ListSysEventsFailJSONMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListSysEventsFailJSONMocked test mocked function

func ListSysEventsFailStatusMocked added in v0.12.0

func ListSysEventsFailStatusMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListSysEventsFailStatusMocked test mocked function

func ListSysEventsMocked added in v0.12.0

func ListSysEventsMocked(t *testing.T, eventsIn []*types.Event) []*types.Event

ListSysEventsMocked 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

Jump to

Keyboard shortcuts

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