Help us shape the future of Go! Take the 2026 Go Developer Survey

auditentry

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the auditentry type in the database.
	Label = "audit_entry"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldWorkspaceID holds the string denoting the workspace_id field in the database.
	FieldWorkspaceID = "workspace_id"
	// FieldEntryKey holds the string denoting the entry_key field in the database.
	FieldEntryKey = "entry_key"
	// FieldOccurredAt holds the string denoting the occurred_at field in the database.
	FieldOccurredAt = "occurred_at"
	// FieldActorKind holds the string denoting the actor_kind field in the database.
	FieldActorKind = "actor_kind"
	// FieldActorID holds the string denoting the actor_id field in the database.
	FieldActorID = "actor_id"
	// FieldActorName holds the string denoting the actor_name field in the database.
	FieldActorName = "actor_name"
	// FieldAction holds the string denoting the action field in the database.
	FieldAction = "action"
	// FieldTargetType holds the string denoting the target_type field in the database.
	FieldTargetType = "target_type"
	// FieldTargetID holds the string denoting the target_id field in the database.
	FieldTargetID = "target_id"
	// FieldTargetName holds the string denoting the target_name field in the database.
	FieldTargetName = "target_name"
	// FieldDiff holds the string denoting the diff field in the database.
	FieldDiff = "diff"
	// FieldRequestID holds the string denoting the request_id field in the database.
	FieldRequestID = "request_id"
	// FieldIP holds the string denoting the ip field in the database.
	FieldIP = "ip"
	// FieldUserAgent holds the string denoting the user_agent field in the database.
	FieldUserAgent = "user_agent"
	// EdgeWorkspace holds the string denoting the workspace edge name in mutations.
	EdgeWorkspace = "workspace"
	// Table holds the table name of the auditentry in the database.
	Table = "audit_entries"
	// WorkspaceTable is the table that holds the workspace relation/edge.
	WorkspaceTable = "audit_entries"
	// WorkspaceInverseTable is the table name for the Workspace entity.
	// It exists in this package in order to avoid circular dependency with the "workspace" package.
	WorkspaceInverseTable = "workspaces"
	// WorkspaceColumn is the table column denoting the workspace relation/edge.
	WorkspaceColumn = "workspace_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// EntryKeyValidator is a validator for the "entry_key" field. It is called by the builders before save.
	EntryKeyValidator func(string) error
	// ActorKindValidator is a validator for the "actor_kind" field. It is called by the builders before save.
	ActorKindValidator func(string) error
	// ActionValidator is a validator for the "action" field. It is called by the builders before save.
	ActionValidator func(string) error
	// TargetTypeValidator is a validator for the "target_type" field. It is called by the builders before save.
	TargetTypeValidator func(string) error
)

Columns holds all SQL columns for auditentry fields.

Functions

func Action

func Action(v string) predicate.AuditEntry

Action applies equality check predicate on the "action" field. It's identical to ActionEQ.

func ActionContains

func ActionContains(v string) predicate.AuditEntry

ActionContains applies the Contains predicate on the "action" field.

func ActionContainsFold

func ActionContainsFold(v string) predicate.AuditEntry

ActionContainsFold applies the ContainsFold predicate on the "action" field.

func ActionEQ

func ActionEQ(v string) predicate.AuditEntry

ActionEQ applies the EQ predicate on the "action" field.

func ActionEqualFold

func ActionEqualFold(v string) predicate.AuditEntry

ActionEqualFold applies the EqualFold predicate on the "action" field.

func ActionGT

func ActionGT(v string) predicate.AuditEntry

ActionGT applies the GT predicate on the "action" field.

func ActionGTE

func ActionGTE(v string) predicate.AuditEntry

ActionGTE applies the GTE predicate on the "action" field.

func ActionHasPrefix

func ActionHasPrefix(v string) predicate.AuditEntry

ActionHasPrefix applies the HasPrefix predicate on the "action" field.

func ActionHasSuffix

func ActionHasSuffix(v string) predicate.AuditEntry

ActionHasSuffix applies the HasSuffix predicate on the "action" field.

func ActionIn

func ActionIn(vs ...string) predicate.AuditEntry

ActionIn applies the In predicate on the "action" field.

