auditevent

package
v0.0.0-...-f0d3e45 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the auditevent type in the database.
	Label = "audit_event"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldRaw holds the string denoting the raw field in the database.
	FieldRaw = "raw"
	// FieldLevel holds the string denoting the level field in the database.
	FieldLevel = "level"
	// FieldAuditID holds the string denoting the auditid field in the database.
	FieldAuditID = "audit_id"
	// FieldVerb holds the string denoting the verb field in the database.
	FieldVerb = "verb"
	// FieldUserAgent holds the string denoting the useragent field in the database.
	FieldUserAgent = "user_agent"
	// FieldRequestTimestamp holds the string denoting the requesttimestamp field in the database.
	FieldRequestTimestamp = "request_timestamp"
	// FieldStageTimestamp holds the string denoting the stagetimestamp field in the database.
	FieldStageTimestamp = "stage_timestamp"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldApiVersion holds the string denoting the apiversion field in the database.
	FieldApiVersion = "api_version"
	// FieldApiGroup holds the string denoting the apigroup field in the database.
	FieldApiGroup = "api_group"
	// FieldResource holds the string denoting the resource field in the database.
	FieldResource = "resource"
	// FieldSubResource holds the string denoting the subresource field in the database.
	FieldSubResource = "sub_resource"
	// FieldStage holds the string denoting the stage field in the database.
	FieldStage = "stage"
	// Table holds the table name of the auditevent in the database.
	Table = "audit_events"
)

Variables

View Source
var (
	// RawValidator is a validator for the "raw" field. It is called by the builders before save.
	RawValidator func(string) error
	// LevelValidator is a validator for the "level" field. It is called by the builders before save.
	LevelValidator func(string) error
	// AuditIDValidator is a validator for the "auditID" field. It is called by the builders before save.
	AuditIDValidator func(string) error
	// VerbValidator is a validator for the "verb" field. It is called by the builders before save.
	VerbValidator func(string) error
	// UserAgentValidator is a validator for the "userAgent" field. It is called by the builders before save.
	UserAgentValidator func(string) error
	// DefaultNamespace holds the default value on creation for the "namespace" field.
	DefaultNamespace string
	// DefaultName holds the default value on creation for the "name" field.
	DefaultName string
	// DefaultApiVersion holds the default value on creation for the "apiVersion" field.
	DefaultApiVersion string
	// DefaultApiGroup holds the default value on creation for the "apiGroup" field.
	DefaultApiGroup string
	// DefaultResource holds the default value on creation for the "resource" field.
	DefaultResource string
	// DefaultSubResource holds the default value on creation for the "subResource" field.
	DefaultSubResource string
)

Columns holds all SQL columns for auditevent fields.

Functions

func And

func And(predicates ...predicate.AuditEvent) predicate.AuditEvent

And groups predicates with the AND operator between them.

func ApiGroup

func ApiGroup(v string) predicate.AuditEvent

ApiGroup applies equality check predicate on the "apiGroup" field. It's identical to ApiGroupEQ.

func ApiGroupContains

func ApiGroupContains(v string) predicate.AuditEvent

ApiGroupContains applies the Contains predicate on the "apiGroup" field.

func ApiGroupContainsFold

func ApiGroupContainsFold(v string) predicate.AuditEvent

ApiGroupContainsFold applies the ContainsFold predicate on the "apiGroup" field.

func ApiGroupEQ

func ApiGroupEQ(v string) predicate.AuditEvent

ApiGroupEQ applies the EQ predicate on the "apiGroup" field.

func ApiGroupEqualFold

func ApiGroupEqualFold(v string) predicate.AuditEvent

ApiGroupEqualFold applies the EqualFold predicate on the "apiGroup" field.

func ApiGroupGT

func ApiGroupGT(v string) predicate.AuditEvent

ApiGroupGT applies the GT predicate on the "apiGroup" field.

func ApiGroupGTE

