Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TaskInstance) predicate.TaskInstance
- func Attempt(v int) predicate.TaskInstance
- func AttemptEQ(v int) predicate.TaskInstance
- func AttemptGT(v int) predicate.TaskInstance
- func AttemptGTE(v int) predicate.TaskInstance
- func AttemptIn(vs ...int) predicate.TaskInstance
- func AttemptLT(v int) predicate.TaskInstance
- func AttemptLTE(v int) predicate.TaskInstance
- func AttemptNEQ(v int) predicate.TaskInstance
- func AttemptNotIn(vs ...int) predicate.TaskInstance
- func CreateTime(v time.Time) predicate.TaskInstance
- func CreateTimeEQ(v time.Time) predicate.TaskInstance
- func CreateTimeGT(v time.Time) predicate.TaskInstance
- func CreateTimeGTE(v time.Time) predicate.TaskInstance
- func CreateTimeIn(vs ...time.Time) predicate.TaskInstance
- func CreateTimeLT(v time.Time) predicate.TaskInstance
- func CreateTimeLTE(v time.Time) predicate.TaskInstance
- func CreateTimeNEQ(v time.Time) predicate.TaskInstance
- func CreateTimeNotIn(vs ...time.Time) predicate.TaskInstance
- func EndTime(v time.Time) predicate.TaskInstance
- func EndTimeEQ(v time.Time) predicate.TaskInstance
- func EndTimeGT(v time.Time) predicate.TaskInstance
- func EndTimeGTE(v time.Time) predicate.TaskInstance
- func EndTimeIn(vs ...time.Time) predicate.TaskInstance
- func EndTimeIsNil() predicate.TaskInstance
- func EndTimeLT(v time.Time) predicate.TaskInstance
- func EndTimeLTE(v time.Time) predicate.TaskInstance
- func EndTimeNEQ(v time.Time) predicate.TaskInstance
- func EndTimeNotIn(vs ...time.Time) predicate.TaskInstance
- func EndTimeNotNil() predicate.TaskInstance
- func Error(v string) predicate.TaskInstance
- func ErrorContains(v string) predicate.TaskInstance
- func ErrorContainsFold(v string) predicate.TaskInstance
- func ErrorEQ(v string) predicate.TaskInstance
- func ErrorEqualFold(v string) predicate.TaskInstance
- func ErrorGT(v string) predicate.TaskInstance
- func ErrorGTE(v string) predicate.TaskInstance
- func ErrorHasPrefix(v string) predicate.TaskInstance
- func ErrorHasSuffix(v string) predicate.TaskInstance
- func ErrorIn(vs ...string) predicate.TaskInstance
- func ErrorIsNil() predicate.TaskInstance
- func ErrorLT(v string) predicate.TaskInstance
- func ErrorLTE(v string) predicate.TaskInstance
- func ErrorNEQ(v string) predicate.TaskInstance
- func ErrorNotIn(vs ...string) predicate.TaskInstance
- func ErrorNotNil() predicate.TaskInstance
- func HasItems() predicate.TaskInstance
- func HasItemsWith(preds ...predicate.Item) predicate.TaskInstance
- func HasTask() predicate.TaskInstance
- func HasTaskWith(preds ...predicate.Task) predicate.TaskInstance
- func ID(id int) predicate.TaskInstance
- func IDEQ(id int) predicate.TaskInstance
- func IDGT(id int) predicate.TaskInstance
- func IDGTE(id int) predicate.TaskInstance
- func IDIn(ids ...int) predicate.TaskInstance
- func IDLT(id int) predicate.TaskInstance
- func IDLTE(id int) predicate.TaskInstance
- func IDNEQ(id int) predicate.TaskInstance
- func IDNotIn(ids ...int) predicate.TaskInstance
- func MetaIsNil() predicate.TaskInstance
- func MetaNotNil() predicate.TaskInstance
- func Not(p predicate.TaskInstance) predicate.TaskInstance
- func Or(predicates ...predicate.TaskInstance) predicate.TaskInstance
- func Running(v bool) predicate.TaskInstance
- func RunningEQ(v bool) predicate.TaskInstance
- func RunningNEQ(v bool) predicate.TaskInstance
- func StartTime(v time.Time) predicate.TaskInstance
- func StartTimeEQ(v time.Time) predicate.TaskInstance
- func StartTimeGT(v time.Time) predicate.TaskInstance
- func StartTimeGTE(v time.Time) predicate.TaskInstance
- func StartTimeIn(vs ...time.Time) predicate.TaskInstance
- func StartTimeLT(v time.Time) predicate.TaskInstance
- func StartTimeLTE(v time.Time) predicate.TaskInstance
- func StartTimeNEQ(v time.Time) predicate.TaskInstance
- func StartTimeNotIn(vs ...time.Time) predicate.TaskInstance
- func Success(v bool) predicate.TaskInstance
- func SuccessEQ(v bool) predicate.TaskInstance
- func SuccessIsNil() predicate.TaskInstance
- func SuccessNEQ(v bool) predicate.TaskInstance
- func SuccessNotNil() predicate.TaskInstance
- func UpdateTime(v time.Time) predicate.TaskInstance
- func UpdateTimeEQ(v time.Time) predicate.TaskInstance
- func UpdateTimeGT(v time.Time) predicate.TaskInstance
- func UpdateTimeGTE(v time.Time) predicate.TaskInstance
- func UpdateTimeIn(vs ...time.Time) predicate.TaskInstance
- func UpdateTimeLT(v time.Time) predicate.TaskInstance
- func UpdateTimeLTE(v time.Time) predicate.TaskInstance
- func UpdateTimeNEQ(v time.Time) predicate.TaskInstance
- func UpdateTimeNotIn(vs ...time.Time) predicate.TaskInstance
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the taskinstance type in the database. Label = "task_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" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // FieldAttempt holds the string denoting the attempt field in the database. FieldAttempt = "attempt" // FieldSuccess holds the string denoting the success field in the database. FieldSuccess = "success" // FieldRunning holds the string denoting the running field in the database. FieldRunning = "running" // FieldError holds the string denoting the error field in the database. FieldError = "error" // FieldMeta holds the string denoting the meta field in the database. FieldMeta = "meta" // EdgeItems holds the string denoting the items edge name in mutations. EdgeItems = "items" // EdgeTask holds the string denoting the task edge name in mutations. EdgeTask = "task" // Table holds the table name of the taskinstance in the database. Table = "task_instances" // ItemsTable is the table that holds the items relation/edge. ItemsTable = "items" // ItemsInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. ItemsInverseTable = "items" // ItemsColumn is the table column denoting the items relation/edge. ItemsColumn = "task_instance_items" // TaskTable is the table that holds the task relation/edge. TaskTable = "task_instances" // TaskInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TaskInverseTable = "tasks" // TaskColumn is the table column denoting the task relation/edge. TaskColumn = "task_instances" )
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 // DefaultStartTime holds the default value on creation for the "start_time" field. DefaultStartTime func() time.Time // DefaultAttempt holds the default value on creation for the "attempt" field. DefaultAttempt int // DefaultRunning holds the default value on creation for the "running" field. DefaultRunning bool )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldStartTime, FieldEndTime, FieldAttempt, FieldSuccess, FieldRunning, FieldError, FieldMeta, }
Columns holds all SQL columns for taskinstance fields.
var ForeignKeys = []string{
"task_instances",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "task_instances" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.TaskInstance) predicate.TaskInstance
And groups predicates with the AND operator between them.
func Attempt ¶
func Attempt(v int) predicate.TaskInstance
Attempt applies equality check predicate on the "attempt" field. It's identical to AttemptEQ.
func AttemptEQ ¶
func AttemptEQ(v int) predicate.TaskInstance
AttemptEQ applies the EQ predicate on the "attempt" field.
func AttemptGT ¶
func AttemptGT(v int) predicate.TaskInstance
AttemptGT applies the GT predicate on the "attempt" field.
func AttemptGTE ¶
func AttemptGTE(v int) predicate.TaskInstance
AttemptGTE applies the GTE predicate on the "attempt" field.
func AttemptIn ¶
func AttemptIn(vs ...int) predicate.TaskInstance
AttemptIn applies the In predicate on the "attempt" field.
func AttemptLT ¶
func AttemptLT(v int) predicate.TaskInstance
AttemptLT applies the LT predicate on the "attempt" field.
func AttemptLTE ¶
func AttemptLTE(v int) predicate.TaskInstance
AttemptLTE applies the LTE predicate on the "attempt" field.
func AttemptNEQ ¶
func AttemptNEQ(v int) predicate.TaskInstance
AttemptNEQ applies the NEQ predicate on the "attempt" field.
func AttemptNotIn ¶
func AttemptNotIn(vs ...int) predicate.TaskInstance
AttemptNotIn applies the NotIn predicate on the "attempt" field.
func CreateTime ¶
func CreateTime(v time.Time) predicate.TaskInstance
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
func CreateTimeEQ(v time.Time) predicate.TaskInstance
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
func CreateTimeGT(v time.Time) predicate.TaskInstance
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
func CreateTimeGTE(v time.Time) predicate.TaskInstance
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
func CreateTimeIn(vs ...time.Time) predicate.TaskInstance
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
func CreateTimeLT(v time.Time) predicate.TaskInstance
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
func CreateTimeLTE(v time.Time) predicate.TaskInstance
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
func CreateTimeNEQ(v time.Time) predicate.TaskInstance
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
func CreateTimeNotIn(vs ...time.Time) predicate.TaskInstance
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func EndTime ¶
func EndTime(v time.Time) predicate.TaskInstance
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeEQ ¶
func EndTimeEQ(v time.Time) predicate.TaskInstance
EndTimeEQ applies the EQ predicate on the "end_time" field.
func EndTimeGT ¶
func EndTimeGT(v time.Time) predicate.TaskInstance
EndTimeGT applies the GT predicate on the "end_time" field.
func EndTimeGTE ¶
func EndTimeGTE(v time.Time) predicate.TaskInstance
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeIn ¶
func EndTimeIn(vs ...time.Time) predicate.TaskInstance
EndTimeIn applies the In predicate on the "end_time" field.
func EndTimeIsNil ¶
func EndTimeIsNil() predicate.TaskInstance
EndTimeIsNil applies the IsNil predicate on the "end_time" field.
func EndTimeLT ¶
func EndTimeLT(v time.Time) predicate.TaskInstance
EndTimeLT applies the LT predicate on the "end_time" field.
func EndTimeLTE ¶
func EndTimeLTE(v time.Time) predicate.TaskInstance
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
func EndTimeNEQ(v time.Time) predicate.TaskInstance
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
func EndTimeNotIn(vs ...time.Time) predicate.TaskInstance
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func EndTimeNotNil ¶
func EndTimeNotNil() predicate.TaskInstance
EndTimeNotNil applies the NotNil predicate on the "end_time" field.
func Error ¶
func Error(v string) predicate.TaskInstance
Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.
func ErrorContains ¶
func ErrorContains(v string) predicate.TaskInstance
ErrorContains applies the Contains predicate on the "error" field.
func ErrorContainsFold ¶
func ErrorContainsFold(v string) predicate.TaskInstance
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
func ErrorEQ ¶
func ErrorEQ(v string) predicate.TaskInstance
ErrorEQ applies the EQ predicate on the "error" field.
func ErrorEqualFold ¶
func ErrorEqualFold(v string) predicate.TaskInstance
ErrorEqualFold applies the EqualFold predicate on the "error" field.
func ErrorGT ¶
func ErrorGT(v string) predicate.TaskInstance
ErrorGT applies the GT predicate on the "error" field.
func ErrorGTE ¶
func ErrorGTE(v string) predicate.TaskInstance
ErrorGTE applies the GTE predicate on the "error" field.
func ErrorHasPrefix ¶
func ErrorHasPrefix(v string) predicate.TaskInstance
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
func ErrorHasSuffix ¶
func ErrorHasSuffix(v string) predicate.TaskInstance
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
func ErrorIn ¶
func ErrorIn(vs ...string) predicate.TaskInstance
ErrorIn applies the In predicate on the "error" field.
func ErrorIsNil ¶
func ErrorIsNil() predicate.TaskInstance
ErrorIsNil applies the IsNil predicate on the "error" field.
func ErrorLT ¶
func ErrorLT(v string) predicate.TaskInstance
ErrorLT applies the LT predicate on the "error" field.
func ErrorLTE ¶
func ErrorLTE(v string) predicate.TaskInstance
ErrorLTE applies the LTE predicate on the "error" field.
func ErrorNEQ ¶
func ErrorNEQ(v string) predicate.TaskInstance
ErrorNEQ applies the NEQ predicate on the "error" field.
func ErrorNotIn ¶
func ErrorNotIn(vs ...string) predicate.TaskInstance
ErrorNotIn applies the NotIn predicate on the "error" field.
func ErrorNotNil ¶
func ErrorNotNil() predicate.TaskInstance
ErrorNotNil applies the NotNil predicate on the "error" field.
func HasItems ¶
func HasItems() predicate.TaskInstance
HasItems applies the HasEdge predicate on the "items" edge.
func HasItemsWith ¶
func HasItemsWith(preds ...predicate.Item) predicate.TaskInstance
HasItemsWith applies the HasEdge predicate on the "items" edge with a given conditions (other predicates).
func HasTask ¶
func HasTask() predicate.TaskInstance
HasTask applies the HasEdge predicate on the "task" edge.
func HasTaskWith ¶
func HasTaskWith(preds ...predicate.Task) predicate.TaskInstance
HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.TaskInstance
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.TaskInstance
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.TaskInstance
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.TaskInstance
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.TaskInstance
IDNotIn applies the NotIn predicate on the ID field.
func MetaIsNil ¶
func MetaIsNil() predicate.TaskInstance
MetaIsNil applies the IsNil predicate on the "meta" field.
func MetaNotNil ¶
func MetaNotNil() predicate.TaskInstance
MetaNotNil applies the NotNil predicate on the "meta" field.
func Not ¶
func Not(p predicate.TaskInstance) predicate.TaskInstance
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TaskInstance) predicate.TaskInstance
Or groups predicates with the OR operator between them.
func Running ¶
func Running(v bool) predicate.TaskInstance
Running applies equality check predicate on the "running" field. It's identical to RunningEQ.
func RunningEQ ¶
func RunningEQ(v bool) predicate.TaskInstance
RunningEQ applies the EQ predicate on the "running" field.
func RunningNEQ ¶
func RunningNEQ(v bool) predicate.TaskInstance
RunningNEQ applies the NEQ predicate on the "running" field.
func StartTime ¶
func StartTime(v time.Time) predicate.TaskInstance
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
func StartTimeEQ(v time.Time) predicate.TaskInstance
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
func StartTimeGT(v time.Time) predicate.TaskInstance
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
func StartTimeGTE(v time.Time) predicate.TaskInstance
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
func StartTimeIn(vs ...time.Time) predicate.TaskInstance
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeLT ¶
func StartTimeLT(v time.Time) predicate.TaskInstance
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
func StartTimeLTE(v time.Time) predicate.TaskInstance
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
func StartTimeNEQ(v time.Time) predicate.TaskInstance
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
func StartTimeNotIn(vs ...time.Time) predicate.TaskInstance
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func Success ¶
func Success(v bool) predicate.TaskInstance
Success applies equality check predicate on the "success" field. It's identical to SuccessEQ.
func SuccessEQ ¶
func SuccessEQ(v bool) predicate.TaskInstance
SuccessEQ applies the EQ predicate on the "success" field.
func SuccessIsNil ¶
func SuccessIsNil() predicate.TaskInstance
SuccessIsNil applies the IsNil predicate on the "success" field.
func SuccessNEQ ¶
func SuccessNEQ(v bool) predicate.TaskInstance
SuccessNEQ applies the NEQ predicate on the "success" field.
func SuccessNotNil ¶
func SuccessNotNil() predicate.TaskInstance
SuccessNotNil applies the NotNil predicate on the "success" field.
func UpdateTime ¶
func UpdateTime(v time.Time) predicate.TaskInstance
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
func UpdateTimeEQ(v time.Time) predicate.TaskInstance
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
func UpdateTimeGT(v time.Time) predicate.TaskInstance
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
func UpdateTimeGTE(v time.Time) predicate.TaskInstance
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
func UpdateTimeIn(vs ...time.Time) predicate.TaskInstance
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
func UpdateTimeLT(v time.Time) predicate.TaskInstance
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
func UpdateTimeLTE(v time.Time) predicate.TaskInstance
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
func UpdateTimeNEQ(v time.Time) predicate.TaskInstance
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
func UpdateTimeNotIn(vs ...time.Time) predicate.TaskInstance
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.