alert

package
v0.0.0-...-236fc01 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the alert type in the database.
	Label = "alert"
	// 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"
	// FieldScenario holds the string denoting the scenario field in the database.
	FieldScenario = "scenario"
	// FieldBucketId holds the string denoting the bucketid field in the database.
	FieldBucketId = "bucket_id"
	// FieldMessage holds the string denoting the message field in the database.
	FieldMessage = "message"
	// FieldEventsCount holds the string denoting the eventscount field in the database.
	FieldEventsCount = "events_count"
	// FieldStartedAt holds the string denoting the startedat field in the database.
	FieldStartedAt = "started_at"
	// FieldStoppedAt holds the string denoting the stoppedat field in the database.
	FieldStoppedAt = "stopped_at"
	// FieldSourceIp holds the string denoting the sourceip field in the database.
	FieldSourceIp = "source_ip"
	// FieldSourceRange holds the string denoting the sourcerange field in the database.
	FieldSourceRange = "source_range"
	// FieldSourceAsNumber holds the string denoting the sourceasnumber field in the database.
	FieldSourceAsNumber = "source_as_number"
	// FieldSourceAsName holds the string denoting the sourceasname field in the database.
	FieldSourceAsName = "source_as_name"
	// FieldSourceCountry holds the string denoting the sourcecountry field in the database.
	FieldSourceCountry = "source_country"
	// FieldSourceLatitude holds the string denoting the sourcelatitude field in the database.
	FieldSourceLatitude = "source_latitude"
	// FieldSourceLongitude holds the string denoting the sourcelongitude field in the database.
	FieldSourceLongitude = "source_longitude"
	// FieldSourceScope holds the string denoting the sourcescope field in the database.
	FieldSourceScope = "source_scope"
	// FieldSourceValue holds the string denoting the sourcevalue field in the database.
	FieldSourceValue = "source_value"
	// FieldCapacity holds the string denoting the capacity field in the database.
	FieldCapacity = "capacity"
	// FieldLeakSpeed holds the string denoting the leakspeed field in the database.
	FieldLeakSpeed = "leak_speed"
	// FieldScenarioVersion holds the string denoting the scenarioversion field in the database.
	FieldScenarioVersion = "scenario_version"
	// FieldScenarioHash holds the string denoting the scenariohash field in the database.
	FieldScenarioHash = "scenario_hash"
	// FieldSimulated holds the string denoting the simulated field in the database.
	FieldSimulated = "simulated"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeDecisions holds the string denoting the decisions edge name in mutations.
	EdgeDecisions = "decisions"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeMetas holds the string denoting the metas edge name in mutations.
	EdgeMetas = "metas"
	// Table holds the table name of the alert in the database.
	Table = "alerts"
	// OwnerTable is the table the holds the owner relation/edge.
	OwnerTable = "alerts"
	// OwnerInverseTable is the table name for the Machine entity.
	// It exists in this package in order to avoid circular dependency with the "machine" package.
	OwnerInverseTable = "machines"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "machine_alerts"
	// DecisionsTable is the table the holds the decisions relation/edge.
	DecisionsTable = "decisions"
	// DecisionsInverseTable is the table name for the Decision entity.
	// It exists in this package in order to avoid circular dependency with the "decision" package.
	DecisionsInverseTable = "decisions"
	// DecisionsColumn is the table column denoting the decisions relation/edge.
	DecisionsColumn = "alert_decisions"
	// EventsTable is the table the holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "alert_events"
	// MetasTable is the table the holds the metas relation/edge.
	MetasTable = "meta"
	// MetasInverseTable is the table name for the Meta entity.
	// It exists in this package in order to avoid circular dependency with the "meta" package.
	MetasInverseTable = "meta"
	// MetasColumn is the table column denoting the metas relation/edge.
	MetasColumn = "alert_metas"
)

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
	// DefaultBucketId holds the default value on creation for the "bucketId" field.
	DefaultBucketId string
	// DefaultMessage holds the default value on creation for the "message" field.
	DefaultMessage string
	// DefaultEventsCount holds the default value on creation for the "eventsCount" field.
	DefaultEventsCount int32
	// DefaultStartedAt holds the default value on creation for the "startedAt" field.
	DefaultStartedAt func() time.Time
	// DefaultStoppedAt holds the default value on creation for the "stoppedAt" field.
	DefaultStoppedAt func() time.Time
	// DefaultSimulated holds the default value on creation for the "simulated" field.
	DefaultSimulated bool
)

Columns holds all SQL columns for alert fields.

View Source
var ForeignKeys = []string{
	"machine_alerts",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "alerts" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.Alert) predicate.Alert

And groups predicates with the AND operator between them.

func BucketId

func BucketId(v string) predicate.Alert

BucketId applies equality check predicate on the "bucketId" field. It's identical to BucketIdEQ.

func BucketIdContains

func BucketIdContains(v string) predicate.Alert

BucketIdContains applies the Contains predicate on the "bucketId" field.

func BucketIdContainsFold

func BucketIdContainsFold(v string) predicate.Alert

BucketIdContainsFold applies the ContainsFold predicate on the "bucketId" field.

func BucketIdEQ

func BucketIdEQ(v string) predicate.Alert

BucketIdEQ applies the EQ predicate on the "bucketId" field.

func BucketIdEqualFold

func BucketIdEqualFold(v string) predicate.Alert

BucketIdEqualFold applies the EqualFold predicate on the "bucketId" field.

func BucketIdGT

func BucketIdGT(v string) predicate.Alert

BucketIdGT applies the GT predicate on the "bucketId" field.

func BucketIdGTE

func BucketIdGTE(v string) predicate.Alert

BucketIdGTE applies the GTE predicate on the "bucketId" field.

func BucketIdHasPrefix

func BucketIdHasPrefix(v string) predicate.Alert

BucketIdHasPrefix applies the HasPrefix predicate on the "bucketId" field.

func BucketIdHasSuffix

func BucketIdHasSuffix(v string) predicate.Alert

BucketIdHasSuffix applies the HasSuffix predicate on the "bucketId" field.

func BucketIdIn

func BucketIdIn(vs ...string) predicate.Alert

BucketIdIn applies the In predicate on the "bucketId" field.

func BucketIdIsNil

func BucketIdIsNil() predicate.Alert