func ActionLT

func ActionLT(v string) predicate.AuditEntry

ActionLT applies the LT predicate on the "action" field.

func ActionLTE

func ActionLTE(v string) predicate.AuditEntry

ActionLTE applies the LTE predicate on the "action" field.

func ActionNEQ

func ActionNEQ(v string) predicate.AuditEntry

ActionNEQ applies the NEQ predicate on the "action" field.

func ActionNotIn

func ActionNotIn(vs ...string) predicate.AuditEntry

ActionNotIn applies the NotIn predicate on the "action" field.

func ActorID

func ActorID(v string) predicate.AuditEntry

ActorID applies equality check predicate on the "actor_id" field. It's identical to ActorIDEQ.

func ActorIDContains

func ActorIDContains(v string) predicate.AuditEntry

ActorIDContains applies the Contains predicate on the "actor_id" field.

func ActorIDContainsFold

func ActorIDContainsFold(v string) predicate.AuditEntry

ActorIDContainsFold applies the ContainsFold predicate on the "actor_id" field.

func ActorIDEQ

func ActorIDEQ(v string) predicate.AuditEntry

ActorIDEQ applies the EQ predicate on the "actor_id" field.

func ActorIDEqualFold

func ActorIDEqualFold(v string) predicate.AuditEntry

ActorIDEqualFold applies the EqualFold predicate on the "actor_id" field.

func ActorIDGT

func ActorIDGT(v string) predicate.AuditEntry

ActorIDGT applies the GT predicate on the "actor_id" field.

func ActorIDGTE

func ActorIDGTE(v string) predicate.AuditEntry

ActorIDGTE applies the GTE predicate on the "actor_id" field.

func ActorIDHasPrefix

func ActorIDHasPrefix(v string) predicate.AuditEntry

ActorIDHasPrefix applies the HasPrefix predicate on the "actor_id" field.

func ActorIDHasSuffix

func ActorIDHasSuffix(v string) predicate.AuditEntry

ActorIDHasSuffix applies the HasSuffix predicate on the "actor_id" field.

func ActorIDIn

func ActorIDIn(vs ...string) predicate.AuditEntry

ActorIDIn applies the In predicate on the "actor_id" field.

func ActorIDIsNil

func ActorIDIsNil() predicate.AuditEntry

ActorIDIsNil applies the IsNil predicate on the "actor_id" field.

func ActorIDLT

func ActorIDLT(v string) predicate.AuditEntry

ActorIDLT applies the LT predicate on the "actor_id" field.

func ActorIDLTE

func ActorIDLTE(v string) predicate.AuditEntry

ActorIDLTE applies the LTE predicate on the "actor_id" field.

func ActorIDNEQ

func ActorIDNEQ(v string) predicate.AuditEntry

ActorIDNEQ applies the NEQ predicate on the "actor_id" field.

func ActorIDNotIn

func ActorIDNotIn(vs ...string) predicate.AuditEntry

ActorIDNotIn applies the NotIn predicate on the "actor_id" field.

func ActorIDNotNil

func ActorIDNotNil() predicate.AuditEntry

ActorIDNotNil applies the NotNil predicate on the "actor_id" field.

func ActorKind

func ActorKind(v string) predicate.AuditEntry

ActorKind applies equality check predicate on the "actor_kind" field. It's identical to ActorKindEQ.

func ActorKindContains

func ActorKindContains(v string) predicate.AuditEntry

ActorKindContains applies the Contains predicate on the "actor_kind" field.

func ActorKindContainsFold

func ActorKindContainsFold(v string) predicate.AuditEntry

ActorKindContainsFold applies the ContainsFold predicate on the "actor_kind" field.

func ActorKindEQ

func ActorKindEQ(v string) predicate.AuditEntry

ActorKindEQ applies the EQ predicate on the "actor_kind" field.

func ActorKindEqualFold

func ActorKindEqualFold(v string) predicate.AuditEntry

ActorKindEqualFold applies the EqualFold predicate on the "actor_kind" field.

func ActorKindGT

func ActorKindGT(v string) predicate.AuditEntry

ActorKindGT applies the GT predicate on the "actor_kind" field.

func ActorKindGTE

func ActorKindGTE(v string) predicate.AuditEntry

