Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func CreatedAt(v time.Time) predicate.Task
- func CreatedAtEQ(v time.Time) predicate.Task
- func CreatedAtGT(v time.Time) predicate.Task
- func CreatedAtGTE(v time.Time) predicate.Task
- func CreatedAtIn(vs ...time.Time) predicate.Task
- func CreatedAtLT(v time.Time) predicate.Task
- func CreatedAtLTE(v time.Time) predicate.Task
- func CreatedAtNEQ(v time.Time) predicate.Task
- func CreatedAtNotIn(vs ...time.Time) predicate.Task
- func CronExpression(v string) predicate.Task
- func CronExpressionContains(v string) predicate.Task
- func CronExpressionContainsFold(v string) predicate.Task
- func CronExpressionEQ(v string) predicate.Task
- func CronExpressionEqualFold(v string) predicate.Task
- func CronExpressionGT(v string) predicate.Task
- func CronExpressionGTE(v string) predicate.Task
- func CronExpressionHasPrefix(v string) predicate.Task
- func CronExpressionHasSuffix(v string) predicate.Task
- func CronExpressionIn(vs ...string) predicate.Task
- func CronExpressionLT(v string) predicate.Task
- func CronExpressionLTE(v string) predicate.Task
- func CronExpressionNEQ(v string) predicate.Task
- func CronExpressionNotIn(vs ...string) predicate.Task
- func HasTaskLogs() predicate.Task
- func HasTaskLogsWith(preds ...predicate.TaskLog) predicate.Task
- func ID(id uint64) predicate.Task
- func IDEQ(id uint64) predicate.Task
- func IDGT(id uint64) predicate.Task
- func IDGTE(id uint64) predicate.Task
- func IDIn(ids ...uint64) predicate.Task
- func IDLT(id uint64) predicate.Task
- func IDLTE(id uint64) predicate.Task
- func IDNEQ(id uint64) predicate.Task
- func IDNotIn(ids ...uint64) predicate.Task
- func Name(v string) predicate.Task
- func NameContains(v string) predicate.Task
- func NameContainsFold(v string) predicate.Task
- func NameEQ(v string) predicate.Task
- func NameEqualFold(v string) predicate.Task
- func NameGT(v string) predicate.Task
- func NameGTE(v string) predicate.Task
- func NameHasPrefix(v string) predicate.Task
- func NameHasSuffix(v string) predicate.Task
- func NameIn(vs ...string) predicate.Task
- func NameLT(v string) predicate.Task
- func NameLTE(v string) predicate.Task
- func NameNEQ(v string) predicate.Task
- func NameNotIn(vs ...string) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func Pattern(v string) predicate.Task
- func PatternContains(v string) predicate.Task
- func PatternContainsFold(v string) predicate.Task
- func PatternEQ(v string) predicate.Task
- func PatternEqualFold(v string) predicate.Task
- func PatternGT(v string) predicate.Task
- func PatternGTE(v string) predicate.Task
- func PatternHasPrefix(v string) predicate.Task
- func PatternHasSuffix(v string) predicate.Task
- func PatternIn(vs ...string) predicate.Task
- func PatternLT(v string) predicate.Task
- func PatternLTE(v string) predicate.Task
- func PatternNEQ(v string) predicate.Task
- func PatternNotIn(vs ...string) predicate.Task
- func Payload(v string) predicate.Task
- func PayloadContains(v string) predicate.Task
- func PayloadContainsFold(v string) predicate.Task
- func PayloadEQ(v string) predicate.Task
- func PayloadEqualFold(v string) predicate.Task
- func PayloadGT(v string) predicate.Task
- func PayloadGTE(v string) predicate.Task
- func PayloadHasPrefix(v string) predicate.Task
- func PayloadHasSuffix(v string) predicate.Task
- func PayloadIn(vs ...string) predicate.Task
- func PayloadLT(v string) predicate.Task
- func PayloadLTE(v string) predicate.Task
- func PayloadNEQ(v string) predicate.Task
- func PayloadNotIn(vs ...string) predicate.Task
- func Status(v uint8) predicate.Task
- func StatusEQ(v uint8) predicate.Task
- func StatusGT(v uint8) predicate.Task
- func StatusGTE(v uint8) predicate.Task
- func StatusIn(vs ...uint8) predicate.Task
- func StatusIsNil() predicate.Task
- func StatusLT(v uint8) predicate.Task
- func StatusLTE(v uint8) predicate.Task
- func StatusNEQ(v uint8) predicate.Task
- func StatusNotIn(vs ...uint8) predicate.Task
- func StatusNotNil() predicate.Task
- func TaskGroup(v string) predicate.Task
- func TaskGroupContains(v string) predicate.Task
- func TaskGroupContainsFold(v string) predicate.Task
- func TaskGroupEQ(v string) predicate.Task
- func TaskGroupEqualFold(v string) predicate.Task
- func TaskGroupGT(v string) predicate.Task
- func TaskGroupGTE(v string) predicate.Task
- func TaskGroupHasPrefix(v string) predicate.Task
- func TaskGroupHasSuffix(v string) predicate.Task
- func TaskGroupIn(vs ...string) predicate.Task
- func TaskGroupLT(v string) predicate.Task
- func TaskGroupLTE(v string) predicate.Task
- func TaskGroupNEQ(v string) predicate.Task
- func TaskGroupNotIn(vs ...string) predicate.Task
- func UpdatedAt(v time.Time) predicate.Task
- func UpdatedAtEQ(v time.Time) predicate.Task
- func UpdatedAtGT(v time.Time) predicate.Task
- func UpdatedAtGTE(v time.Time) predicate.Task
- func UpdatedAtIn(vs ...time.Time) predicate.Task
- func UpdatedAtLT(v time.Time) predicate.Task
- func UpdatedAtLTE(v time.Time) predicate.Task
- func UpdatedAtNEQ(v time.Time) predicate.Task
- func UpdatedAtNotIn(vs ...time.Time) predicate.Task
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the task type in the database. Label = "task" // 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" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldTaskGroup holds the string denoting the task_group field in the database. FieldTaskGroup = "task_group" // FieldCronExpression holds the string denoting the cron_expression field in the database. FieldCronExpression = "cron_expression" // FieldPattern holds the string denoting the pattern field in the database. FieldPattern = "pattern" // FieldPayload holds the string denoting the payload field in the database. FieldPayload = "payload" // EdgeTaskLogs holds the string denoting the task_logs edge name in mutations. EdgeTaskLogs = "task_logs" // Table holds the table name of the task in the database. Table = "sys_tasks" // TaskLogsTable is the table that holds the task_logs relation/edge. TaskLogsTable = "sys_task_logs" // TaskLogsInverseTable is the table name for the TaskLog entity. // It exists in this package in order to avoid circular dependency with the "tasklog" package. TaskLogsInverseTable = "sys_task_logs" // TaskLogsColumn is the table column denoting the task_logs relation/edge. TaskLogsColumn = "task_task_logs" )
Variables ¶
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 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus uint8 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldStatus, FieldName, FieldTaskGroup, FieldCronExpression, FieldPattern, FieldPayload, }
Columns holds all SQL columns for task fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CronExpression ¶
CronExpression applies equality check predicate on the "cron_expression" field. It's identical to CronExpressionEQ.
func CronExpressionContains ¶
CronExpressionContains applies the Contains predicate on the "cron_expression" field.
func CronExpressionContainsFold ¶
CronExpressionContainsFold applies the ContainsFold predicate on the "cron_expression" field.
func CronExpressionEQ ¶
CronExpressionEQ applies the EQ predicate on the "cron_expression" field.
func CronExpressionEqualFold ¶
CronExpressionEqualFold applies the EqualFold predicate on the "cron_expression" field.
func CronExpressionGT ¶
CronExpressionGT applies the GT predicate on the "cron_expression" field.
func CronExpressionGTE ¶
CronExpressionGTE applies the GTE predicate on the "cron_expression" field.
func CronExpressionHasPrefix ¶
CronExpressionHasPrefix applies the HasPrefix predicate on the "cron_expression" field.
func CronExpressionHasSuffix ¶
CronExpressionHasSuffix applies the HasSuffix predicate on the "cron_expression" field.
func CronExpressionIn ¶
CronExpressionIn applies the In predicate on the "cron_expression" field.
func CronExpressionLT ¶
CronExpressionLT applies the LT predicate on the "cron_expression" field.
func CronExpressionLTE ¶
CronExpressionLTE applies the LTE predicate on the "cron_expression" field.
func CronExpressionNEQ ¶
CronExpressionNEQ applies the NEQ predicate on the "cron_expression" field.
func CronExpressionNotIn ¶
CronExpressionNotIn applies the NotIn predicate on the "cron_expression" field.
func HasTaskLogs ¶
HasTaskLogs applies the HasEdge predicate on the "task_logs" edge.
func HasTaskLogsWith ¶
HasTaskLogsWith applies the HasEdge predicate on the "task_logs" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Pattern ¶
Pattern applies equality check predicate on the "pattern" field. It's identical to PatternEQ.
func PatternContains ¶
PatternContains applies the Contains predicate on the "pattern" field.
func PatternContainsFold ¶
PatternContainsFold applies the ContainsFold predicate on the "pattern" field.
func PatternEqualFold ¶
PatternEqualFold applies the EqualFold predicate on the "pattern" field.
func PatternGTE ¶
PatternGTE applies the GTE predicate on the "pattern" field.
func PatternHasPrefix ¶
PatternHasPrefix applies the HasPrefix predicate on the "pattern" field.
func PatternHasSuffix ¶
PatternHasSuffix applies the HasSuffix predicate on the "pattern" field.
func PatternLTE ¶
PatternLTE applies the LTE predicate on the "pattern" field.
func PatternNEQ ¶
PatternNEQ applies the NEQ predicate on the "pattern" field.
func PatternNotIn ¶
PatternNotIn applies the NotIn predicate on the "pattern" field.
func Payload ¶
Payload applies equality check predicate on the "payload" field. It's identical to PayloadEQ.
func PayloadContains ¶
PayloadContains applies the Contains predicate on the "payload" field.
func PayloadContainsFold ¶
PayloadContainsFold applies the ContainsFold predicate on the "payload" field.
func PayloadEqualFold ¶
PayloadEqualFold applies the EqualFold predicate on the "payload" field.
func PayloadGTE ¶
PayloadGTE applies the GTE predicate on the "payload" field.
func PayloadHasPrefix ¶
PayloadHasPrefix applies the HasPrefix predicate on the "payload" field.
func PayloadHasSuffix ¶
PayloadHasSuffix applies the HasSuffix predicate on the "payload" field.
func PayloadLTE ¶
PayloadLTE applies the LTE predicate on the "payload" field.
func PayloadNEQ ¶
PayloadNEQ applies the NEQ predicate on the "payload" field.
func PayloadNotIn ¶
PayloadNotIn applies the NotIn predicate on the "payload" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func TaskGroup ¶
TaskGroup applies equality check predicate on the "task_group" field. It's identical to TaskGroupEQ.
func TaskGroupContains ¶
TaskGroupContains applies the Contains predicate on the "task_group" field.
func TaskGroupContainsFold ¶
TaskGroupContainsFold applies the ContainsFold predicate on the "task_group" field.
func TaskGroupEQ ¶
TaskGroupEQ applies the EQ predicate on the "task_group" field.
func TaskGroupEqualFold ¶
TaskGroupEqualFold applies the EqualFold predicate on the "task_group" field.
func TaskGroupGT ¶
TaskGroupGT applies the GT predicate on the "task_group" field.
func TaskGroupGTE ¶
TaskGroupGTE applies the GTE predicate on the "task_group" field.
func TaskGroupHasPrefix ¶
TaskGroupHasPrefix applies the HasPrefix predicate on the "task_group" field.
func TaskGroupHasSuffix ¶
TaskGroupHasSuffix applies the HasSuffix predicate on the "task_group" field.
func TaskGroupIn ¶
TaskGroupIn applies the In predicate on the "task_group" field.
func TaskGroupLT ¶
TaskGroupLT applies the LT predicate on the "task_group" field.
func TaskGroupLTE ¶
TaskGroupLTE applies the LTE predicate on the "task_group" field.
func TaskGroupNEQ ¶
TaskGroupNEQ applies the NEQ predicate on the "task_group" field.
func TaskGroupNotIn ¶
TaskGroupNotIn applies the NotIn predicate on the "task_group" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.