BucketIdIsNil applies the IsNil predicate on the "bucketId" field.

func BucketIdLT

func BucketIdLT(v string) predicate.Alert

BucketIdLT applies the LT predicate on the "bucketId" field.

func BucketIdLTE

func BucketIdLTE(v string) predicate.Alert

BucketIdLTE applies the LTE predicate on the "bucketId" field.

func BucketIdNEQ

func BucketIdNEQ(v string) predicate.Alert

BucketIdNEQ applies the NEQ predicate on the "bucketId" field.

func BucketIdNotIn

func BucketIdNotIn(vs ...string) predicate.Alert

BucketIdNotIn applies the NotIn predicate on the "bucketId" field.

func BucketIdNotNil

func BucketIdNotNil() predicate.Alert

BucketIdNotNil applies the NotNil predicate on the "bucketId" field.

func Capacity

func Capacity(v int32) predicate.Alert

Capacity applies equality check predicate on the "capacity" field. It's identical to CapacityEQ.

func CapacityEQ

func CapacityEQ(v int32) predicate.Alert

CapacityEQ applies the EQ predicate on the "capacity" field.

func CapacityGT

func CapacityGT(v int32) predicate.Alert

CapacityGT applies the GT predicate on the "capacity" field.

func CapacityGTE

func CapacityGTE(v int32) predicate.Alert

CapacityGTE applies the GTE predicate on the "capacity" field.

func CapacityIn

func CapacityIn(vs ...int32) predicate.Alert

CapacityIn applies the In predicate on the "capacity" field.

func CapacityIsNil

func CapacityIsNil() predicate.Alert

CapacityIsNil applies the IsNil predicate on the "capacity" field.

func CapacityLT

func CapacityLT(v int32) predicate.Alert

CapacityLT applies the LT predicate on the "capacity" field.

func CapacityLTE

func CapacityLTE(v int32) predicate.Alert

CapacityLTE applies the LTE predicate on the "capacity" field.

func CapacityNEQ

func CapacityNEQ(v int32) predicate.Alert

CapacityNEQ applies the NEQ predicate on the "capacity" field.

func CapacityNotIn

func CapacityNotIn(vs ...int32) predicate.Alert

CapacityNotIn applies the NotIn predicate on the "capacity" field.

func CapacityNotNil

func CapacityNotNil() predicate.Alert

CapacityNotNil applies the NotNil predicate on the "capacity" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Alert

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Alert

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Alert

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Alert

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Alert

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Alert

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Alert

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

func CreatedAtNotIn

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

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

func EventsCount

func EventsCount(v int32) predicate.Alert

EventsCount applies equality check predicate on the "eventsCount" field. It's identical to EventsCountEQ.

func EventsCountEQ

func EventsCountEQ(v int32) predicate.Alert

EventsCountEQ applies the EQ predicate on the "eventsCount" field.

func EventsCountGT

func EventsCountGT(v int32) predicate.Alert

EventsCountGT applies the GT predicate on the "eventsCount" field.

func EventsCountGTE

func EventsCountGTE(v int32) predicate.Alert

EventsCountGTE applies the GTE predicate on the "eventsCount" field.

func EventsCountIn

func EventsCountIn(vs ...int32) predicate.Alert

EventsCountIn applies the In predicate on the "eventsCount" field.

func EventsCountIsNil

func EventsCountIsNil() predicate.Alert

EventsCountIsNil applies the IsNil predicate on the "eventsCount" field.

func EventsCountLT

func EventsCountLT(v int32) predicate.Alert

EventsCountLT applies the LT predicate on the "eventsCount" field.

func EventsCountLTE

func EventsCountLTE(v int32) predicate.Alert

EventsCountLTE applies the LTE predicate on the "eventsCount" field.

func EventsCountNEQ

func EventsCountNEQ(v int32) predicate.Alert

EventsCountNEQ applies the NEQ predicate on the "eventsCount" field.

func EventsCountNotIn

func EventsCountNotIn(vs ...int32) predicate.Alert

EventsCountNotIn applies the NotIn predicate on the "eventsCount" field.

func EventsCountNotNil

func EventsCountNotNil() predicate.Alert

EventsCountNotNil applies the NotNil predicate on the "eventsCount" field.

func HasDecisions

func HasDecisions() predicate.Alert

HasDecisions applies the HasEdge predicate on the "decisions" edge.

func HasDecisionsWith

func HasDecisionsWith(preds ...predicate.Decision) predicate.Alert

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

func HasEvents

func HasEvents() predicate.Alert

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Alert

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

func HasMetas

func HasMetas() predicate.Alert

HasMetas applies the HasEdge predicate on the "metas" edge.

func HasMetasWith

func HasMetasWith(preds ...predicate.Meta) predicate.Alert

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

func HasOwner

func HasOwner() predicate.Alert

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Machine) predicate.Alert

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

func ID

func ID(id int) predicate.Alert

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Alert

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Alert

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Alert

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Alert

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Alert

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Alert

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LeakSpeed

func LeakSpeed(v string) predicate.Alert

LeakSpeed applies equality check predicate on the "leakSpeed" field. It's identical to LeakSpeedEQ.

func LeakSpeedContains

func LeakSpeedContains(v string) predicate.Alert

LeakSpeedContains applies the Contains predicate on the "leakSpeed" field.

func LeakSpeedContainsFold

func LeakSpeedContainsFold(v string) predicate.Alert

LeakSpeedContainsFold applies the ContainsFold predicate on the "leakSpeed" field.

func LeakSpeedEQ

func LeakSpeedEQ(v string) predicate.Alert

LeakSpeedEQ applies the EQ predicate on the "leakSpeed" field.

func LeakSpeedEqualFold

func LeakSpeedEqualFold(v string) predicate.Alert

LeakSpeedEqualFold applies the EqualFold predicate on the "leakSpeed" field.

func LeakSpeedGT

func LeakSpeedGT(v string) predicate.Alert

LeakSpeedGT applies the GT predicate on the "leakSpeed" field.

func LeakSpeedGTE

func LeakSpeedGTE(v string) predicate.Alert

LeakSpeedGTE applies the GTE predicate on the "leakSpeed" field.

func LeakSpeedHasPrefix

func LeakSpeedHasPrefix(v string) predicate.Alert