ActorKindGTE applies the GTE predicate on the "actor_kind" field.

func ActorKindHasPrefix

func ActorKindHasPrefix(v string) predicate.AuditEntry

ActorKindHasPrefix applies the HasPrefix predicate on the "actor_kind" field.

func ActorKindHasSuffix

func ActorKindHasSuffix(v string) predicate.AuditEntry

ActorKindHasSuffix applies the HasSuffix predicate on the "actor_kind" field.

func ActorKindIn

func ActorKindIn(vs ...string) predicate.AuditEntry

ActorKindIn applies the In predicate on the "actor_kind" field.

func ActorKindLT

func ActorKindLT(v string) predicate.AuditEntry

ActorKindLT applies the LT predicate on the "actor_kind" field.

func ActorKindLTE

func ActorKindLTE(v string) predicate.AuditEntry

ActorKindLTE applies the LTE predicate on the "actor_kind" field.

func ActorKindNEQ

func ActorKindNEQ(v string) predicate.AuditEntry

ActorKindNEQ applies the NEQ predicate on the "actor_kind" field.

func ActorKindNotIn

func ActorKindNotIn(vs ...string) predicate.AuditEntry

ActorKindNotIn applies the NotIn predicate on the "actor_kind" field.

func ActorName

func ActorName(v string) predicate.AuditEntry

ActorName applies equality check predicate on the "actor_name" field. It's identical to ActorNameEQ.

func ActorNameContains

func ActorNameContains(v string) predicate.AuditEntry

ActorNameContains applies the Contains predicate on the "actor_name" field.

func ActorNameContainsFold

func ActorNameContainsFold(v string) predicate.AuditEntry

ActorNameContainsFold applies the ContainsFold predicate on the "actor_name" field.

func ActorNameEQ

func ActorNameEQ(v string) predicate.AuditEntry

ActorNameEQ applies the EQ predicate on the "actor_name" field.

func ActorNameEqualFold

func ActorNameEqualFold(v string) predicate.AuditEntry

ActorNameEqualFold applies the EqualFold predicate on the "actor_name" field.

func ActorNameGT

func ActorNameGT(v string) predicate.AuditEntry

ActorNameGT applies the GT predicate on the "actor_name" field.

func ActorNameGTE

func ActorNameGTE(v string) predicate.AuditEntry

ActorNameGTE applies the GTE predicate on the "actor_name" field.

func ActorNameHasPrefix

func ActorNameHasPrefix(v string) predicate.AuditEntry

ActorNameHasPrefix applies the HasPrefix predicate on the "actor_name" field.

func ActorNameHasSuffix

func ActorNameHasSuffix(v string) predicate.AuditEntry

ActorNameHasSuffix applies the HasSuffix predicate on the "actor_name" field.

func ActorNameIn

func ActorNameIn(vs ...string) predicate.AuditEntry

ActorNameIn applies the In predicate on the "actor_name" field.

func ActorNameIsNil

func ActorNameIsNil() predicate.AuditEntry

ActorNameIsNil applies the IsNil predicate on the "actor_name" field.

func ActorNameLT

func ActorNameLT(v string) predicate.AuditEntry

ActorNameLT applies the LT predicate on the "actor_name" field.

func ActorNameLTE

func ActorNameLTE(v string) predicate.AuditEntry

ActorNameLTE applies the LTE predicate on the "actor_name" field.

func ActorNameNEQ

func ActorNameNEQ(v string) predicate.AuditEntry

ActorNameNEQ applies the NEQ predicate on the "actor_name" field.

func ActorNameNotIn

func ActorNameNotIn(vs ...string) predicate.AuditEntry

ActorNameNotIn applies the NotIn predicate on the "actor_name" field.

func ActorNameNotNil

func ActorNameNotNil() predicate.AuditEntry

ActorNameNotNil applies the NotNil predicate on the "actor_name" field.

func And

func And(predicates ...predicate.AuditEntry) predicate.AuditEntry

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.AuditEntry

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AuditEntry

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AuditEntry

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AuditEntry

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AuditEntry

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AuditEntry

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AuditEntry

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AuditEntry

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AuditEntry

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DiffIsNil