func ApiGroupGTE(v string) predicate.AuditEvent

ApiGroupGTE applies the GTE predicate on the "apiGroup" field.

func ApiGroupHasPrefix

func ApiGroupHasPrefix(v string) predicate.AuditEvent

ApiGroupHasPrefix applies the HasPrefix predicate on the "apiGroup" field.

func ApiGroupHasSuffix

func ApiGroupHasSuffix(v string) predicate.AuditEvent

ApiGroupHasSuffix applies the HasSuffix predicate on the "apiGroup" field.

func ApiGroupIn

func ApiGroupIn(vs ...string) predicate.AuditEvent

ApiGroupIn applies the In predicate on the "apiGroup" field.

func ApiGroupLT

func ApiGroupLT(v string) predicate.AuditEvent

ApiGroupLT applies the LT predicate on the "apiGroup" field.

func ApiGroupLTE

func ApiGroupLTE(v string) predicate.AuditEvent

ApiGroupLTE applies the LTE predicate on the "apiGroup" field.

func ApiGroupNEQ

func ApiGroupNEQ(v string) predicate.AuditEvent

ApiGroupNEQ applies the NEQ predicate on the "apiGroup" field.

func ApiGroupNotIn

func ApiGroupNotIn(vs ...string) predicate.AuditEvent

ApiGroupNotIn applies the NotIn predicate on the "apiGroup" field.

func ApiVersion

func ApiVersion(v string) predicate.AuditEvent

ApiVersion applies equality check predicate on the "apiVersion" field. It's identical to ApiVersionEQ.

func ApiVersionContains

func ApiVersionContains(v string) predicate.AuditEvent

ApiVersionContains applies the Contains predicate on the "apiVersion" field.

func ApiVersionContainsFold

func ApiVersionContainsFold(v string) predicate.AuditEvent

ApiVersionContainsFold applies the ContainsFold predicate on the "apiVersion" field.

func ApiVersionEQ

func ApiVersionEQ(v string) predicate.AuditEvent

ApiVersionEQ applies the EQ predicate on the "apiVersion" field.

func ApiVersionEqualFold

func ApiVersionEqualFold(v string) predicate.AuditEvent

ApiVersionEqualFold applies the EqualFold predicate on the "apiVersion" field.

func ApiVersionGT

func ApiVersionGT(v string) predicate.AuditEvent

ApiVersionGT applies the GT predicate on the "apiVersion" field.

func ApiVersionGTE

func ApiVersionGTE(v string) predicate.AuditEvent

ApiVersionGTE applies the GTE predicate on the "apiVersion" field.

func ApiVersionHasPrefix

func ApiVersionHasPrefix(v string) predicate.AuditEvent

ApiVersionHasPrefix applies the HasPrefix predicate on the "apiVersion" field.

func ApiVersionHasSuffix

func ApiVersionHasSuffix(v string) predicate.AuditEvent

ApiVersionHasSuffix applies the HasSuffix predicate on the "apiVersion" field.

func ApiVersionIn

func ApiVersionIn(vs ...string) predicate.AuditEvent

ApiVersionIn applies the In predicate on the "apiVersion" field.

func ApiVersionLT

func ApiVersionLT(v string) predicate.AuditEvent

ApiVersionLT applies the LT predicate on the "apiVersion" field.

func ApiVersionLTE

func ApiVersionLTE(v string) predicate.AuditEvent

ApiVersionLTE applies the LTE predicate on the "apiVersion" field.

func ApiVersionNEQ

func ApiVersionNEQ(v string) predicate.AuditEvent

ApiVersionNEQ applies the NEQ predicate on the "apiVersion" field.

func ApiVersionNotIn

func ApiVersionNotIn(vs ...string) predicate.AuditEvent

ApiVersionNotIn applies the NotIn predicate on the "apiVersion" field.

func AuditID

func AuditID(v string) predicate.AuditEvent