LeakSpeedHasPrefix applies the HasPrefix predicate on the "leakSpeed" field.

func LeakSpeedHasSuffix

func LeakSpeedHasSuffix(v string) predicate.Alert

LeakSpeedHasSuffix applies the HasSuffix predicate on the "leakSpeed" field.

func LeakSpeedIn

func LeakSpeedIn(vs ...string) predicate.Alert

LeakSpeedIn applies the In predicate on the "leakSpeed" field.

func LeakSpeedIsNil

func LeakSpeedIsNil() predicate.Alert

LeakSpeedIsNil applies the IsNil predicate on the "leakSpeed" field.

func LeakSpeedLT

func LeakSpeedLT(v string) predicate.Alert

LeakSpeedLT applies the LT predicate on the "leakSpeed" field.

func LeakSpeedLTE

func LeakSpeedLTE(v string) predicate.Alert

LeakSpeedLTE applies the LTE predicate on the "leakSpeed" field.

func LeakSpeedNEQ

func LeakSpeedNEQ(v string) predicate.Alert

LeakSpeedNEQ applies the NEQ predicate on the "leakSpeed" field.

func LeakSpeedNotIn

func LeakSpeedNotIn(vs ...string) predicate.Alert

LeakSpeedNotIn applies the NotIn predicate on the "leakSpeed" field.

func LeakSpeedNotNil

func LeakSpeedNotNil() predicate.Alert

LeakSpeedNotNil applies the NotNil predicate on the "leakSpeed" field.

func Message

func Message(v string) predicate.Alert

Message applies equality check predicate on the "message" field. It's identical to MessageEQ.

func MessageContains

func MessageContains(v string) predicate.Alert

MessageContains applies the Contains predicate on the "message" field.

func MessageContainsFold

func MessageContainsFold(v string) predicate.Alert

MessageContainsFold applies the ContainsFold predicate on the "message" field.

func MessageEQ

func MessageEQ(v string) predicate.Alert

MessageEQ applies the EQ predicate on the "message" field.

func MessageEqualFold

func MessageEqualFold(v string) predicate.Alert

MessageEqualFold applies the EqualFold predicate on the "message" field.

func MessageGT

func MessageGT(v string) predicate.Alert

MessageGT applies the GT predicate on the "message" field.

func MessageGTE

func MessageGTE(v string) predicate.Alert

MessageGTE applies the GTE predicate on the "message" field.

func MessageHasPrefix

func MessageHasPrefix(v string) predicate.Alert

MessageHasPrefix applies the HasPrefix predicate on the "message" field.

func MessageHasSuffix

func MessageHasSuffix(v string) predicate.Alert

MessageHasSuffix applies the HasSuffix predicate on the "message" field.

func MessageIn

func MessageIn(vs ...string) predicate.Alert

MessageIn applies the In predicate on the "message" field.

func MessageIsNil

func MessageIsNil() predicate.Alert

MessageIsNil applies the IsNil predicate on the "message" field.

func MessageLT

func MessageLT(v string) predicate.Alert

MessageLT applies the LT predicate on the "message" field.

func MessageLTE

func MessageLTE(v string) predicate.Alert

MessageLTE applies the LTE predicate on the "message" field.

func MessageNEQ

func MessageNEQ(v string) predicate.Alert

MessageNEQ applies the NEQ predicate on the "message" field.

func MessageNotIn

func MessageNotIn(vs ...string) predicate.Alert

MessageNotIn applies the NotIn predicate on the "message" field.

func MessageNotNil

func MessageNotNil() predicate.Alert

MessageNotNil applies the NotNil predicate on the "message" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Alert) predicate.Alert

Or groups predicates with the OR operator between them.

func Scenario

func Scenario(v string) predicate.Alert

Scenario applies equality check predicate on the "scenario" field. It's identical to ScenarioEQ.

func ScenarioContains

func ScenarioContains(v string) predicate.Alert

ScenarioContains applies the Contains predicate on the "scenario" field.

func ScenarioContainsFold

func ScenarioContainsFold(v string) predicate.Alert

ScenarioContainsFold applies the ContainsFold predicate on the "scenario" field.

func ScenarioEQ

func ScenarioEQ(v string) predicate.Alert

ScenarioEQ applies the EQ predicate on the "scenario" field.

func ScenarioEqualFold

func ScenarioEqualFold(v string) predicate.Alert

ScenarioEqualFold applies the EqualFold predicate on the "scenario" field.

func ScenarioGT

func ScenarioGT(v string) predicate.Alert

ScenarioGT applies the GT predicate on the "scenario" field.

func ScenarioGTE

func ScenarioGTE(v string) predicate.Alert

ScenarioGTE applies the GTE predicate on the "scenario" field.

func ScenarioHasPrefix

func ScenarioHasPrefix(v string) predicate.Alert

ScenarioHasPrefix applies the HasPrefix predicate on the "scenario" field.

func ScenarioHasSuffix

func ScenarioHasSuffix(v string) predicate.Alert

ScenarioHasSuffix applies the HasSuffix predicate on the "scenario" field.

func ScenarioHash

func ScenarioHash(v string) predicate.Alert

ScenarioHash applies equality check predicate on the "scenarioHash" field. It's identical to ScenarioHashEQ.

func ScenarioHashContains

func ScenarioHashContains(v string) predicate.Alert

ScenarioHashContains applies the Contains predicate on the "scenarioHash" field.

func ScenarioHashContainsFold

func ScenarioHashContainsFold(v string) predicate.Alert

ScenarioHashContainsFold applies the ContainsFold predicate on the "scenarioHash" field.

func ScenarioHashEQ

func ScenarioHashEQ(v string) predicate.Alert

ScenarioHashEQ applies the EQ predicate on the "scenarioHash" field.

func ScenarioHashEqualFold

func ScenarioHashEqualFold(v string) predicate.Alert

ScenarioHashEqualFold applies the EqualFold predicate on the "scenarioHash" field.

func ScenarioHashGT

func ScenarioHashGT(v string) predicate.Alert

ScenarioHashGT applies the GT predicate on the "scenarioHash" field.

func ScenarioHashGTE

func ScenarioHashGTE(v string) predicate.Alert

ScenarioHashGTE applies the GTE predicate on the "scenarioHash" field.