func DiffIsNil() predicate.AuditEntry

DiffIsNil applies the IsNil predicate on the "diff" field.

func DiffNotNil

func DiffNotNil() predicate.AuditEntry

DiffNotNil applies the NotNil predicate on the "diff" field.

func EntryKey

func EntryKey(v string) predicate.AuditEntry

EntryKey applies equality check predicate on the "entry_key" field. It's identical to EntryKeyEQ.

func EntryKeyContains

func EntryKeyContains(v string) predicate.AuditEntry

EntryKeyContains applies the Contains predicate on the "entry_key" field.

func EntryKeyContainsFold

func EntryKeyContainsFold(v string) predicate.AuditEntry

EntryKeyContainsFold applies the ContainsFold predicate on the "entry_key" field.

func EntryKeyEQ

func EntryKeyEQ(v string) predicate.AuditEntry

EntryKeyEQ applies the EQ predicate on the "entry_key" field.

func EntryKeyEqualFold

func EntryKeyEqualFold(v string) predicate.AuditEntry

EntryKeyEqualFold applies the EqualFold predicate on the "entry_key" field.

func EntryKeyGT

func EntryKeyGT(v string) predicate.AuditEntry

EntryKeyGT applies the GT predicate on the "entry_key" field.

func EntryKeyGTE

func EntryKeyGTE(v string) predicate.AuditEntry

EntryKeyGTE applies the GTE predicate on the "entry_key" field.

func EntryKeyHasPrefix

func EntryKeyHasPrefix(v string) predicate.AuditEntry

EntryKeyHasPrefix applies the HasPrefix predicate on the "entry_key" field.

func EntryKeyHasSuffix

func EntryKeyHasSuffix(v string) predicate.AuditEntry

EntryKeyHasSuffix applies the HasSuffix predicate on the "entry_key" field.

func EntryKeyIn

func EntryKeyIn(vs ...string) predicate.AuditEntry

EntryKeyIn applies the In predicate on the "entry_key" field.

func EntryKeyLT

func EntryKeyLT(v string) predicate.AuditEntry

EntryKeyLT applies the LT predicate on the "entry_key" field.

func EntryKeyLTE

func EntryKeyLTE(v string) predicate.AuditEntry

EntryKeyLTE applies the LTE predicate on the "entry_key" field.

func EntryKeyNEQ

func EntryKeyNEQ(v string) predicate.AuditEntry

EntryKeyNEQ applies the NEQ predicate on the "entry_key" field.

func EntryKeyNotIn

func EntryKeyNotIn(vs ...string) predicate.AuditEntry

EntryKeyNotIn applies the NotIn predicate on the "entry_key" field.

func HasWorkspace

func HasWorkspace() predicate.AuditEntry

HasWorkspace applies the HasEdge predicate on the "workspace" edge.

func HasWorkspaceWith

func HasWorkspaceWith(preds ...predicate.Workspace) predicate.AuditEntry

HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).

func ID

func ID(id int64) predicate.AuditEntry

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.AuditEntry

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.AuditEntry

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.AuditEntry

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.AuditEntry

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.AuditEntry

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.AuditEntry

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.AuditEntry

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.AuditEntry

IDNotIn applies the NotIn predicate on the ID field.

func IP

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPContains

func IPContains(v string) predicate.AuditEntry

IPContains applies the Contains predicate on the "ip" field.

func IPContainsFold

func IPContainsFold(v string) predicate.AuditEntry

IPContainsFold applies the ContainsFold predicate on the "ip" field.

func IPEQ

func IPEQ(v string) predicate.AuditEntry

IPEQ applies the EQ predicate on the "ip" field.

func IPEqualFold

func IPEqualFold(v string) predicate.AuditEntry

IPEqualFold applies the EqualFold predicate on the "ip" field.

func IPGT

func IPGT(v string) predicate.AuditEntry

IPGT applies the GT predicate on the "ip" field.

func IPGTE

func IPGTE(v string) predicate.AuditEntry

IPGTE applies the GTE predicate on the "ip" field.

func IPHasPrefix

func IPHasPrefix(v string) predicate.AuditEntry

IPHasPrefix applies the HasPrefix predicate on the "ip" field.

func IPHasSuffix

