detectionjobinstance

package
v0.0.0-...-ea7e623 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for detectionjobinstance fields.

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

ForeignKeys holds the SQL foreign-keys that are owned by the DetectionJobInstance type.

Functions

func And

And groups predicates with the AND operator between them.

func CreateTime

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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func StartedAt

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

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

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