func ScenarioHashHasPrefix

func ScenarioHashHasPrefix(v string) predicate.Alert

ScenarioHashHasPrefix applies the HasPrefix predicate on the "scenarioHash" field.

func ScenarioHashHasSuffix

func ScenarioHashHasSuffix(v string) predicate.Alert

ScenarioHashHasSuffix applies the HasSuffix predicate on the "scenarioHash" field.

func ScenarioHashIn

func ScenarioHashIn(vs ...string) predicate.Alert

ScenarioHashIn applies the In predicate on the "scenarioHash" field.

func ScenarioHashIsNil

func ScenarioHashIsNil() predicate.Alert

ScenarioHashIsNil applies the IsNil predicate on the "scenarioHash" field.

func ScenarioHashLT

func ScenarioHashLT(v string) predicate.Alert

ScenarioHashLT applies the LT predicate on the "scenarioHash" field.

func ScenarioHashLTE

func ScenarioHashLTE(v string) predicate.Alert

ScenarioHashLTE applies the LTE predicate on the "scenarioHash" field.

func ScenarioHashNEQ

func ScenarioHashNEQ(v string) predicate.Alert

ScenarioHashNEQ applies the NEQ predicate on the "scenarioHash" field.

func ScenarioHashNotIn

func ScenarioHashNotIn(vs ...string) predicate.Alert

ScenarioHashNotIn applies the NotIn predicate on the "scenarioHash" field.

func ScenarioHashNotNil

func ScenarioHashNotNil() predicate.Alert

ScenarioHashNotNil applies the NotNil predicate on the "scenarioHash" field.

func ScenarioIn

func ScenarioIn(vs ...string) predicate.Alert

ScenarioIn applies the In predicate on the "scenario" field.

func ScenarioLT

func ScenarioLT(v string) predicate.Alert

ScenarioLT applies the LT predicate on the "scenario" field.

func ScenarioLTE

func ScenarioLTE(v string) predicate.Alert

ScenarioLTE applies the LTE predicate on the "scenario" field.

func ScenarioNEQ

func ScenarioNEQ(v string) predicate.Alert

ScenarioNEQ applies the NEQ predicate on the "scenario" field.

func ScenarioNotIn

func ScenarioNotIn(vs ...string) predicate.Alert

ScenarioNotIn applies the NotIn predicate on the "scenario" field.

func ScenarioVersion

func ScenarioVersion(v string) predicate.Alert

ScenarioVersion applies equality check predicate on the "scenarioVersion" field. It's identical to ScenarioVersionEQ.

func ScenarioVersionContains

func ScenarioVersionContains(v string) predicate.Alert

ScenarioVersionContains applies the Contains predicate on the "scenarioVersion" field.

func ScenarioVersionContainsFold

func ScenarioVersionContainsFold(v string) predicate.Alert

ScenarioVersionContainsFold applies the ContainsFold predicate on the "scenarioVersion" field.

func ScenarioVersionEQ

func ScenarioVersionEQ(v string) predicate.Alert

ScenarioVersionEQ applies the EQ predicate on the "scenarioVersion" field.

func ScenarioVersionEqualFold

func ScenarioVersionEqualFold(v string) predicate.Alert

ScenarioVersionEqualFold applies the EqualFold predicate on the "scenarioVersion" field.

func ScenarioVersionGT

func ScenarioVersionGT(v string) predicate.Alert

ScenarioVersionGT applies the GT predicate on the "scenarioVersion" field.

func ScenarioVersionGTE

func ScenarioVersionGTE(v string) predicate.Alert

ScenarioVersionGTE applies the GTE predicate on the "scenarioVersion" field.

func ScenarioVersionHasPrefix

func ScenarioVersionHasPrefix(v string) predicate.Alert

ScenarioVersionHasPrefix applies the HasPrefix predicate on the "scenarioVersion" field.

func ScenarioVersionHasSuffix

func ScenarioVersionHasSuffix(v string) predicate.Alert

ScenarioVersionHasSuffix applies the HasSuffix predicate on the "scenarioVersion" field.

func ScenarioVersionIn

func ScenarioVersionIn(vs ...string) predicate.Alert

ScenarioVersionIn applies the In predicate on the "scenarioVersion" field.

func ScenarioVersionIsNil

func ScenarioVersionIsNil() predicate.Alert

ScenarioVersionIsNil applies the IsNil predicate on the "scenarioVersion" field.

func ScenarioVersionLT

func ScenarioVersionLT(v string) predicate.Alert

ScenarioVersionLT applies the LT predicate on the "scenarioVersion" field.

func ScenarioVersionLTE

func ScenarioVersionLTE(v string) predicate.Alert

ScenarioVersionLTE applies the LTE predicate on the "scenarioVersion" field.

func ScenarioVersionNEQ

func ScenarioVersionNEQ(v string) predicate.Alert

ScenarioVersionNEQ applies the NEQ predicate on the "scenarioVersion" field.

func ScenarioVersionNotIn

func ScenarioVersionNotIn(vs ...string) predicate.Alert

ScenarioVersionNotIn applies the NotIn predicate on the "scenarioVersion" field.

func ScenarioVersionNotNil

func ScenarioVersionNotNil() predicate.Alert

ScenarioVersionNotNil applies the NotNil predicate on the "scenarioVersion" field.

func Simulated

func Simulated(v bool) predicate.Alert

Simulated applies equality check predicate on the "simulated" field. It's identical to SimulatedEQ.

func SimulatedEQ

func SimulatedEQ(v bool) predicate.Alert

SimulatedEQ applies the EQ predicate on the "simulated" field.

func SimulatedNEQ

func SimulatedNEQ(v bool) predicate.Alert

SimulatedNEQ applies the NEQ predicate on the "simulated" field.

func SourceAsName

func SourceAsName(v string) predicate.Alert

SourceAsName applies equality check predicate on the "sourceAsName" field. It's identical to SourceAsNameEQ.

func SourceAsNameContains

func SourceAsNameContains(v string) predicate.Alert

SourceAsNameContains applies the Contains predicate on the "sourceAsName" field.

func SourceAsNameContainsFold

func SourceAsNameContainsFold(v string) predicate.Alert

SourceAsNameContainsFold applies the ContainsFold predicate on the "sourceAsName" field.