func IPHasSuffix(v string) predicate.AuditEntry

IPHasSuffix applies the HasSuffix predicate on the "ip" field.

func IPIn

func IPIn(vs ...string) predicate.AuditEntry

IPIn applies the In predicate on the "ip" field.

func IPIsNil

func IPIsNil() predicate.AuditEntry

IPIsNil applies the IsNil predicate on the "ip" field.

func IPLT

func IPLT(v string) predicate.AuditEntry

IPLT applies the LT predicate on the "ip" field.

func IPLTE

func IPLTE(v string) predicate.AuditEntry

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

func IPNEQ(v string) predicate.AuditEntry

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...string) predicate.AuditEntry

IPNotIn applies the NotIn predicate on the "ip" field.

func IPNotNil

func IPNotNil() predicate.AuditEntry

IPNotNil applies the NotNil predicate on the "ip" field.

func Not

Not applies the not operator on the given predicate.

func OccurredAt

func OccurredAt(v time.Time) predicate.AuditEntry

OccurredAt applies equality check predicate on the "occurred_at" field. It's identical to OccurredAtEQ.

func OccurredAtEQ

func OccurredAtEQ(v time.Time) predicate.AuditEntry

OccurredAtEQ applies the EQ predicate on the "occurred_at" field.

func OccurredAtGT

func OccurredAtGT(v time.Time) predicate.AuditEntry

OccurredAtGT applies the GT predicate on the "occurred_at" field.

func OccurredAtGTE

func OccurredAtGTE(v time.Time) predicate.AuditEntry

OccurredAtGTE applies the GTE predicate on the "occurred_at" field.

func OccurredAtIn

func OccurredAtIn(vs ...time.Time) predicate.AuditEntry

OccurredAtIn applies the In predicate on the "occurred_at" field.

func OccurredAtLT

func OccurredAtLT(v time.Time) predicate.AuditEntry

OccurredAtLT applies the LT predicate on the "occurred_at" field.

func OccurredAtLTE

func OccurredAtLTE(v time.Time) predicate.AuditEntry

OccurredAtLTE applies the LTE predicate on the "occurred_at" field.

func OccurredAtNEQ

func OccurredAtNEQ(v time.Time) predicate.AuditEntry

OccurredAtNEQ applies the NEQ predicate on the "occurred_at" field.

func OccurredAtNotIn

func OccurredAtNotIn(vs ...time.Time) predicate.AuditEntry

OccurredAtNotIn applies the NotIn predicate on the "occurred_at" field.

func Or

func Or(predicates ...predicate.AuditEntry) predicate.AuditEntry

Or groups predicates with the OR operator between them.

func RequestID

func RequestID(v string) predicate.AuditEntry

RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.

func RequestIDContains

func RequestIDContains(v string) predicate.AuditEntry

RequestIDContains applies the Contains predicate on the "request_id" field.

func RequestIDContainsFold

func RequestIDContainsFold(v string) predicate.AuditEntry

RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.

func RequestIDEQ

func RequestIDEQ(v string) predicate.AuditEntry

RequestIDEQ applies the EQ predicate on the "request_id" field.

func RequestIDEqualFold

func RequestIDEqualFold(v string) predicate.AuditEntry

RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.

func RequestIDGT

func RequestIDGT(v string) predicate.AuditEntry

RequestIDGT applies the GT predicate on the "request_id" field.

func RequestIDGTE

func RequestIDGTE(v string) predicate.AuditEntry

RequestIDGTE applies the GTE predicate on the "request_id" field.

func RequestIDHasPrefix

func RequestIDHasPrefix(v string) predicate.AuditEntry

RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.

func RequestIDHasSuffix

func RequestIDHasSuffix(v string) predicate.AuditEntry

RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.

func RequestIDIn

func RequestIDIn(vs ...string) predicate.AuditEntry

RequestIDIn applies the In predicate on the "request_id" field.

func RequestIDIsNil

func RequestIDIsNil() predicate.AuditEntry

RequestIDIsNil applies the IsNil predicate on the "request_id" field.

func RequestIDLT

func RequestIDLT(v string) predicate.AuditEntry

RequestIDLT applies the LT predicate on the "request_id" field.

func RequestIDLTE

