Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToString ¶
func ToString(sqlValue sql.NullString) string
ToString gives string representation of the specified sqlValue
Types ¶
type ActionRepresentation ¶
ActionRepresentation struct
type AuditEventsRepresentation ¶
type AuditEventsRepresentation struct { Events []AuditRepresentation `json:"events"` Count int `json:"count"` }
AuditEventsRepresentation is the type of the GetEvents response
type AuditRepresentation ¶
type AuditRepresentation struct { AuditID int64 `json:"auditId,omitempty"` AuditTime int64 `json:"auditTime,omitempty"` Origin string `json:"origin,omitempty"` RealmName string `json:"realmName,omitempty"` AgentUserID string `json:"agentUserId,omitempty"` AgentUsername string `json:"agentUsername,omitempty"` AgentRealmName string `json:"agentRealmName,omitempty"` UserID string `json:"userId,omitempty"` Username string `json:"username,omitempty"` CtEventType string `json:"ctEventType,omitempty"` KcEventType string `json:"kcEventType,omitempty"` KcOperationType string `json:"kcOperationType,omitempty"` ClientID string `json:"clientId,omitempty"` AdditionalInfo string `json:"additionalInfo,omitempty"` }
AuditRepresentation elements returned by GetEvents
type DbAuditRepresentation ¶
type DbAuditRepresentation struct { AuditID int64 AuditTime int64 Origin sql.NullString RealmName sql.NullString AgentUserID sql.NullString AgentUsername sql.NullString AgentRealmName sql.NullString UserID sql.NullString Username sql.NullString CtEventType sql.NullString KcEventType sql.NullString KcOperationType sql.NullString ClientID sql.NullString AdditionalInfo sql.NullString }
DbAuditRepresentation is a non serializable AuditRepresentation read from database
func (*DbAuditRepresentation) ToAuditRepresentation ¶
func (dba *DbAuditRepresentation) ToAuditRepresentation() AuditRepresentation
ToAuditRepresentation converts a DbAuditRepresentation to a serializable value
type EventSummaryRepresentation ¶
type EventSummaryRepresentation struct { Origins []string `json:"origins,omitempty"` CtEventTypes []string `json:"ctEventTypes,omitempty"` }
EventSummaryRepresentation elements returned by GetEventsSummary
Click to show internal directories.
Click to hide internal directories.