func SourceAsNameEQ

func SourceAsNameEQ(v string) predicate.Alert

SourceAsNameEQ applies the EQ predicate on the "sourceAsName" field.

func SourceAsNameEqualFold

func SourceAsNameEqualFold(v string) predicate.Alert

SourceAsNameEqualFold applies the EqualFold predicate on the "sourceAsName" field.

func SourceAsNameGT

func SourceAsNameGT(v string) predicate.Alert

SourceAsNameGT applies the GT predicate on the "sourceAsName" field.

func SourceAsNameGTE

func SourceAsNameGTE(v string) predicate.Alert

SourceAsNameGTE applies the GTE predicate on the "sourceAsName" field.

func SourceAsNameHasPrefix

func SourceAsNameHasPrefix(v string) predicate.Alert

SourceAsNameHasPrefix applies the HasPrefix predicate on the "sourceAsName" field.

func SourceAsNameHasSuffix

func SourceAsNameHasSuffix(v string) predicate.Alert

SourceAsNameHasSuffix applies the HasSuffix predicate on the "sourceAsName" field.

func SourceAsNameIn

func SourceAsNameIn(vs ...string) predicate.Alert

SourceAsNameIn applies the In predicate on the "sourceAsName" field.

func SourceAsNameIsNil

func SourceAsNameIsNil() predicate.Alert

SourceAsNameIsNil applies the IsNil predicate on the "sourceAsName" field.

func SourceAsNameLT

func SourceAsNameLT(v string) predicate.Alert

SourceAsNameLT applies the LT predicate on the "sourceAsName" field.

func SourceAsNameLTE

func SourceAsNameLTE(v string) predicate.Alert

SourceAsNameLTE applies the LTE predicate on the "sourceAsName" field.

func SourceAsNameNEQ

func SourceAsNameNEQ(v string) predicate.Alert

SourceAsNameNEQ applies the NEQ predicate on the "sourceAsName" field.

func SourceAsNameNotIn

func SourceAsNameNotIn(vs ...string) predicate.Alert

SourceAsNameNotIn applies the NotIn predicate on the "sourceAsName" field.

func SourceAsNameNotNil

func SourceAsNameNotNil() predicate.Alert

SourceAsNameNotNil applies the NotNil predicate on the "sourceAsName" field.

func SourceAsNumber

func SourceAsNumber(v string) predicate.Alert

SourceAsNumber applies equality check predicate on the "sourceAsNumber" field. It's identical to SourceAsNumberEQ.

func SourceAsNumberContains

func SourceAsNumberContains(v string) predicate.Alert

SourceAsNumberContains applies the Contains predicate on the "sourceAsNumber" field.

func SourceAsNumberContainsFold

func SourceAsNumberContainsFold(v string) predicate.Alert

SourceAsNumberContainsFold applies the ContainsFold predicate on the "sourceAsNumber" field.

func SourceAsNumberEQ

func SourceAsNumberEQ(v string) predicate.Alert

SourceAsNumberEQ applies the EQ predicate on the "sourceAsNumber" field.

func SourceAsNumberEqualFold

func SourceAsNumberEqualFold(v string) predicate.Alert

SourceAsNumberEqualFold applies the EqualFold predicate on the "sourceAsNumber" field.

func SourceAsNumberGT

func SourceAsNumberGT(v string) predicate.Alert

SourceAsNumberGT applies the GT predicate on the "sourceAsNumber" field.

func SourceAsNumberGTE

func SourceAsNumberGTE(v string) predicate.Alert

SourceAsNumberGTE applies the GTE predicate on the "sourceAsNumber" field.

func SourceAsNumberHasPrefix

func SourceAsNumberHasPrefix(v string) predicate.Alert

SourceAsNumberHasPrefix applies the HasPrefix predicate on the "sourceAsNumber" field.

func SourceAsNumberHasSuffix

func SourceAsNumberHasSuffix(v string) predicate.Alert

SourceAsNumberHasSuffix applies the HasSuffix predicate on the "sourceAsNumber" field.

func SourceAsNumberIn

func SourceAsNumberIn(vs ...string) predicate.Alert

SourceAsNumberIn applies the In predicate on the "sourceAsNumber" field.

func SourceAsNumberIsNil

func SourceAsNumberIsNil() predicate.Alert

SourceAsNumberIsNil applies the IsNil predicate on the "sourceAsNumber" field.

func SourceAsNumberLT

func SourceAsNumberLT(v string) predicate.Alert

SourceAsNumberLT applies the LT predicate on the "sourceAsNumber" field.

func SourceAsNumberLTE

func SourceAsNumberLTE(v string) predicate.Alert

SourceAsNumberLTE applies the LTE predicate on the "sourceAsNumber" field.

func SourceAsNumberNEQ

func SourceAsNumberNEQ(v string) predicate.Alert

SourceAsNumberNEQ applies the NEQ predicate on the "sourceAsNumber" field.

func SourceAsNumberNotIn

func SourceAsNumberNotIn(vs ...string) predicate.Alert

SourceAsNumberNotIn applies the NotIn predicate on the "sourceAsNumber" field.

func SourceAsNumberNotNil

func SourceAsNumberNotNil() predicate.Alert

SourceAsNumberNotNil applies the NotNil predicate on the "sourceAsNumber" field.

func SourceCountry

func SourceCountry(v string) predicate.Alert

SourceCountry applies equality check predicate on the "sourceCountry" field. It's identical to SourceCountryEQ.

func SourceCountryContains

func SourceCountryContains(v string) predicate.Alert

SourceCountryContains applies the Contains predicate on the "sourceCountry" field.

func SourceCountryContainsFold

func SourceCountryContainsFold(v string) predicate.Alert

SourceCountryContainsFold applies the ContainsFold predicate on the "sourceCountry" field.

func SourceCountryEQ

func SourceCountryEQ(v string) predicate.Alert

SourceCountryEQ applies the EQ predicate on the "sourceCountry" field.

func SourceCountryEqualFold

func SourceCountryEqualFold(v string) predicate.Alert

SourceCountryEqualFold applies the EqualFold predicate on the "sourceCountry" field.

func SourceCountryGT

func SourceCountryGT(v string) predicate.Alert

SourceCountryGT applies the GT predicate on the "sourceCountry" field.