func RequestIDLTE(v string) predicate.AuditEntry

RequestIDLTE applies the LTE predicate on the "request_id" field.

func RequestIDNEQ

func RequestIDNEQ(v string) predicate.AuditEntry

RequestIDNEQ applies the NEQ predicate on the "request_id" field.

func RequestIDNotIn

func RequestIDNotIn(vs ...string) predicate.AuditEntry

RequestIDNotIn applies the NotIn predicate on the "request_id" field.

func RequestIDNotNil

func RequestIDNotNil() predicate.AuditEntry

RequestIDNotNil applies the NotNil predicate on the "request_id" field.

func TargetID

func TargetID(v string) predicate.AuditEntry

TargetID applies equality check predicate on the "target_id" field. It's identical to TargetIDEQ.

func TargetIDContains

func TargetIDContains(v string) predicate.AuditEntry

TargetIDContains applies the Contains predicate on the "target_id" field.

func TargetIDContainsFold

func TargetIDContainsFold(v string) predicate.AuditEntry

TargetIDContainsFold applies the ContainsFold predicate on the "target_id" field.

func TargetIDEQ

func TargetIDEQ(v string) predicate.AuditEntry

TargetIDEQ applies the EQ predicate on the "target_id" field.

func TargetIDEqualFold

func TargetIDEqualFold(v string) predicate.AuditEntry

TargetIDEqualFold applies the EqualFold predicate on the "target_id" field.

func TargetIDGT

func TargetIDGT(v string) predicate.AuditEntry

TargetIDGT applies the GT predicate on the "target_id" field.

func TargetIDGTE

func TargetIDGTE(v string) predicate.AuditEntry

TargetIDGTE applies the GTE predicate on the "target_id" field.

func TargetIDHasPrefix

func TargetIDHasPrefix(v string) predicate.AuditEntry

TargetIDHasPrefix applies the HasPrefix predicate on the "target_id" field.

func TargetIDHasSuffix

func TargetIDHasSuffix(v string) predicate.AuditEntry

TargetIDHasSuffix applies the HasSuffix predicate on the "target_id" field.

func TargetIDIn

func TargetIDIn(vs ...string) predicate.AuditEntry

TargetIDIn applies the In predicate on the "target_id" field.

func TargetIDIsNil

func TargetIDIsNil() predicate.AuditEntry

TargetIDIsNil applies the IsNil predicate on the "target_id" field.

func TargetIDLT

func TargetIDLT(v string) predicate.AuditEntry

TargetIDLT applies the LT predicate on the "target_id" field.

func TargetIDLTE

func TargetIDLTE(v string) predicate.AuditEntry

TargetIDLTE applies the LTE predicate on the "target_id" field.

func TargetIDNEQ

func TargetIDNEQ(v string) predicate.AuditEntry

TargetIDNEQ applies the NEQ predicate on the "target_id" field.

func TargetIDNotIn

func TargetIDNotIn(vs ...string) predicate.AuditEntry

TargetIDNotIn applies the NotIn predicate on the "target_id" field.

func TargetIDNotNil

func TargetIDNotNil() predicate.AuditEntry

TargetIDNotNil applies the NotNil predicate on the "target_id" field.

func TargetName

func TargetName(v string) predicate.AuditEntry

TargetName applies equality check predicate on the "target_name" field. It's identical to TargetNameEQ.

func TargetNameContains

func TargetNameContains(v string) predicate.AuditEntry

TargetNameContains applies the Contains predicate on the "target_name" field.

func TargetNameContainsFold

func TargetNameContainsFold(v string) predicate.AuditEntry

TargetNameContainsFold applies the ContainsFold predicate on the "target_name" field.

func TargetNameEQ

func TargetNameEQ(v string) predicate.AuditEntry

TargetNameEQ applies the EQ predicate on the "target_name" field.

func TargetNameEqualFold

func TargetNameEqualFold(v string) predicate.AuditEntry

TargetNameEqualFold applies the EqualFold predicate on the "target_name" field.

func TargetNameGT

func TargetNameGT(v string) predicate.AuditEntry

TargetNameGT applies the GT predicate on the "target_name" field.

func TargetNameGTE

func TargetNameGTE(v string) predicate.AuditEntry

