Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DetectionJobInstance) predicate.DetectionJobInstance
- func CreateTime(v time.Time) predicate.DetectionJobInstance
- func CreateTimeEQ(v time.Time) predicate.DetectionJobInstance
- func CreateTimeGT(v time.Time) predicate.DetectionJobInstance
- func CreateTimeGTE(v time.Time) predicate.DetectionJobInstance
- func CreateTimeIn(vs ...time.Time) predicate.DetectionJobInstance
- func CreateTimeLT(v time.Time) predicate.DetectionJobInstance
- func CreateTimeLTE(v time.Time) predicate.DetectionJobInstance
- func CreateTimeNEQ(v time.Time) predicate.DetectionJobInstance
- func CreateTimeNotIn(vs ...time.Time) predicate.DetectionJobInstance
- func FinishedAt(v time.Time) predicate.DetectionJobInstance
- func FinishedAtEQ(v time.Time) predicate.DetectionJobInstance
- func FinishedAtGT(v time.Time) predicate.DetectionJobInstance
- func FinishedAtGTE(v time.Time) predicate.DetectionJobInstance
- func FinishedAtIn(vs ...time.Time) predicate.DetectionJobInstance
- func FinishedAtIsNil() predicate.DetectionJobInstance
- func FinishedAtLT(v time.Time) predicate.DetectionJobInstance
- func FinishedAtLTE(v time.Time) predicate.DetectionJobInstance
- func FinishedAtNEQ(v time.Time) predicate.DetectionJobInstance
- func FinishedAtNotIn(vs ...time.Time) predicate.DetectionJobInstance
- func FinishedAtNotNil() predicate.DetectionJobInstance
- func HasAnomalies() predicate.DetectionJobInstance
- func HasAnomaliesWith(preds ...predicate.Anomaly) predicate.DetectionJobInstance
- func HasDetectionJob() predicate.DetectionJobInstance
- func HasDetectionJobWith(preds ...predicate.DetectionJob) predicate.DetectionJobInstance
- func ID(id int) predicate.DetectionJobInstance
- func IDEQ(id int) predicate.DetectionJobInstance
- func IDGT(id int) predicate.DetectionJobInstance
- func IDGTE(id int) predicate.DetectionJobInstance
- func IDIn(ids ...int) predicate.DetectionJobInstance
- func IDLT(id int) predicate.DetectionJobInstance
- func IDLTE(id int) predicate.DetectionJobInstance
- func IDNEQ(id int) predicate.DetectionJobInstance
- func IDNotIn(ids ...int) predicate.DetectionJobInstance
- func Not(p predicate.DetectionJobInstance) predicate.DetectionJobInstance
- func Or(predicates ...predicate.DetectionJobInstance) predicate.DetectionJobInstance
- func StartedAt(v time.Time) predicate.DetectionJobInstance
- func StartedAtEQ(v time.Time) predicate.DetectionJobInstance
- func StartedAtGT(v time.Time) predicate.DetectionJobInstance
- func StartedAtGTE(v time.Time) predicate.DetectionJobInstance
- func StartedAtIn(vs ...time.Time) predicate.DetectionJobInstance
- func StartedAtIsNil() predicate.DetectionJobInstance
- func StartedAtLT(v time.Time) predicate.DetectionJobInstance
- func StartedAtLTE(v time.Time) predicate.DetectionJobInstance
- func StartedAtNEQ(v time.Time) predicate.DetectionJobInstance
- func StartedAtNotIn(vs ...time.Time) predicate.DetectionJobInstance
- func StartedAtNotNil() predicate.DetectionJobInstance
- func UpdateTime(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeEQ(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeGT(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeGTE(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeIn(vs ...time.Time) predicate.DetectionJobInstance
- func UpdateTimeLT(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeLTE(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeNEQ(v time.Time) predicate.DetectionJobInstance
- func UpdateTimeNotIn(vs ...time.Time) predicate.DetectionJobInstance
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the detectionjobinstance type in the database. Label = "detection_job_instance" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldFinishedAt holds the string denoting the finished_at field in the database. FieldFinishedAt = "finished_at" // EdgeAnomalies holds the string denoting the anomalies edge name in mutations. EdgeAnomalies = "anomalies" // EdgeDetectionJob holds the string denoting the detection_job edge name in mutations. EdgeDetectionJob = "detection_job" // Table holds the table name of the detectionjobinstance in the database. Table = "detection_job_instances" // AnomaliesTable is the table the holds the anomalies relation/edge. AnomaliesTable = "anomalies" // AnomaliesInverseTable is the table name for the Anomaly entity. // It exists in this package in order to avoid circular dependency with the "anomaly" package. AnomaliesInverseTable = "anomalies" // AnomaliesColumn is the table column denoting the anomalies relation/edge. AnomaliesColumn = "detection_job_instance_anomalies" // DetectionJobTable is the table the holds the detection_job relation/edge. DetectionJobTable = "detection_job_instances" // DetectionJobInverseTable is the table name for the DetectionJob entity. // It exists in this package in order to avoid circular dependency with the "detectionjob" package. DetectionJobInverseTable = "detection_jobs" // DetectionJobColumn is the table column denoting the detection_job relation/edge. DetectionJobColumn = "detection_job_instance" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldStartedAt, FieldFinishedAt, }
Columns holds all SQL columns for detectionjobinstance fields.
var ForeignKeys = []string{
"detection_job_instance",
}
ForeignKeys holds the SQL foreign-keys that are owned by the DetectionJobInstance type.
Functions ¶
func And ¶
func And(predicates ...predicate.DetectionJobInstance) predicate.DetectionJobInstance
And groups predicates with the AND operator between them.
func CreateTime ¶
func CreateTime(v time.Time) predicate.DetectionJobInstance
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.DetectionJobInstance
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.DetectionJobInstance
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.DetectionJobInstance
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.DetectionJobInstance
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.DetectionJobInstance
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.DetectionJobInstance
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.DetectionJobInstance
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.DetectionJobInstance
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func FinishedAt ¶
func FinishedAt(v time.Time) predicate.DetectionJobInstance
FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.
func FinishedAtEQ ¶
func FinishedAtEQ(v time.Time) predicate.DetectionJobInstance
FinishedAtEQ applies the EQ predicate on the "finished_at" field.
func FinishedAtGT ¶
func FinishedAtGT(v time.Time) predicate.DetectionJobInstance
FinishedAtGT applies the GT predicate on the "finished_at" field.
func FinishedAtGTE ¶
func FinishedAtGTE(v time.Time) predicate.DetectionJobInstance
FinishedAtGTE applies the GTE predicate on the "finished_at" field.
func FinishedAtIn ¶
func FinishedAtIn(vs ...time.Time) predicate.DetectionJobInstance
FinishedAtIn applies the In predicate on the "finished_at" field.
func FinishedAtIsNil ¶
func FinishedAtIsNil() predicate.DetectionJobInstance
FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.
func FinishedAtLT ¶
func FinishedAtLT(v time.Time) predicate.DetectionJobInstance
FinishedAtLT applies the LT predicate on the "finished_at" field.
func FinishedAtLTE ¶
func FinishedAtLTE(v time.Time) predicate.DetectionJobInstance
FinishedAtLTE applies the LTE predicate on the "finished_at" field.
func FinishedAtNEQ ¶
func FinishedAtNEQ(v time.Time) predicate.DetectionJobInstance
FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.
func FinishedAtNotIn ¶
func FinishedAtNotIn(vs ...time.Time) predicate.DetectionJobInstance
FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.
func FinishedAtNotNil ¶
func FinishedAtNotNil() predicate.DetectionJobInstance
FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.
func HasAnomalies ¶
func HasAnomalies() predicate.DetectionJobInstance
HasAnomalies applies the HasEdge predicate on the "anomalies" edge.
func HasAnomaliesWith ¶
func HasAnomaliesWith(preds ...predicate.Anomaly) predicate.DetectionJobInstance
HasAnomaliesWith applies the HasEdge predicate on the "anomalies" edge with a given conditions (other predicates).
func HasDetectionJob ¶
func HasDetectionJob() predicate.DetectionJobInstance
HasDetectionJob applies the HasEdge predicate on the "detection_job" edge.
func HasDetectionJobWith ¶
func HasDetectionJobWith(preds ...predicate.DetectionJob) predicate.DetectionJobInstance
HasDetectionJobWith applies the HasEdge predicate on the "detection_job" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.DetectionJobInstance
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.DetectionJobInstance
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.DetectionJobInstance
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.DetectionJobInstance
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DetectionJobInstance
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.DetectionJobInstance
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DetectionJobInstance
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DetectionJobInstance
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DetectionJobInstance
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.DetectionJobInstance) predicate.DetectionJobInstance
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DetectionJobInstance) predicate.DetectionJobInstance
Or groups predicates with the OR operator between them.
func StartedAt ¶
func StartedAt(v time.Time) predicate.DetectionJobInstance
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
func StartedAtEQ(v time.Time) predicate.DetectionJobInstance
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
func StartedAtGT(v time.Time) predicate.DetectionJobInstance
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
func StartedAtGTE(v time.Time) predicate.DetectionJobInstance
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
func StartedAtIn(vs ...time.Time) predicate.DetectionJobInstance
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtIsNil ¶
func StartedAtIsNil() predicate.DetectionJobInstance
StartedAtIsNil applies the IsNil predicate on the "started_at" field.
func StartedAtLT ¶
func StartedAtLT(v time.Time) predicate.DetectionJobInstance
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
func StartedAtLTE(v time.Time) predicate.DetectionJobInstance
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
func StartedAtNEQ(v time.Time) predicate.DetectionJobInstance
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
func StartedAtNotIn(vs ...time.Time) predicate.DetectionJobInstance
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func StartedAtNotNil ¶
func StartedAtNotNil() predicate.DetectionJobInstance
StartedAtNotNil applies the NotNil predicate on the "started_at" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.DetectionJobInstance
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.DetectionJobInstance
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.DetectionJobInstance
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.DetectionJobInstance
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.DetectionJobInstance
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.DetectionJobInstance
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.DetectionJobInstance
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.DetectionJobInstance
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.DetectionJobInstance
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.