AuditID applies equality check predicate on the "auditID" field. It's identical to AuditIDEQ.

func AuditIDContains

func AuditIDContains(v string) predicate.AuditEvent

AuditIDContains applies the Contains predicate on the "auditID" field.

func AuditIDContainsFold

func AuditIDContainsFold(v string) predicate.AuditEvent

AuditIDContainsFold applies the ContainsFold predicate on the "auditID" field.

func AuditIDEQ

func AuditIDEQ(v string) predicate.AuditEvent

AuditIDEQ applies the EQ predicate on the "auditID" field.

func AuditIDEqualFold

func AuditIDEqualFold(v string) predicate.AuditEvent

AuditIDEqualFold applies the EqualFold predicate on the "auditID" field.

func AuditIDGT

func AuditIDGT(v string) predicate.AuditEvent

AuditIDGT applies the GT predicate on the "auditID" field.

func AuditIDGTE

func AuditIDGTE(v string) predicate.AuditEvent

AuditIDGTE applies the GTE predicate on the "auditID" field.

func AuditIDHasPrefix

func AuditIDHasPrefix(v string) predicate.AuditEvent

AuditIDHasPrefix applies the HasPrefix predicate on the "auditID" field.

func AuditIDHasSuffix

func AuditIDHasSuffix(v string) predicate.AuditEvent

AuditIDHasSuffix applies the HasSuffix predicate on the "auditID" field.

func AuditIDIn

func AuditIDIn(vs ...string) predicate.AuditEvent

AuditIDIn applies the In predicate on the "auditID" field.

func AuditIDLT

func AuditIDLT(v string) predicate.AuditEvent

AuditIDLT applies the LT predicate on the "auditID" field.

func AuditIDLTE

func AuditIDLTE(v string) predicate.AuditEvent

AuditIDLTE applies the LTE predicate on the "auditID" field.

func AuditIDNEQ

func AuditIDNEQ(v string) predicate.AuditEvent

AuditIDNEQ applies the NEQ predicate on the "auditID" field.

func AuditIDNotIn

func AuditIDNotIn(vs ...string) predicate.AuditEvent

AuditIDNotIn applies the NotIn predicate on the "auditID" field.

func ID

func ID(id int) predicate.AuditEvent

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AuditEvent

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AuditEvent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AuditEvent

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.AuditEvent

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AuditEvent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AuditEvent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AuditEvent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.AuditEvent

IDNotIn applies the NotIn predicate on the ID field.

func Level

func Level(v string) predicate.AuditEvent

Level applies equality check predicate on the "level" field. It's identical to LevelEQ.

func LevelContains

func LevelContains(v string) predicate.AuditEvent

LevelContains applies the Contains predicate on the "level" field.

func LevelContainsFold

func LevelContainsFold(v string) predicate.AuditEvent

LevelContainsFold applies the ContainsFold predicate on the "level" field.

func LevelEQ

func LevelEQ(v string) predicate.AuditEvent

LevelEQ applies the EQ predicate on the "level" field.

func LevelEqualFold

func LevelEqualFold(v string) predicate.AuditEvent

LevelEqualFold applies the EqualFold predicate on the "level" field.

func LevelGT

func LevelGT(v string) predicate.AuditEvent

LevelGT applies the GT predicate on the "level" field.

func LevelGTE

func LevelGTE(v string) predicate.AuditEvent

LevelGTE applies the GTE predicate on the "level" field.

func LevelHasPrefix

func LevelHasPrefix(v string) predicate.AuditEvent

LevelHasPrefix applies the HasPrefix predicate on the "level" field.

func LevelHasSuffix

func LevelHasSuffix(v string) predicate.AuditEvent

LevelHasSuffix applies the HasSuffix predicate on the "level" field.

func LevelIn

func LevelIn(vs ...string) predicate.AuditEvent

LevelIn applies the In predicate on the "level" field.

func LevelLT

func LevelLT(v string) predicate.AuditEvent