func SourceCountryGTE

func SourceCountryGTE(v string) predicate.Alert

SourceCountryGTE applies the GTE predicate on the "sourceCountry" field.

func SourceCountryHasPrefix

func SourceCountryHasPrefix(v string) predicate.Alert

SourceCountryHasPrefix applies the HasPrefix predicate on the "sourceCountry" field.

func SourceCountryHasSuffix

func SourceCountryHasSuffix(v string) predicate.Alert

SourceCountryHasSuffix applies the HasSuffix predicate on the "sourceCountry" field.

func SourceCountryIn

func SourceCountryIn(vs ...string) predicate.Alert

SourceCountryIn applies the In predicate on the "sourceCountry" field.

func SourceCountryIsNil

func SourceCountryIsNil() predicate.Alert

SourceCountryIsNil applies the IsNil predicate on the "sourceCountry" field.

func SourceCountryLT

func SourceCountryLT(v string) predicate.Alert

SourceCountryLT applies the LT predicate on the "sourceCountry" field.

func SourceCountryLTE

func SourceCountryLTE(v string) predicate.Alert

SourceCountryLTE applies the LTE predicate on the "sourceCountry" field.

func SourceCountryNEQ

func SourceCountryNEQ(v string) predicate.Alert

SourceCountryNEQ applies the NEQ predicate on the "sourceCountry" field.

func SourceCountryNotIn

func SourceCountryNotIn(vs ...string) predicate.Alert

SourceCountryNotIn applies the NotIn predicate on the "sourceCountry" field.

func SourceCountryNotNil

func SourceCountryNotNil() predicate.Alert

SourceCountryNotNil applies the NotNil predicate on the "sourceCountry" field.

func SourceIp

func SourceIp(v string) predicate.Alert

SourceIp applies equality check predicate on the "sourceIp" field. It's identical to SourceIpEQ.

func SourceIpContains

func SourceIpContains(v string) predicate.Alert

SourceIpContains applies the Contains predicate on the "sourceIp" field.

func SourceIpContainsFold

func SourceIpContainsFold(v string) predicate.Alert

SourceIpContainsFold applies the ContainsFold predicate on the "sourceIp" field.

func SourceIpEQ

func SourceIpEQ(v string) predicate.Alert

SourceIpEQ applies the EQ predicate on the "sourceIp" field.

func SourceIpEqualFold

func SourceIpEqualFold(v string) predicate.Alert

SourceIpEqualFold applies the EqualFold predicate on the "sourceIp" field.

func SourceIpGT

func SourceIpGT(v string) predicate.Alert

SourceIpGT applies the GT predicate on the "sourceIp" field.

func SourceIpGTE

func SourceIpGTE(v string) predicate.Alert

SourceIpGTE applies the GTE predicate on the "sourceIp" field.

func SourceIpHasPrefix

func SourceIpHasPrefix(v string) predicate.Alert

SourceIpHasPrefix applies the HasPrefix predicate on the "sourceIp" field.

func SourceIpHasSuffix

func SourceIpHasSuffix(v string) predicate.Alert

SourceIpHasSuffix applies the HasSuffix predicate on the "sourceIp" field.

func SourceIpIn

func SourceIpIn(vs ...string) predicate.Alert

SourceIpIn applies the In predicate on the "sourceIp" field.

func SourceIpIsNil

func SourceIpIsNil() predicate.Alert

SourceIpIsNil applies the IsNil predicate on the "sourceIp" field.

func SourceIpLT

func SourceIpLT(v string) predicate.Alert

SourceIpLT applies the LT predicate on the "sourceIp" field.

func SourceIpLTE

func SourceIpLTE(v string) predicate.Alert

SourceIpLTE applies the LTE predicate on the "sourceIp" field.

func SourceIpNEQ

func SourceIpNEQ(v string) predicate.Alert

SourceIpNEQ applies the NEQ predicate on the "sourceIp" field.

func SourceIpNotIn

func SourceIpNotIn(vs ...string) predicate.Alert

SourceIpNotIn applies the NotIn predicate on the "sourceIp" field.

func SourceIpNotNil

func SourceIpNotNil() predicate.Alert

SourceIpNotNil applies the NotNil predicate on the "sourceIp" field.

func SourceLatitude

func SourceLatitude(v float32) predicate.Alert

SourceLatitude applies equality check predicate on the "sourceLatitude" field. It's identical to SourceLatitudeEQ.

func SourceLatitudeEQ

func SourceLatitudeEQ(v float32) predicate.Alert

SourceLatitudeEQ applies the EQ predicate on the "sourceLatitude" field.

func SourceLatitudeGT

func SourceLatitudeGT(v float32) predicate.Alert

SourceLatitudeGT applies the GT predicate on the "sourceLatitude" field.

func SourceLatitudeGTE

func SourceLatitudeGTE(v float32) predicate.Alert

SourceLatitudeGTE applies the GTE predicate on the "sourceLatitude" field.

func SourceLatitudeIn

func SourceLatitudeIn(vs ...float32) predicate.Alert

SourceLatitudeIn applies the In predicate on the "sourceLatitude" field.

func SourceLatitudeIsNil

func SourceLatitudeIsNil() predicate.Alert

SourceLatitudeIsNil applies the IsNil predicate on the "sourceLatitude" field.

func SourceLatitudeLT

func SourceLatitudeLT(v float32) predicate.Alert

SourceLatitudeLT applies the LT predicate on the "sourceLatitude" field.

func SourceLatitudeLTE

func SourceLatitudeLTE(v float32) predicate.Alert

SourceLatitudeLTE applies the LTE predicate on the "sourceLatitude" field.

func SourceLatitudeNEQ

func SourceLatitudeNEQ(v float32) predicate.Alert

SourceLatitudeNEQ applies the NEQ predicate on the "sourceLatitude" field.

func SourceLatitudeNotIn

func SourceLatitudeNotIn(vs ...float32) predicate.Alert

SourceLatitudeNotIn applies the NotIn predicate on the "sourceLatitude" field.

func SourceLatitudeNotNil

func SourceLatitudeNotNil() predicate.Alert

SourceLatitudeNotNil applies the NotNil predicate on the "sourceLatitude" field.

func SourceLongitude

func SourceLongitude(v float32) predicate.Alert