TargetNameGTE applies the GTE predicate on the "target_name" field.

func TargetNameHasPrefix

func TargetNameHasPrefix(v string) predicate.AuditEntry

TargetNameHasPrefix applies the HasPrefix predicate on the "target_name" field.

func TargetNameHasSuffix

func TargetNameHasSuffix(v string) predicate.AuditEntry

TargetNameHasSuffix applies the HasSuffix predicate on the "target_name" field.

func TargetNameIn

func TargetNameIn(vs ...string) predicate.AuditEntry

TargetNameIn applies the In predicate on the "target_name" field.

func TargetNameIsNil

func TargetNameIsNil() predicate.AuditEntry

TargetNameIsNil applies the IsNil predicate on the "target_name" field.

func TargetNameLT

func TargetNameLT(v string) predicate.AuditEntry

TargetNameLT applies the LT predicate on the "target_name" field.

func TargetNameLTE

func TargetNameLTE(v string) predicate.AuditEntry

TargetNameLTE applies the LTE predicate on the "target_name" field.

func TargetNameNEQ

func TargetNameNEQ(v string) predicate.AuditEntry

TargetNameNEQ applies the NEQ predicate on the "target_name" field.

func TargetNameNotIn

func TargetNameNotIn(vs ...string) predicate.AuditEntry

TargetNameNotIn applies the NotIn predicate on the "target_name" field.

func TargetNameNotNil

func TargetNameNotNil() predicate.AuditEntry

TargetNameNotNil applies the NotNil predicate on the "target_name" field.

func TargetType

func TargetType(v string) predicate.AuditEntry

TargetType applies equality check predicate on the "target_type" field. It's identical to TargetTypeEQ.

func TargetTypeContains

func TargetTypeContains(v string) predicate.AuditEntry

TargetTypeContains applies the Contains predicate on the "target_type" field.

func TargetTypeContainsFold

func TargetTypeContainsFold(v string) predicate.AuditEntry

TargetTypeContainsFold applies the ContainsFold predicate on the "target_type" field.

func TargetTypeEQ

func TargetTypeEQ(v string) predicate.AuditEntry

TargetTypeEQ applies the EQ predicate on the "target_type" field.

func TargetTypeEqualFold

func TargetTypeEqualFold(v string) predicate.AuditEntry

TargetTypeEqualFold applies the EqualFold predicate on the "target_type" field.

func TargetTypeGT

func TargetTypeGT(v string) predicate.AuditEntry

TargetTypeGT applies the GT predicate on the "target_type" field.

func TargetTypeGTE

func TargetTypeGTE(v string) predicate.AuditEntry

TargetTypeGTE applies the GTE predicate on the "target_type" field.

func TargetTypeHasPrefix

func TargetTypeHasPrefix(v string) predicate.AuditEntry

TargetTypeHasPrefix applies the HasPrefix predicate on the "target_type" field.

func TargetTypeHasSuffix

func TargetTypeHasSuffix(v string) predicate.AuditEntry

TargetTypeHasSuffix applies the HasSuffix predicate on the "target_type" field.

func TargetTypeIn

func TargetTypeIn(vs ...string) predicate.AuditEntry

TargetTypeIn applies the In predicate on the "target_type" field.

func TargetTypeLT

func TargetTypeLT(v string) predicate.AuditEntry

TargetTypeLT applies the LT predicate on the "target_type" field.

func TargetTypeLTE

func TargetTypeLTE(v string) predicate.AuditEntry

TargetTypeLTE applies the LTE predicate on the "target_type" field.

func TargetTypeNEQ

func TargetTypeNEQ(v string) predicate.AuditEntry

TargetTypeNEQ applies the NEQ predicate on the "target_type" field.

func TargetTypeNotIn

func TargetTypeNotIn(vs ...string) predicate.AuditEntry

TargetTypeNotIn applies the NotIn predicate on the "target_type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AuditEntry

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AuditEntry

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AuditEntry

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AuditEntry

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AuditEntry

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AuditEntry

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AuditEntry

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AuditEntry

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AuditEntry

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserAgent

func UserAgent(v string) predicate.AuditEntry

UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.

func UserAgentContains

func UserAgentContains(v string) predicate.AuditEntry

