Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogEvent ¶
type AuditLogEvent struct {
UserId repos.ID `json:"userId" bson:"userId"`
Email string `json:"email" bson:"email"`
Action string `json:"action" bson:"action"`
Description string `json:"description" bson:"description"`
Tags map[string]string `json:"tags" bson:"tags"`
Target EventTarget `json:"target" bson:"target"`
When time.Time `json:"when" bson:"when"`
}
AuditLogEvent represents who did what and when
type Beacon ¶
type EventAction ¶
type EventAction struct {
Action constants.Action `json:"action" bson:"action"`
Status Status `json:"status" bson:"status"`
ResourceType constants.ResourceType `json:"resourceType" bson:"resourceType"`
ResourceId repos.ID `json:"resourceId" bson:"resourceId"`
Tags map[string]string `json:"tags" bson:"tags"`
}
type EventTarget ¶
type EventTarget struct {
ResourceType constants.ResourceType `json:"resourceType" bson:"resourceType"`
ResourceId repos.ID `json:"resourceId" bson:"resourceId"`
}
Click to show internal directories.
Click to hide internal directories.