SourceLongitude applies equality check predicate on the "sourceLongitude" field. It's identical to SourceLongitudeEQ.

func SourceLongitudeEQ

func SourceLongitudeEQ(v float32) predicate.Alert

SourceLongitudeEQ applies the EQ predicate on the "sourceLongitude" field.

func SourceLongitudeGT

func SourceLongitudeGT(v float32) predicate.Alert

SourceLongitudeGT applies the GT predicate on the "sourceLongitude" field.

func SourceLongitudeGTE

func SourceLongitudeGTE(v float32) predicate.Alert

SourceLongitudeGTE applies the GTE predicate on the "sourceLongitude" field.

func SourceLongitudeIn

func SourceLongitudeIn(vs ...float32) predicate.Alert

SourceLongitudeIn applies the In predicate on the "sourceLongitude" field.

func SourceLongitudeIsNil

func SourceLongitudeIsNil() predicate.Alert

SourceLongitudeIsNil applies the IsNil predicate on the "sourceLongitude" field.

func SourceLongitudeLT

func SourceLongitudeLT(v float32) predicate.Alert

SourceLongitudeLT applies the LT predicate on the "sourceLongitude" field.

func SourceLongitudeLTE

func SourceLongitudeLTE(v float32) predicate.Alert

SourceLongitudeLTE applies the LTE predicate on the "sourceLongitude" field.

func SourceLongitudeNEQ

func SourceLongitudeNEQ(v float32) predicate.Alert

SourceLongitudeNEQ applies the NEQ predicate on the "sourceLongitude" field.

func SourceLongitudeNotIn

func SourceLongitudeNotIn(vs ...float32) predicate.Alert

SourceLongitudeNotIn applies the NotIn predicate on the "sourceLongitude" field.

func SourceLongitudeNotNil

func SourceLongitudeNotNil() predicate.Alert

SourceLongitudeNotNil applies the NotNil predicate on the "sourceLongitude" field.

func SourceRange

func SourceRange(v string) predicate.Alert

SourceRange applies equality check predicate on the "sourceRange" field. It's identical to SourceRangeEQ.

func SourceRangeContains

func SourceRangeContains(v string) predicate.Alert

SourceRangeContains applies the Contains predicate on the "sourceRange" field.

func SourceRangeContainsFold

func SourceRangeContainsFold(v string) predicate.Alert

SourceRangeContainsFold applies the ContainsFold predicate on the "sourceRange" field.

func SourceRangeEQ

func SourceRangeEQ(v string) predicate.Alert

SourceRangeEQ applies the EQ predicate on the "sourceRange" field.

func SourceRangeEqualFold

func SourceRangeEqualFold(v string) predicate.Alert

SourceRangeEqualFold applies the EqualFold predicate on the "sourceRange" field.

func SourceRangeGT

func SourceRangeGT(v string) predicate.Alert

SourceRangeGT applies the GT predicate on the "sourceRange" field.

func SourceRangeGTE

func SourceRangeGTE(v string) predicate.Alert

SourceRangeGTE applies the GTE predicate on the "sourceRange" field.

func SourceRangeHasPrefix

func SourceRangeHasPrefix(v string) predicate.Alert

SourceRangeHasPrefix applies the HasPrefix predicate on the "sourceRange" field.

func SourceRangeHasSuffix

func SourceRangeHasSuffix(v string) predicate.Alert

SourceRangeHasSuffix applies the HasSuffix predicate on the "sourceRange" field.

func SourceRangeIn

func SourceRangeIn(vs ...string) predicate.Alert

SourceRangeIn applies the In predicate on the "sourceRange" field.

func SourceRangeIsNil

func SourceRangeIsNil() predicate.Alert

SourceRangeIsNil applies the IsNil predicate on the "sourceRange" field.

func SourceRangeLT

func SourceRangeLT(v string) predicate.Alert

SourceRangeLT applies the LT predicate on the "sourceRange" field.

func SourceRangeLTE

func SourceRangeLTE(v string) predicate.Alert

SourceRangeLTE applies the LTE predicate on the "sourceRange" field.

func SourceRangeNEQ

func SourceRangeNEQ(v string) predicate.Alert

SourceRangeNEQ applies the NEQ predicate on the "sourceRange" field.

func SourceRangeNotIn

func SourceRangeNotIn(vs ...string) predicate.Alert

SourceRangeNotIn applies the NotIn predicate on the "sourceRange" field.

func SourceRangeNotNil

func SourceRangeNotNil() predicate.Alert

SourceRangeNotNil applies the NotNil predicate on the "sourceRange" field.

func SourceScope

func SourceScope(v string) predicate.Alert

SourceScope applies equality check predicate on the "sourceScope" field. It's identical to SourceScopeEQ.

func SourceScopeContains

func SourceScopeContains(v string) predicate.Alert

SourceScopeContains applies the Contains predicate on the "sourceScope" field.

func SourceScopeContainsFold

func SourceScopeContainsFold(v string) predicate.Alert

SourceScopeContainsFold applies the ContainsFold predicate on the "sourceScope" field.

func SourceScopeEQ

func SourceScopeEQ(v string) predicate.Alert

SourceScopeEQ applies the EQ predicate on the "sourceScope" field.

func SourceScopeEqualFold

func SourceScopeEqualFold(v string) predicate.Alert

SourceScopeEqualFold applies the EqualFold predicate on the "sourceScope" field.

func SourceScopeGT

func SourceScopeGT(v string) predicate.Alert

SourceScopeGT applies the GT predicate on the "sourceScope" field.

func SourceScopeGTE

func SourceScopeGTE(v string) predicate.Alert

SourceScopeGTE applies the GTE predicate on the "sourceScope" field.

func SourceScopeHasPrefix

func SourceScopeHasPrefix(v string) predicate.Alert

SourceScopeHasPrefix applies the HasPrefix predicate on the "sourceScope" field.

func SourceScopeHasSuffix

func SourceScopeHasSuffix(v string) predicate.Alert

SourceScopeHasSuffix applies the HasSuffix predicate on the "sourceScope" field.

func SourceScopeIn

func SourceScopeIn(vs ...string) predicate.Alert

SourceScopeIn applies the In predicate on the "sourceScope" field.

func SourceScopeIsNil

func SourceScopeIsNil() predicate.Alert