LevelLT applies the LT predicate on the "level" field.

func LevelLTE

func LevelLTE(v string) predicate.AuditEvent

LevelLTE applies the LTE predicate on the "level" field.

func LevelNEQ

func LevelNEQ(v string) predicate.AuditEvent

LevelNEQ applies the NEQ predicate on the "level" field.

func LevelNotIn

func LevelNotIn(vs ...string) predicate.AuditEvent

LevelNotIn applies the NotIn predicate on the "level" field.

func Name

func Name(v string) predicate.AuditEvent

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AuditEvent

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AuditEvent

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.AuditEvent

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AuditEvent

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.AuditEvent

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.AuditEvent

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AuditEvent

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AuditEvent

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.AuditEvent

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.AuditEvent

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.AuditEvent

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.AuditEvent

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AuditEvent

NameNotIn applies the NotIn predicate on the "name" field.

func Namespace

func Namespace(v string) predicate.AuditEvent

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.AuditEvent

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.AuditEvent

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.AuditEvent

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.AuditEvent

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.AuditEvent

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.AuditEvent

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.AuditEvent

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.AuditEvent

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.AuditEvent

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.AuditEvent

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.AuditEvent

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.AuditEvent

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.AuditEvent

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AuditEvent) predicate.AuditEvent

Or groups predicates with the OR operator between them.

func Raw

Raw applies equality check predicate on the "raw" field. It's identical to RawEQ.

func RawContains

func RawContains(v string) predicate.AuditEvent

RawContains applies the Contains predicate on the "raw" field.

func RawContainsFold

func RawContainsFold(v string) predicate.AuditEvent

RawContainsFold applies the ContainsFold predicate on the "raw" field.

func RawEQ

func RawEQ(v string) predicate.AuditEvent

RawEQ applies the EQ predicate on the "raw" field.

func RawEqualFold

func RawEqualFold(v string) predicate.AuditEvent

RawEqualFold applies the EqualFold predicate on the "raw" field.

func RawGT

func RawGT(v string) predicate.AuditEvent

RawGT applies the GT predicate on the "raw" field.

func RawGTE

func RawGTE(v string) predicate.AuditEvent

RawGTE applies the GTE predicate on the "raw" field.

func RawHasPrefix

func RawHasPrefix(v string) predicate.AuditEvent

RawHasPrefix applies the HasPrefix predicate on the "raw" field.

func RawHasSuffix

func RawHasSuffix(v string) predicate.AuditEvent

RawHasSuffix applies the HasSuffix predicate on the "raw" field.

func RawIn

func RawIn(vs ...string) predicate.AuditEvent

RawIn applies the In predicate on the "raw" field.

func RawLT

func RawLT(v string) predicate.AuditEvent

RawLT applies the LT predicate on the "raw" field.

func RawLTE

func RawLTE(v string) predicate.AuditEvent

RawLTE applies the LTE predicate on the "raw" field.

func RawNEQ

func RawNEQ(v string) predicate.AuditEvent

RawNEQ applies the NEQ predicate on the "raw" field.

func RawNotIn

func RawNotIn(vs ...string) predicate.AuditEvent

RawNotIn applies the NotIn predicate on the "raw" field.

func RequestTimestamp

func RequestTimestamp(v time.Time) predicate.AuditEvent

RequestTimestamp applies equality check predicate on the "requestTimestamp" field. It's identical to RequestTimestampEQ.

func RequestTimestampEQ

func RequestTimestampEQ(v time.Time) predicate.AuditEvent

RequestTimestampEQ applies the EQ predicate on the "requestTimestamp" field.

func RequestTimestampGT

func RequestTimestampGT(v time.Time) predicate.AuditEvent

RequestTimestampGT applies the GT predicate on the "requestTimestamp" field.

func RequestTimestampGTE

func RequestTimestampGTE(v time.Time) predicate.AuditEvent

