Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func ClaimTime(v time.Time) predicate.Task
- func ClaimTimeEQ(v time.Time) predicate.Task
- func ClaimTimeGT(v time.Time) predicate.Task
- func ClaimTimeGTE(v time.Time) predicate.Task
- func ClaimTimeIn(vs ...time.Time) predicate.Task
- func ClaimTimeIsNil() predicate.Task
- func ClaimTimeLT(v time.Time) predicate.Task
- func ClaimTimeLTE(v time.Time) predicate.Task
- func ClaimTimeNEQ(v time.Time) predicate.Task
- func ClaimTimeNotIn(vs ...time.Time) predicate.Task
- func ClaimTimeNotNil() predicate.Task
- func Content(v string) predicate.Task
- func ContentContains(v string) predicate.Task
- func ContentContainsFold(v string) predicate.Task
- func ContentEQ(v string) predicate.Task
- func ContentEqualFold(v string) predicate.Task
- func ContentGT(v string) predicate.Task
- func ContentGTE(v string) predicate.Task
- func ContentHasPrefix(v string) predicate.Task
- func ContentHasSuffix(v string) predicate.Task
- func ContentIn(vs ...string) predicate.Task
- func ContentLT(v string) predicate.Task
- func ContentLTE(v string) predicate.Task
- func ContentNEQ(v string) predicate.Task
- func ContentNotIn(vs ...string) predicate.Task
- func Error(v string) predicate.Task
- func ErrorContains(v string) predicate.Task
- func ErrorContainsFold(v string) predicate.Task
- func ErrorEQ(v string) predicate.Task
- func ErrorEqualFold(v string) predicate.Task
- func ErrorGT(v string) predicate.Task
- func ErrorGTE(v string) predicate.Task
- func ErrorHasPrefix(v string) predicate.Task
- func ErrorHasSuffix(v string) predicate.Task
- func ErrorIn(vs ...string) predicate.Task
- func ErrorIsNil() predicate.Task
- func ErrorLT(v string) predicate.Task
- func ErrorLTE(v string) predicate.Task
- func ErrorNEQ(v string) predicate.Task
- func ErrorNotIn(vs ...string) predicate.Task
- func ErrorNotNil() predicate.Task
- func ExecStartTime(v time.Time) predicate.Task
- func ExecStartTimeEQ(v time.Time) predicate.Task
- func ExecStartTimeGT(v time.Time) predicate.Task
- func ExecStartTimeGTE(v time.Time) predicate.Task
- func ExecStartTimeIn(vs ...time.Time) predicate.Task
- func ExecStartTimeIsNil() predicate.Task
- func ExecStartTimeLT(v time.Time) predicate.Task
- func ExecStartTimeLTE(v time.Time) predicate.Task
- func ExecStartTimeNEQ(v time.Time) predicate.Task
- func ExecStartTimeNotIn(vs ...time.Time) predicate.Task
- func ExecStartTimeNotNil() predicate.Task
- func ExecStopTime(v time.Time) predicate.Task
- func ExecStopTimeEQ(v time.Time) predicate.Task
- func ExecStopTimeGT(v time.Time) predicate.Task
- func ExecStopTimeGTE(v time.Time) predicate.Task
- func ExecStopTimeIn(vs ...time.Time) predicate.Task
- func ExecStopTimeIsNil() predicate.Task
- func ExecStopTimeLT(v time.Time) predicate.Task
- func ExecStopTimeLTE(v time.Time) predicate.Task
- func ExecStopTimeNEQ(v time.Time) predicate.Task
- func ExecStopTimeNotIn(vs ...time.Time) predicate.Task
- func ExecStopTimeNotNil() predicate.Task
- func HasJob() predicate.Task
- func HasJobWith(preds ...predicate.Job) predicate.Task
- func HasTags() predicate.Task
- func HasTagsWith(preds ...predicate.Tag) predicate.Task
- func HasTarget() predicate.Task
- func HasTargetWith(preds ...predicate.Target) predicate.Task
- func ID(id int) predicate.Task
- func IDEQ(id int) predicate.Task
- func IDGT(id int) predicate.Task
- func IDGTE(id int) predicate.Task
- func IDIn(ids ...int) predicate.Task
- func IDLT(id int) predicate.Task
- func IDLTE(id int) predicate.Task
- func IDNEQ(id int) predicate.Task
- func IDNotIn(ids ...int) predicate.Task
- func LastChangedTime(v time.Time) predicate.Task
- func LastChangedTimeEQ(v time.Time) predicate.Task
- func LastChangedTimeGT(v time.Time) predicate.Task
- func LastChangedTimeGTE(v time.Time) predicate.Task
- func LastChangedTimeIn(vs ...time.Time) predicate.Task
- func LastChangedTimeLT(v time.Time) predicate.Task
- func LastChangedTimeLTE(v time.Time) predicate.Task
- func LastChangedTimeNEQ(v time.Time) predicate.Task
- func LastChangedTimeNotIn(vs ...time.Time) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func Output(v string) predicate.Task
- func OutputContains(v string) predicate.Task
- func OutputContainsFold(v string) predicate.Task
- func OutputEQ(v string) predicate.Task
- func OutputEqualFold(v string) predicate.Task
- func OutputGT(v string) predicate.Task
- func OutputGTE(v string) predicate.Task
- func OutputHasPrefix(v string) predicate.Task
- func OutputHasSuffix(v string) predicate.Task
- func OutputIn(vs ...string) predicate.Task
- func OutputIsNil() predicate.Task
- func OutputLT(v string) predicate.Task
- func OutputLTE(v string) predicate.Task
- func OutputNEQ(v string) predicate.Task
- func OutputNotIn(vs ...string) predicate.Task
- func OutputNotNil() predicate.Task
- func QueueTime(v time.Time) predicate.Task
- func QueueTimeEQ(v time.Time) predicate.Task
- func QueueTimeGT(v time.Time) predicate.Task
- func QueueTimeGTE(v time.Time) predicate.Task
- func QueueTimeIn(vs ...time.Time) predicate.Task
- func QueueTimeLT(v time.Time) predicate.Task
- func QueueTimeLTE(v time.Time) predicate.Task
- func QueueTimeNEQ(v time.Time) predicate.Task
- func QueueTimeNotIn(vs ...time.Time) predicate.Task
- func SessionID(v string) predicate.Task
- func SessionIDContains(v string) predicate.Task
- func SessionIDContainsFold(v string) predicate.Task
- func SessionIDEQ(v string) predicate.Task
- func SessionIDEqualFold(v string) predicate.Task
- func SessionIDGT(v string) predicate.Task
- func SessionIDGTE(v string) predicate.Task
- func SessionIDHasPrefix(v string) predicate.Task
- func SessionIDHasSuffix(v string) predicate.Task
- func SessionIDIn(vs ...string) predicate.Task
- func SessionIDIsNil() predicate.Task
- func SessionIDLT(v string) predicate.Task
- func SessionIDLTE(v string) predicate.Task
- func SessionIDNEQ(v string) predicate.Task
- func SessionIDNotIn(vs ...string) predicate.Task
- func SessionIDNotNil() 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" // FieldQueueTime holds the string denoting the queuetime field in the database. FieldQueueTime = "queue_time" // FieldLastChangedTime holds the string denoting the lastchangedtime field in the database. FieldLastChangedTime = "last_changed_time" // FieldClaimTime holds the string denoting the claimtime field in the database. FieldClaimTime = "claim_time" // FieldExecStartTime holds the string denoting the execstarttime field in the database. FieldExecStartTime = "exec_start_time" // FieldExecStopTime holds the string denoting the execstoptime field in the database. FieldExecStopTime = "exec_stop_time" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldOutput holds the string denoting the output field in the database. FieldOutput = "output" // FieldError holds the string denoting the error field in the database. FieldError = "error" // FieldSessionID holds the string denoting the sessionid field in the database. FieldSessionID = "session_id" // EdgeTags holds the string denoting the tags edge name in mutations. EdgeTags = "tags" // EdgeJob holds the string denoting the job edge name in mutations. EdgeJob = "job" // EdgeTarget holds the string denoting the target edge name in mutations. EdgeTarget = "target" // Table holds the table name of the task in the database. Table = "tasks" // TagsTable is the table that holds the tags relation/edge. The primary key declared below. TagsTable = "task_tags" // TagsInverseTable is the table name for the Tag entity. // It exists in this package in order to avoid circular dependency with the "tag" package. TagsInverseTable = "tags" // JobTable is the table that holds the job relation/edge. JobTable = "tasks" // JobInverseTable is the table name for the Job entity. // It exists in this package in order to avoid circular dependency with the "job" package. JobInverseTable = "jobs" // JobColumn is the table column denoting the job relation/edge. JobColumn = "job_tasks" // TargetTable is the table that holds the target relation/edge. TargetTable = "tasks" // TargetInverseTable is the table name for the Target entity. // It exists in this package in order to avoid circular dependency with the "target" package. TargetInverseTable = "targets" // TargetColumn is the table column denoting the target relation/edge. TargetColumn = "target_tasks" )
Variables ¶
var ( // DefaultQueueTime holds the default value on creation for the "QueueTime" field. DefaultQueueTime func() time.Time // ContentValidator is a validator for the "Content" field. It is called by the builders before save. ContentValidator func(string) error // SessionIDValidator is a validator for the "SessionID" field. It is called by the builders before save. SessionIDValidator func(string) error )
var Columns = []string{ FieldID, FieldQueueTime, FieldLastChangedTime, FieldClaimTime, FieldExecStartTime, FieldExecStopTime, FieldContent, FieldOutput, FieldError, FieldSessionID, }
Columns holds all SQL columns for task fields.
var ForeignKeys = []string{
"job_tasks",
"target_tasks",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "tasks" table and are not defined as standalone fields in the schema.
var ( // TagsPrimaryKey and TagsColumn2 are the table columns denoting the // primary key for the tags relation (M2M). TagsPrimaryKey = []string{"task_id", "tag_id"} )
Functions ¶
func ClaimTime ¶
ClaimTime applies equality check predicate on the "ClaimTime" field. It's identical to ClaimTimeEQ.
func ClaimTimeEQ ¶
ClaimTimeEQ applies the EQ predicate on the "ClaimTime" field.
func ClaimTimeGT ¶
ClaimTimeGT applies the GT predicate on the "ClaimTime" field.
func ClaimTimeGTE ¶
ClaimTimeGTE applies the GTE predicate on the "ClaimTime" field.
func ClaimTimeIn ¶
ClaimTimeIn applies the In predicate on the "ClaimTime" field.
func ClaimTimeIsNil ¶
ClaimTimeIsNil applies the IsNil predicate on the "ClaimTime" field.
func ClaimTimeLT ¶
ClaimTimeLT applies the LT predicate on the "ClaimTime" field.
func ClaimTimeLTE ¶
ClaimTimeLTE applies the LTE predicate on the "ClaimTime" field.
func ClaimTimeNEQ ¶
ClaimTimeNEQ applies the NEQ predicate on the "ClaimTime" field.
func ClaimTimeNotIn ¶
ClaimTimeNotIn applies the NotIn predicate on the "ClaimTime" field.
func ClaimTimeNotNil ¶
ClaimTimeNotNil applies the NotNil predicate on the "ClaimTime" field.
func Content ¶
Content applies equality check predicate on the "Content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "Content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "Content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "Content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "Content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "Content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "Content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "Content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "Content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "Content" field.
func Error ¶
Error applies equality check predicate on the "Error" field. It's identical to ErrorEQ.
func ErrorContains ¶
ErrorContains applies the Contains predicate on the "Error" field.
func ErrorContainsFold ¶
ErrorContainsFold applies the ContainsFold predicate on the "Error" field.
func ErrorEqualFold ¶
ErrorEqualFold applies the EqualFold predicate on the "Error" field.
func ErrorHasPrefix ¶
ErrorHasPrefix applies the HasPrefix predicate on the "Error" field.
func ErrorHasSuffix ¶
ErrorHasSuffix applies the HasSuffix predicate on the "Error" field.
func ErrorIsNil ¶
ErrorIsNil applies the IsNil predicate on the "Error" field.
func ErrorNotIn ¶
ErrorNotIn applies the NotIn predicate on the "Error" field.
func ErrorNotNil ¶
ErrorNotNil applies the NotNil predicate on the "Error" field.
func ExecStartTime ¶
ExecStartTime applies equality check predicate on the "ExecStartTime" field. It's identical to ExecStartTimeEQ.
func ExecStartTimeEQ ¶
ExecStartTimeEQ applies the EQ predicate on the "ExecStartTime" field.
func ExecStartTimeGT ¶
ExecStartTimeGT applies the GT predicate on the "ExecStartTime" field.
func ExecStartTimeGTE ¶
ExecStartTimeGTE applies the GTE predicate on the "ExecStartTime" field.
func ExecStartTimeIn ¶
ExecStartTimeIn applies the In predicate on the "ExecStartTime" field.
func ExecStartTimeIsNil ¶
ExecStartTimeIsNil applies the IsNil predicate on the "ExecStartTime" field.
func ExecStartTimeLT ¶
ExecStartTimeLT applies the LT predicate on the "ExecStartTime" field.
func ExecStartTimeLTE ¶
ExecStartTimeLTE applies the LTE predicate on the "ExecStartTime" field.
func ExecStartTimeNEQ ¶
ExecStartTimeNEQ applies the NEQ predicate on the "ExecStartTime" field.
func ExecStartTimeNotIn ¶
ExecStartTimeNotIn applies the NotIn predicate on the "ExecStartTime" field.
func ExecStartTimeNotNil ¶
ExecStartTimeNotNil applies the NotNil predicate on the "ExecStartTime" field.
func ExecStopTime ¶
ExecStopTime applies equality check predicate on the "ExecStopTime" field. It's identical to ExecStopTimeEQ.
func ExecStopTimeEQ ¶
ExecStopTimeEQ applies the EQ predicate on the "ExecStopTime" field.
func ExecStopTimeGT ¶
ExecStopTimeGT applies the GT predicate on the "ExecStopTime" field.
func ExecStopTimeGTE ¶
ExecStopTimeGTE applies the GTE predicate on the "ExecStopTime" field.
func ExecStopTimeIn ¶
ExecStopTimeIn applies the In predicate on the "ExecStopTime" field.
func ExecStopTimeIsNil ¶
ExecStopTimeIsNil applies the IsNil predicate on the "ExecStopTime" field.
func ExecStopTimeLT ¶
ExecStopTimeLT applies the LT predicate on the "ExecStopTime" field.
func ExecStopTimeLTE ¶
ExecStopTimeLTE applies the LTE predicate on the "ExecStopTime" field.
func ExecStopTimeNEQ ¶
ExecStopTimeNEQ applies the NEQ predicate on the "ExecStopTime" field.
func ExecStopTimeNotIn ¶
ExecStopTimeNotIn applies the NotIn predicate on the "ExecStopTime" field.
func ExecStopTimeNotNil ¶
ExecStopTimeNotNil applies the NotNil predicate on the "ExecStopTime" field.
func HasJobWith ¶
HasJobWith applies the HasEdge predicate on the "job" edge with a given conditions (other predicates).
func HasTagsWith ¶
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
func HasTargetWith ¶ added in v0.2.2
HasTargetWith applies the HasEdge predicate on the "target" edge with a given conditions (other predicates).
func LastChangedTime ¶ added in v0.2.2
LastChangedTime applies equality check predicate on the "LastChangedTime" field. It's identical to LastChangedTimeEQ.
func LastChangedTimeEQ ¶ added in v0.2.2
LastChangedTimeEQ applies the EQ predicate on the "LastChangedTime" field.
func LastChangedTimeGT ¶ added in v0.2.2
LastChangedTimeGT applies the GT predicate on the "LastChangedTime" field.
func LastChangedTimeGTE ¶ added in v0.2.2
LastChangedTimeGTE applies the GTE predicate on the "LastChangedTime" field.
func LastChangedTimeIn ¶ added in v0.2.2
LastChangedTimeIn applies the In predicate on the "LastChangedTime" field.
func LastChangedTimeLT ¶ added in v0.2.2
LastChangedTimeLT applies the LT predicate on the "LastChangedTime" field.
func LastChangedTimeLTE ¶ added in v0.2.2
LastChangedTimeLTE applies the LTE predicate on the "LastChangedTime" field.
func LastChangedTimeNEQ ¶ added in v0.2.2
LastChangedTimeNEQ applies the NEQ predicate on the "LastChangedTime" field.
func LastChangedTimeNotIn ¶ added in v0.2.2
LastChangedTimeNotIn applies the NotIn predicate on the "LastChangedTime" field.
func Output ¶
Output applies equality check predicate on the "Output" field. It's identical to OutputEQ.
func OutputContains ¶
OutputContains applies the Contains predicate on the "Output" field.
func OutputContainsFold ¶
OutputContainsFold applies the ContainsFold predicate on the "Output" field.
func OutputEqualFold ¶
OutputEqualFold applies the EqualFold predicate on the "Output" field.
func OutputHasPrefix ¶
OutputHasPrefix applies the HasPrefix predicate on the "Output" field.
func OutputHasSuffix ¶
OutputHasSuffix applies the HasSuffix predicate on the "Output" field.
func OutputIsNil ¶
OutputIsNil applies the IsNil predicate on the "Output" field.
func OutputNotIn ¶
OutputNotIn applies the NotIn predicate on the "Output" field.
func OutputNotNil ¶
OutputNotNil applies the NotNil predicate on the "Output" field.
func QueueTime ¶
QueueTime applies equality check predicate on the "QueueTime" field. It's identical to QueueTimeEQ.
func QueueTimeEQ ¶
QueueTimeEQ applies the EQ predicate on the "QueueTime" field.
func QueueTimeGT ¶
QueueTimeGT applies the GT predicate on the "QueueTime" field.
func QueueTimeGTE ¶
QueueTimeGTE applies the GTE predicate on the "QueueTime" field.
func QueueTimeIn ¶
QueueTimeIn applies the In predicate on the "QueueTime" field.
func QueueTimeLT ¶
QueueTimeLT applies the LT predicate on the "QueueTime" field.
func QueueTimeLTE ¶
QueueTimeLTE applies the LTE predicate on the "QueueTime" field.
func QueueTimeNEQ ¶
QueueTimeNEQ applies the NEQ predicate on the "QueueTime" field.
func QueueTimeNotIn ¶
QueueTimeNotIn applies the NotIn predicate on the "QueueTime" field.
func SessionID ¶
SessionID applies equality check predicate on the "SessionID" field. It's identical to SessionIDEQ.
func SessionIDContains ¶
SessionIDContains applies the Contains predicate on the "SessionID" field.
func SessionIDContainsFold ¶
SessionIDContainsFold applies the ContainsFold predicate on the "SessionID" field.
func SessionIDEQ ¶
SessionIDEQ applies the EQ predicate on the "SessionID" field.
func SessionIDEqualFold ¶
SessionIDEqualFold applies the EqualFold predicate on the "SessionID" field.
func SessionIDGT ¶
SessionIDGT applies the GT predicate on the "SessionID" field.
func SessionIDGTE ¶
SessionIDGTE applies the GTE predicate on the "SessionID" field.
func SessionIDHasPrefix ¶
SessionIDHasPrefix applies the HasPrefix predicate on the "SessionID" field.
func SessionIDHasSuffix ¶
SessionIDHasSuffix applies the HasSuffix predicate on the "SessionID" field.
func SessionIDIn ¶
SessionIDIn applies the In predicate on the "SessionID" field.
func SessionIDIsNil ¶
SessionIDIsNil applies the IsNil predicate on the "SessionID" field.
func SessionIDLT ¶
SessionIDLT applies the LT predicate on the "SessionID" field.
func SessionIDLTE ¶
SessionIDLTE applies the LTE predicate on the "SessionID" field.
func SessionIDNEQ ¶
SessionIDNEQ applies the NEQ predicate on the "SessionID" field.
func SessionIDNotIn ¶
SessionIDNotIn applies the NotIn predicate on the "SessionID" field.
func SessionIDNotNil ¶
SessionIDNotNil applies the NotNil predicate on the "SessionID" field.
func ValidColumn ¶ added in v0.4.3
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.