UserAgentContains applies the Contains predicate on the "user_agent" field.

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.AuditEntry

UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.

func UserAgentEQ

func UserAgentEQ(v string) predicate.AuditEntry

UserAgentEQ applies the EQ predicate on the "user_agent" field.

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.AuditEntry

UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.

func UserAgentGT

func UserAgentGT(v string) predicate.AuditEntry

UserAgentGT applies the GT predicate on the "user_agent" field.

func UserAgentGTE

func UserAgentGTE(v string) predicate.AuditEntry

UserAgentGTE applies the GTE predicate on the "user_agent" field.

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.AuditEntry

UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.AuditEntry

UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.

func UserAgentIn

func UserAgentIn(vs ...string) predicate.AuditEntry

UserAgentIn applies the In predicate on the "user_agent" field.

func UserAgentIsNil

func UserAgentIsNil() predicate.AuditEntry

UserAgentIsNil applies the IsNil predicate on the "user_agent" field.

func UserAgentLT

func UserAgentLT(v string) predicate.AuditEntry

UserAgentLT applies the LT predicate on the "user_agent" field.

func UserAgentLTE

func UserAgentLTE(v string) predicate.AuditEntry

UserAgentLTE applies the LTE predicate on the "user_agent" field.

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.AuditEntry

UserAgentNEQ applies the NEQ predicate on the "user_agent" field.

func UserAgentNotIn

func UserAgentNotIn(vs ...string) predicate.AuditEntry

UserAgentNotIn applies the NotIn predicate on the "user_agent" field.

func UserAgentNotNil

func UserAgentNotNil() predicate.AuditEntry

UserAgentNotNil applies the NotNil predicate on the "user_agent" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkspaceID

func WorkspaceID(v int64) predicate.AuditEntry

WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.

func WorkspaceIDEQ

func WorkspaceIDEQ(v int64) predicate.AuditEntry

WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.

func WorkspaceIDIn

func WorkspaceIDIn(vs ...int64) predicate.AuditEntry

WorkspaceIDIn applies the In predicate on the "workspace_id" field.

func WorkspaceIDNEQ

func WorkspaceIDNEQ(v int64) predicate.AuditEntry

WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.

func WorkspaceIDNotIn

func WorkspaceIDNotIn(vs ...int64) predicate.AuditEntry

WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AuditEntry queries.

func ByAction

func ByAction(opts ...sql.OrderTermOption) OrderOption

ByAction orders the results by the action field.

func ByActorID

func ByActorID(opts ...sql.OrderTermOption) OrderOption

ByActorID orders the results by the actor_id field.

func ByActorKind

func ByActorKind(opts ...sql.OrderTermOption) OrderOption

ByActorKind orders the results by the actor_kind field.

func ByActorName

func ByActorName(opts ...sql.OrderTermOption) OrderOption

ByActorName orders the results by the actor_name field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByEntryKey

func ByEntryKey(opts ...sql.OrderTermOption) OrderOption

ByEntryKey orders the results by the entry_key field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIP

func ByIP(opts ...sql.OrderTermOption) OrderOption

ByIP orders the results by the ip field.

func ByOccurredAt

func ByOccurredAt(opts ...sql.OrderTermOption) OrderOption

ByOccurredAt orders the results by the occurred_at field.

func ByRequestID

func ByRequestID(opts ...sql.OrderTermOption) OrderOption

ByRequestID orders the results by the request_id field.

func ByTargetID

func ByTargetID(opts ...sql.OrderTermOption) OrderOption

ByTargetID orders the results by the target_id field.

func ByTargetName

func ByTargetName(opts ...sql.OrderTermOption) OrderOption

ByTargetName orders the results by the target_name field.

func ByTargetType

func ByTargetType(opts ...sql.OrderTermOption) OrderOption

ByTargetType orders the results by the target_type field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUserAgent

func ByUserAgent(opts ...sql.OrderTermOption) OrderOption

ByUserAgent orders the results by the user_agent field.

func ByWorkspaceField

func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkspaceField orders the results by workspace field.

func ByWorkspaceID

func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption

ByWorkspaceID orders the results by the workspace_id field.

Jump to

Keyboard shortcuts

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