RequestTimestampGTE applies the GTE predicate on the "requestTimestamp" field.

func RequestTimestampIn

func RequestTimestampIn(vs ...time.Time) predicate.AuditEvent

RequestTimestampIn applies the In predicate on the "requestTimestamp" field.

func RequestTimestampLT

func RequestTimestampLT(v time.Time) predicate.AuditEvent

RequestTimestampLT applies the LT predicate on the "requestTimestamp" field.

func RequestTimestampLTE

func RequestTimestampLTE(v time.Time) predicate.AuditEvent

RequestTimestampLTE applies the LTE predicate on the "requestTimestamp" field.

func RequestTimestampNEQ

func RequestTimestampNEQ(v time.Time) predicate.AuditEvent

RequestTimestampNEQ applies the NEQ predicate on the "requestTimestamp" field.

func RequestTimestampNotIn

func RequestTimestampNotIn(vs ...time.Time) predicate.AuditEvent

RequestTimestampNotIn applies the NotIn predicate on the "requestTimestamp" field.

func Resource

func Resource(v string) predicate.AuditEvent

Resource applies equality check predicate on the "resource" field. It's identical to ResourceEQ.

func ResourceContains

func ResourceContains(v string) predicate.AuditEvent

ResourceContains applies the Contains predicate on the "resource" field.

func ResourceContainsFold

func ResourceContainsFold(v string) predicate.AuditEvent

ResourceContainsFold applies the ContainsFold predicate on the "resource" field.

func ResourceEQ

func ResourceEQ(v string) predicate.AuditEvent

ResourceEQ applies the EQ predicate on the "resource" field.

func ResourceEqualFold

func ResourceEqualFold(v string) predicate.AuditEvent

ResourceEqualFold applies the EqualFold predicate on the "resource" field.

func ResourceGT

func ResourceGT(v string) predicate.AuditEvent

ResourceGT applies the GT predicate on the "resource" field.

func ResourceGTE

func ResourceGTE(v string) predicate.AuditEvent

ResourceGTE applies the GTE predicate on the "resource" field.

func ResourceHasPrefix

func ResourceHasPrefix(v string) predicate.AuditEvent

ResourceHasPrefix applies the HasPrefix predicate on the "resource" field.

func ResourceHasSuffix

func ResourceHasSuffix(v string) predicate.AuditEvent

ResourceHasSuffix applies the HasSuffix predicate on the "resource" field.

func ResourceIn

func ResourceIn(vs ...string) predicate.AuditEvent

ResourceIn applies the In predicate on the "resource" field.

func ResourceLT

func ResourceLT(v string) predicate.AuditEvent

ResourceLT applies the LT predicate on the "resource" field.

func ResourceLTE

func ResourceLTE(v string) predicate.AuditEvent

ResourceLTE applies the LTE predicate on the "resource" field.

func ResourceNEQ

func ResourceNEQ(v string) predicate.AuditEvent

ResourceNEQ applies the NEQ predicate on the "resource" field.

func ResourceNotIn

func ResourceNotIn(vs ...string) predicate.AuditEvent

ResourceNotIn applies the NotIn predicate on the "resource" field.

func Stage

func Stage(v string) predicate.AuditEvent

Stage applies equality check predicate on the "stage" field. It's identical to StageEQ.

func StageContains

func StageContains(v string) predicate.AuditEvent

StageContains applies the Contains predicate on the "stage" field.

func StageContainsFold

func StageContainsFold(v string) predicate.AuditEvent

StageContainsFold applies the ContainsFold predicate on the "stage" field.

func StageEQ

func StageEQ(v string) predicate.AuditEvent

StageEQ applies the EQ predicate on the "stage" field.

func StageEqualFold

func StageEqualFold(v string) predicate.AuditEvent

StageEqualFold applies the EqualFold predicate on the "stage" field.

func StageGT

func StageGT(v string) predicate.AuditEvent

StageGT applies the GT predicate on the "stage" field.

