audit

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 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

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