SourceScopeIsNil applies the IsNil predicate on the "sourceScope" field.

func SourceScopeLT

func SourceScopeLT(v string) predicate.Alert

SourceScopeLT applies the LT predicate on the "sourceScope" field.

func SourceScopeLTE

func SourceScopeLTE(v string) predicate.Alert

SourceScopeLTE applies the LTE predicate on the "sourceScope" field.

func SourceScopeNEQ

func SourceScopeNEQ(v string) predicate.Alert

SourceScopeNEQ applies the NEQ predicate on the "sourceScope" field.

func SourceScopeNotIn

func SourceScopeNotIn(vs ...string) predicate.Alert

SourceScopeNotIn applies the NotIn predicate on the "sourceScope" field.

func SourceScopeNotNil

func SourceScopeNotNil() predicate.Alert

SourceScopeNotNil applies the NotNil predicate on the "sourceScope" field.

func SourceValue

func SourceValue(v string) predicate.Alert

SourceValue applies equality check predicate on the "sourceValue" field. It's identical to SourceValueEQ.

func SourceValueContains

func SourceValueContains(v string) predicate.Alert

SourceValueContains applies the Contains predicate on the "sourceValue" field.

func SourceValueContainsFold

func SourceValueContainsFold(v string) predicate.Alert

SourceValueContainsFold applies the ContainsFold predicate on the "sourceValue" field.

func SourceValueEQ

func SourceValueEQ(v string) predicate.Alert

SourceValueEQ applies the EQ predicate on the "sourceValue" field.

func SourceValueEqualFold

func SourceValueEqualFold(v string) predicate.Alert

SourceValueEqualFold applies the EqualFold predicate on the "sourceValue" field.

func SourceValueGT

func SourceValueGT(v string) predicate.Alert

SourceValueGT applies the GT predicate on the "sourceValue" field.

func SourceValueGTE

func SourceValueGTE(v string) predicate.Alert

SourceValueGTE applies the GTE predicate on the "sourceValue" field.

func SourceValueHasPrefix

func SourceValueHasPrefix(v string) predicate.Alert

SourceValueHasPrefix applies the HasPrefix predicate on the "sourceValue" field.

func SourceValueHasSuffix

func SourceValueHasSuffix(v string) predicate.Alert

SourceValueHasSuffix applies the HasSuffix predicate on the "sourceValue" field.

func SourceValueIn

func SourceValueIn(vs ...string) predicate.Alert

SourceValueIn applies the In predicate on the "sourceValue" field.

func SourceValueIsNil

func SourceValueIsNil() predicate.Alert

SourceValueIsNil applies the IsNil predicate on the "sourceValue" field.

func SourceValueLT

func SourceValueLT(v string) predicate.Alert

SourceValueLT applies the LT predicate on the "sourceValue" field.

func SourceValueLTE

func SourceValueLTE(v string) predicate.Alert

SourceValueLTE applies the LTE predicate on the "sourceValue" field.

func SourceValueNEQ

func SourceValueNEQ(v string) predicate.Alert

SourceValueNEQ applies the NEQ predicate on the "sourceValue" field.

func SourceValueNotIn

func SourceValueNotIn(vs ...string) predicate.Alert

SourceValueNotIn applies the NotIn predicate on the "sourceValue" field.

func SourceValueNotNil

func SourceValueNotNil() predicate.Alert

SourceValueNotNil applies the NotNil predicate on the "sourceValue" field.

func StartedAt

func StartedAt(v time.Time) predicate.Alert

StartedAt applies equality check predicate on the "startedAt" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.Alert

StartedAtEQ applies the EQ predicate on the "startedAt" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.Alert

StartedAtGT applies the GT predicate on the "startedAt" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.Alert

StartedAtGTE applies the GTE predicate on the "startedAt" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.Alert

StartedAtIn applies the In predicate on the "startedAt" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.Alert

StartedAtIsNil applies the IsNil predicate on the "startedAt" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.Alert

StartedAtLT applies the LT predicate on the "startedAt" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.Alert

StartedAtLTE applies the LTE predicate on the "startedAt" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.Alert

StartedAtNEQ applies the NEQ predicate on the "startedAt" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.Alert

StartedAtNotIn applies the NotIn predicate on the "startedAt" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.Alert

StartedAtNotNil applies the NotNil predicate on the "startedAt" field.

func StoppedAt

func StoppedAt(v time.Time) predicate.Alert

StoppedAt applies equality check predicate on the "stoppedAt" field. It's identical to StoppedAtEQ.

func StoppedAtEQ

func StoppedAtEQ(v time.Time) predicate.Alert

StoppedAtEQ applies the EQ predicate on the "stoppedAt" field.

func StoppedAtGT

func StoppedAtGT(v time.Time) predicate.Alert

StoppedAtGT applies the GT predicate on the "stoppedAt" field.

func StoppedAtGTE

func StoppedAtGTE(v time.Time) predicate.Alert

StoppedAtGTE applies the GTE predicate on the "stoppedAt" field.

func StoppedAtIn

func StoppedAtIn(vs ...time.Time) predicate.Alert

StoppedAtIn applies the In predicate on the "stoppedAt" field.

func StoppedAtIsNil

func StoppedAtIsNil() predicate.Alert

StoppedAtIsNil applies the IsNil predicate on the "stoppedAt" field.

func StoppedAtLT

func StoppedAtLT(v time.Time) predicate.Alert

StoppedAtLT applies the LT predicate on the "stoppedAt" field.

func StoppedAtLTE

func StoppedAtLTE(v time.Time) predicate.Alert

StoppedAtLTE applies the LTE predicate on the "stoppedAt" field.

func StoppedAtNEQ

func StoppedAtNEQ(v time.Time) predicate.Alert

StoppedAtNEQ applies the NEQ predicate on the "stoppedAt" field.

func StoppedAtNotIn

func StoppedAtNotIn(vs ...time.Time) predicate.Alert

StoppedAtNotIn applies the NotIn predicate on the "stoppedAt" field.

func StoppedAtNotNil

func StoppedAtNotNil() predicate.Alert

StoppedAtNotNil applies the NotNil predicate on the "stoppedAt" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Alert

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Alert

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Alert

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Alert

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Alert

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Alert

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Alert

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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