func StageGTE

func StageGTE(v string) predicate.AuditEvent

StageGTE applies the GTE predicate on the "stage" field.

func StageHasPrefix

func StageHasPrefix(v string) predicate.AuditEvent

StageHasPrefix applies the HasPrefix predicate on the "stage" field.

func StageHasSuffix

func StageHasSuffix(v string) predicate.AuditEvent

StageHasSuffix applies the HasSuffix predicate on the "stage" field.

func StageIn

func StageIn(vs ...string) predicate.AuditEvent

StageIn applies the In predicate on the "stage" field.

func StageLT

func StageLT(v string) predicate.AuditEvent

StageLT applies the LT predicate on the "stage" field.

func StageLTE

func StageLTE(v string) predicate.AuditEvent

StageLTE applies the LTE predicate on the "stage" field.

func StageNEQ

func StageNEQ(v string) predicate.AuditEvent

StageNEQ applies the NEQ predicate on the "stage" field.

func StageNotIn

func StageNotIn(vs ...string) predicate.AuditEvent

StageNotIn applies the NotIn predicate on the "stage" field.

func StageTimestamp

func StageTimestamp(v time.Time) predicate.AuditEvent

StageTimestamp applies equality check predicate on the "stageTimestamp" field. It's identical to StageTimestampEQ.

func StageTimestampEQ

func StageTimestampEQ(v time.Time) predicate.AuditEvent

StageTimestampEQ applies the EQ predicate on the "stageTimestamp" field.

func StageTimestampGT

func StageTimestampGT(v time.Time) predicate.AuditEvent

StageTimestampGT applies the GT predicate on the "stageTimestamp" field.

func StageTimestampGTE

func StageTimestampGTE(v time.Time) predicate.AuditEvent

StageTimestampGTE applies the GTE predicate on the "stageTimestamp" field.

func StageTimestampIn

func StageTimestampIn(vs ...time.Time) predicate.AuditEvent

StageTimestampIn applies the In predicate on the "stageTimestamp" field.

func StageTimestampLT

func StageTimestampLT(v time.Time) predicate.AuditEvent

StageTimestampLT applies the LT predicate on the "stageTimestamp" field.

func StageTimestampLTE

func StageTimestampLTE(v time.Time) predicate.AuditEvent

StageTimestampLTE applies the LTE predicate on the "stageTimestamp" field.

func StageTimestampNEQ

func StageTimestampNEQ(v time.Time) predicate.AuditEvent

StageTimestampNEQ applies the NEQ predicate on the "stageTimestamp" field.

func StageTimestampNotIn

func StageTimestampNotIn(vs ...time.Time) predicate.AuditEvent

StageTimestampNotIn applies the NotIn predicate on the "stageTimestamp" field.

func SubResource

func SubResource(v string) predicate.AuditEvent

SubResource applies equality check predicate on the "subResource" field. It's identical to SubResourceEQ.

func SubResourceContains

func SubResourceContains(v string) predicate.AuditEvent

SubResourceContains applies the Contains predicate on the "subResource" field.

func SubResourceContainsFold

func SubResourceContainsFold(v string) predicate.AuditEvent

SubResourceContainsFold applies the ContainsFold predicate on the "subResource" field.

func SubResourceEQ

func SubResourceEQ(v string) predicate.AuditEvent

SubResourceEQ applies the EQ predicate on the "subResource" field.

func SubResourceEqualFold

func SubResourceEqualFold(v string) predicate.AuditEvent

SubResourceEqualFold applies the EqualFold predicate on the "subResource" field.

func SubResourceGT

func SubResourceGT(v string) predicate.AuditEvent

SubResourceGT applies the GT predicate on the "subResource" field.

func SubResourceGTE

func SubResourceGTE(v string) predicate.AuditEvent

SubResourceGTE applies the GTE predicate on the "subResource" field.

func SubResourceHasPrefix

