Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Event) predicate.Event
- func EventName(v string) predicate.Event
- func EventNameContains(v string) predicate.Event
- func EventNameContainsFold(v string) predicate.Event
- func EventNameEQ(v string) predicate.Event
- func EventNameEqualFold(v string) predicate.Event
- func EventNameGT(v string) predicate.Event
- func EventNameGTE(v string) predicate.Event
- func EventNameHasPrefix(v string) predicate.Event
- func EventNameHasSuffix(v string) predicate.Event
- func EventNameIn(vs ...string) predicate.Event
- func EventNameLT(v string) predicate.Event
- func EventNameLTE(v string) predicate.Event
- func EventNameNEQ(v string) predicate.Event
- func EventNameNotIn(vs ...string) predicate.Event
- func EventSource(v string) predicate.Event
- func EventSourceContains(v string) predicate.Event
- func EventSourceContainsFold(v string) predicate.Event
- func EventSourceEQ(v string) predicate.Event
- func EventSourceEqualFold(v string) predicate.Event
- func EventSourceGT(v string) predicate.Event
- func EventSourceGTE(v string) predicate.Event
- func EventSourceHasPrefix(v string) predicate.Event
- func EventSourceHasSuffix(v string) predicate.Event
- func EventSourceIn(vs ...string) predicate.Event
- func EventSourceLT(v string) predicate.Event
- func EventSourceLTE(v string) predicate.Event
- func EventSourceNEQ(v string) predicate.Event
- func EventSourceNotIn(vs ...string) predicate.Event
- func EventTime(v time.Time) predicate.Event
- func EventTimeEQ(v time.Time) predicate.Event
- func EventTimeGT(v time.Time) predicate.Event
- func EventTimeGTE(v time.Time) predicate.Event
- func EventTimeIn(vs ...time.Time) predicate.Event
- func EventTimeLT(v time.Time) predicate.Event
- func EventTimeLTE(v time.Time) predicate.Event
- func EventTimeNEQ(v time.Time) predicate.Event
- func EventTimeNotIn(vs ...time.Time) predicate.Event
- func ID(id uuid.UUID) predicate.Event
- func IDEQ(id uuid.UUID) predicate.Event
- func IDGT(id uuid.UUID) predicate.Event
- func IDGTE(id uuid.UUID) predicate.Event
- func IDIn(ids ...uuid.UUID) predicate.Event
- func IDLT(id uuid.UUID) predicate.Event
- func IDLTE(id uuid.UUID) predicate.Event
- func IDNEQ(id uuid.UUID) predicate.Event
- func IDNotIn(ids ...uuid.UUID) predicate.Event
- func Not(p predicate.Event) predicate.Event
- func Or(predicates ...predicate.Event) predicate.Event
- func ReadOnly(v bool) predicate.Event
- func ReadOnlyEQ(v bool) predicate.Event
- func ReadOnlyNEQ(v bool) predicate.Event
- func RequestID(v string) predicate.Event
- func RequestIDContains(v string) predicate.Event
- func RequestIDContainsFold(v string) predicate.Event
- func RequestIDEQ(v string) predicate.Event
- func RequestIDEqualFold(v string) predicate.Event
- func RequestIDGT(v string) predicate.Event
- func RequestIDGTE(v string) predicate.Event
- func RequestIDHasPrefix(v string) predicate.Event
- func RequestIDHasSuffix(v string) predicate.Event
- func RequestIDIn(vs ...string) predicate.Event
- func RequestIDLT(v string) predicate.Event
- func RequestIDLTE(v string) predicate.Event
- func RequestIDNEQ(v string) predicate.Event
- func RequestIDNotIn(vs ...string) predicate.Event
- func Resource(v string) predicate.Event
- func ResourceContains(v string) predicate.Event
- func ResourceContainsFold(v string) predicate.Event
- func ResourceEQ(v string) predicate.Event
- func ResourceEqualFold(v string) predicate.Event
- func ResourceGT(v string) predicate.Event
- func ResourceGTE(v string) predicate.Event
- func ResourceHasPrefix(v string) predicate.Event
- func ResourceHasSuffix(v string) predicate.Event
- func ResourceIn(vs ...string) predicate.Event
- func ResourceLT(v string) predicate.Event
- func ResourceLTE(v string) predicate.Event
- func ResourceNEQ(v string) predicate.Event
- func ResourceNotIn(vs ...string) predicate.Event
- func SourceIP(v string) predicate.Event
- func SourceIPContains(v string) predicate.Event
- func SourceIPContainsFold(v string) predicate.Event
- func SourceIPEQ(v string) predicate.Event
- func SourceIPEqualFold(v string) predicate.Event
- func SourceIPGT(v string) predicate.Event
- func SourceIPGTE(v string) predicate.Event
- func SourceIPHasPrefix(v string) predicate.Event
- func SourceIPHasSuffix(v string) predicate.Event
- func SourceIPIn(vs ...string) predicate.Event
- func SourceIPLT(v string) predicate.Event
- func SourceIPLTE(v string) predicate.Event
- func SourceIPNEQ(v string) predicate.Event
- func SourceIPNotIn(vs ...string) predicate.Event
- func Username(v string) predicate.Event
- func UsernameContains(v string) predicate.Event
- func UsernameContainsFold(v string) predicate.Event
- func UsernameEQ(v string) predicate.Event
- func UsernameEqualFold(v string) predicate.Event
- func UsernameGT(v string) predicate.Event
- func UsernameGTE(v string) predicate.Event
- func UsernameHasPrefix(v string) predicate.Event
- func UsernameHasSuffix(v string) predicate.Event
- func UsernameIn(vs ...string) predicate.Event
- func UsernameLT(v string) predicate.Event
- func UsernameLTE(v string) predicate.Event
- func UsernameNEQ(v string) predicate.Event
- func UsernameNotIn(vs ...string) predicate.Event
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the event type in the database. Label = "event" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldEventTime holds the string denoting the event_time field in the database. FieldEventTime = "event_time" // FieldEventName holds the string denoting the event_name field in the database. FieldEventName = "event_name" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldResource holds the string denoting the resource field in the database. FieldResource = "resource" // FieldSourceIP holds the string denoting the source_ip field in the database. FieldSourceIP = "source_ip" // FieldRequestID holds the string denoting the request_id field in the database. FieldRequestID = "request_id" // FieldReadOnly holds the string denoting the read_only field in the database. FieldReadOnly = "read_only" // FieldEventData holds the string denoting the event_data field in the database. FieldEventData = "event_data" // FieldEventSource holds the string denoting the event_source field in the database. FieldEventSource = "event_source" // Table holds the table name of the event in the database. Table = "events" )
Variables ¶
var ( // DefaultEventTime holds the default value on creation for the "event_time" field. DefaultEventTime time.Time // DefaultResource holds the default value on creation for the "resource" field. DefaultResource string // DefaultSourceIP holds the default value on creation for the "source_ip" field. DefaultSourceIP string // DefaultRequestID holds the default value on creation for the "request_id" field. DefaultRequestID string // DefaultReadOnly holds the default value on creation for the "read_only" field. DefaultReadOnly bool // DefaultEventSource holds the default value on creation for the "event_source" field. DefaultEventSource string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldEventTime, FieldEventName, FieldUsername, FieldResource, FieldSourceIP, FieldRequestID, FieldReadOnly, FieldEventData, FieldEventSource, }
Columns holds all SQL columns for event fields.
Functions ¶
func EventName ¶
EventName applies equality check predicate on the "event_name" field. It's identical to EventNameEQ.
func EventNameContains ¶
EventNameContains applies the Contains predicate on the "event_name" field.
func EventNameContainsFold ¶
EventNameContainsFold applies the ContainsFold predicate on the "event_name" field.
func EventNameEQ ¶
EventNameEQ applies the EQ predicate on the "event_name" field.
func EventNameEqualFold ¶
EventNameEqualFold applies the EqualFold predicate on the "event_name" field.
func EventNameGT ¶
EventNameGT applies the GT predicate on the "event_name" field.
func EventNameGTE ¶
EventNameGTE applies the GTE predicate on the "event_name" field.
func EventNameHasPrefix ¶
EventNameHasPrefix applies the HasPrefix predicate on the "event_name" field.
func EventNameHasSuffix ¶
EventNameHasSuffix applies the HasSuffix predicate on the "event_name" field.
func EventNameIn ¶
EventNameIn applies the In predicate on the "event_name" field.
func EventNameLT ¶
EventNameLT applies the LT predicate on the "event_name" field.
func EventNameLTE ¶
EventNameLTE applies the LTE predicate on the "event_name" field.
func EventNameNEQ ¶
EventNameNEQ applies the NEQ predicate on the "event_name" field.
func EventNameNotIn ¶
EventNameNotIn applies the NotIn predicate on the "event_name" field.
func EventSource ¶
EventSource applies equality check predicate on the "event_source" field. It's identical to EventSourceEQ.
func EventSourceContains ¶
EventSourceContains applies the Contains predicate on the "event_source" field.
func EventSourceContainsFold ¶
EventSourceContainsFold applies the ContainsFold predicate on the "event_source" field.
func EventSourceEQ ¶
EventSourceEQ applies the EQ predicate on the "event_source" field.
func EventSourceEqualFold ¶
EventSourceEqualFold applies the EqualFold predicate on the "event_source" field.
func EventSourceGT ¶
EventSourceGT applies the GT predicate on the "event_source" field.
func EventSourceGTE ¶
EventSourceGTE applies the GTE predicate on the "event_source" field.
func EventSourceHasPrefix ¶
EventSourceHasPrefix applies the HasPrefix predicate on the "event_source" field.
func EventSourceHasSuffix ¶
EventSourceHasSuffix applies the HasSuffix predicate on the "event_source" field.
func EventSourceIn ¶
EventSourceIn applies the In predicate on the "event_source" field.
func EventSourceLT ¶
EventSourceLT applies the LT predicate on the "event_source" field.
func EventSourceLTE ¶
EventSourceLTE applies the LTE predicate on the "event_source" field.
func EventSourceNEQ ¶
EventSourceNEQ applies the NEQ predicate on the "event_source" field.
func EventSourceNotIn ¶
EventSourceNotIn applies the NotIn predicate on the "event_source" field.
func EventTime ¶
EventTime applies equality check predicate on the "event_time" field. It's identical to EventTimeEQ.
func EventTimeEQ ¶
EventTimeEQ applies the EQ predicate on the "event_time" field.
func EventTimeGT ¶
EventTimeGT applies the GT predicate on the "event_time" field.
func EventTimeGTE ¶
EventTimeGTE applies the GTE predicate on the "event_time" field.
func EventTimeIn ¶
EventTimeIn applies the In predicate on the "event_time" field.
func EventTimeLT ¶
EventTimeLT applies the LT predicate on the "event_time" field.
func EventTimeLTE ¶
EventTimeLTE applies the LTE predicate on the "event_time" field.
func EventTimeNEQ ¶
EventTimeNEQ applies the NEQ predicate on the "event_time" field.
func EventTimeNotIn ¶
EventTimeNotIn applies the NotIn predicate on the "event_time" field.
func ReadOnly ¶
ReadOnly applies equality check predicate on the "read_only" field. It's identical to ReadOnlyEQ.
func ReadOnlyEQ ¶
ReadOnlyEQ applies the EQ predicate on the "read_only" field.
func ReadOnlyNEQ ¶
ReadOnlyNEQ applies the NEQ predicate on the "read_only" field.
func RequestID ¶
RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.
func RequestIDContains ¶
RequestIDContains applies the Contains predicate on the "request_id" field.
func RequestIDContainsFold ¶
RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.
func RequestIDEQ ¶
RequestIDEQ applies the EQ predicate on the "request_id" field.
func RequestIDEqualFold ¶
RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.
func RequestIDGT ¶
RequestIDGT applies the GT predicate on the "request_id" field.
func RequestIDGTE ¶
RequestIDGTE applies the GTE predicate on the "request_id" field.
func RequestIDHasPrefix ¶
RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.
func RequestIDHasSuffix ¶
RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.
func RequestIDIn ¶
RequestIDIn applies the In predicate on the "request_id" field.
func RequestIDLT ¶
RequestIDLT applies the LT predicate on the "request_id" field.
func RequestIDLTE ¶
RequestIDLTE applies the LTE predicate on the "request_id" field.
func RequestIDNEQ ¶
RequestIDNEQ applies the NEQ predicate on the "request_id" field.
func RequestIDNotIn ¶
RequestIDNotIn applies the NotIn predicate on the "request_id" field.
func Resource ¶
Resource applies equality check predicate on the "resource" field. It's identical to ResourceEQ.
func ResourceContains ¶
ResourceContains applies the Contains predicate on the "resource" field.
func ResourceContainsFold ¶
ResourceContainsFold applies the ContainsFold predicate on the "resource" field.
func ResourceEQ ¶
ResourceEQ applies the EQ predicate on the "resource" field.
func ResourceEqualFold ¶
ResourceEqualFold applies the EqualFold predicate on the "resource" field.
func ResourceGT ¶
ResourceGT applies the GT predicate on the "resource" field.
func ResourceGTE ¶
ResourceGTE applies the GTE predicate on the "resource" field.
func ResourceHasPrefix ¶
ResourceHasPrefix applies the HasPrefix predicate on the "resource" field.
func ResourceHasSuffix ¶
ResourceHasSuffix applies the HasSuffix predicate on the "resource" field.
func ResourceIn ¶
ResourceIn applies the In predicate on the "resource" field.
func ResourceLT ¶
ResourceLT applies the LT predicate on the "resource" field.
func ResourceLTE ¶
ResourceLTE applies the LTE predicate on the "resource" field.
func ResourceNEQ ¶
ResourceNEQ applies the NEQ predicate on the "resource" field.
func ResourceNotIn ¶
ResourceNotIn applies the NotIn predicate on the "resource" field.
func SourceIP ¶
SourceIP applies equality check predicate on the "source_ip" field. It's identical to SourceIPEQ.
func SourceIPContains ¶
SourceIPContains applies the Contains predicate on the "source_ip" field.
func SourceIPContainsFold ¶
SourceIPContainsFold applies the ContainsFold predicate on the "source_ip" field.
func SourceIPEQ ¶
SourceIPEQ applies the EQ predicate on the "source_ip" field.
func SourceIPEqualFold ¶
SourceIPEqualFold applies the EqualFold predicate on the "source_ip" field.
func SourceIPGT ¶
SourceIPGT applies the GT predicate on the "source_ip" field.
func SourceIPGTE ¶
SourceIPGTE applies the GTE predicate on the "source_ip" field.
func SourceIPHasPrefix ¶
SourceIPHasPrefix applies the HasPrefix predicate on the "source_ip" field.
func SourceIPHasSuffix ¶
SourceIPHasSuffix applies the HasSuffix predicate on the "source_ip" field.
func SourceIPIn ¶
SourceIPIn applies the In predicate on the "source_ip" field.
func SourceIPLT ¶
SourceIPLT applies the LT predicate on the "source_ip" field.
func SourceIPLTE ¶
SourceIPLTE applies the LTE predicate on the "source_ip" field.
func SourceIPNEQ ¶
SourceIPNEQ applies the NEQ predicate on the "source_ip" field.
func SourceIPNotIn ¶
SourceIPNotIn applies the NotIn predicate on the "source_ip" field.
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.