func SubResourceHasPrefix(v string) predicate.AuditEvent

SubResourceHasPrefix applies the HasPrefix predicate on the "subResource" field.

func SubResourceHasSuffix

func SubResourceHasSuffix(v string) predicate.AuditEvent

SubResourceHasSuffix applies the HasSuffix predicate on the "subResource" field.

func SubResourceIn

func SubResourceIn(vs ...string) predicate.AuditEvent

SubResourceIn applies the In predicate on the "subResource" field.

func SubResourceLT

func SubResourceLT(v string) predicate.AuditEvent

SubResourceLT applies the LT predicate on the "subResource" field.

func SubResourceLTE

func SubResourceLTE(v string) predicate.AuditEvent

SubResourceLTE applies the LTE predicate on the "subResource" field.

func SubResourceNEQ

func SubResourceNEQ(v string) predicate.AuditEvent

SubResourceNEQ applies the NEQ predicate on the "subResource" field.

func SubResourceNotIn

func SubResourceNotIn(vs ...string) predicate.AuditEvent

SubResourceNotIn applies the NotIn predicate on the "subResource" field.

func UserAgent

func UserAgent(v string) predicate.AuditEvent

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

func UserAgentContains

func UserAgentContains(v string) predicate.AuditEvent

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

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.AuditEvent

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

func UserAgentEQ

func UserAgentEQ(v string) predicate.AuditEvent

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

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.AuditEvent

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

func UserAgentGT

func UserAgentGT(v string) predicate.AuditEvent

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

func UserAgentGTE

func UserAgentGTE(v string) predicate.AuditEvent

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

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.AuditEvent

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

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.AuditEvent

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

func UserAgentIn

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

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

func UserAgentLT

func UserAgentLT(v string) predicate.AuditEvent

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

func UserAgentLTE

func UserAgentLTE(v string) predicate.AuditEvent

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

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.AuditEvent

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

func UserAgentNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

func Verb

func Verb(v string) predicate.AuditEvent

Verb applies equality check predicate on the "verb" field. It's identical to VerbEQ.

func VerbContains

func VerbContains(v string) predicate.AuditEvent

VerbContains applies the Contains predicate on the "verb" field.

func VerbContainsFold

func VerbContainsFold(v string) predicate.AuditEvent

VerbContainsFold applies the ContainsFold predicate on the "verb" field.

func VerbEQ

func VerbEQ(v string) predicate.AuditEvent

VerbEQ applies the EQ predicate on the "verb" field.

func VerbEqualFold

func VerbEqualFold(v string) predicate.AuditEvent

VerbEqualFold applies the EqualFold predicate on the "verb" field.

func VerbGT

func VerbGT(v string) predicate.AuditEvent

VerbGT applies the GT predicate on the "verb" field.

func VerbGTE

func VerbGTE(v string) predicate.AuditEvent

VerbGTE applies the GTE predicate on the "verb" field.

func VerbHasPrefix

func VerbHasPrefix(v string) predicate.AuditEvent

VerbHasPrefix applies the HasPrefix predicate on the "verb" field.

func VerbHasSuffix

func VerbHasSuffix(v string) predicate.AuditEvent

VerbHasSuffix applies the HasSuffix predicate on the "verb" field.

func VerbIn

func VerbIn(vs ...string) predicate.AuditEvent

VerbIn applies the In predicate on the "verb" field.

func VerbLT

func VerbLT(v string) predicate.AuditEvent

VerbLT applies the LT predicate on the "verb" field.

func VerbLTE

func VerbLTE(v string) predicate.AuditEvent

VerbLTE applies the LTE predicate on the "verb" field.

func VerbNEQ

func VerbNEQ(v string) predicate.AuditEvent

VerbNEQ applies the NEQ predicate on the "verb" field.

func VerbNotIn

func VerbNotIn(vs ...string) predicate.AuditEvent

VerbNotIn applies the NotIn predicate on the "verb" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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