Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func AssignedToHost(v string) predicate.Task
- func AssignedToHostContains(v string) predicate.Task
- func AssignedToHostContainsFold(v string) predicate.Task
- func AssignedToHostEQ(v string) predicate.Task
- func AssignedToHostEqualFold(v string) predicate.Task
- func AssignedToHostGT(v string) predicate.Task
- func AssignedToHostGTE(v string) predicate.Task
- func AssignedToHostHasPrefix(v string) predicate.Task
- func AssignedToHostHasSuffix(v string) predicate.Task
- func AssignedToHostIn(vs ...string) predicate.Task
- func AssignedToHostIsNil() predicate.Task
- func AssignedToHostLT(v string) predicate.Task
- func AssignedToHostLTE(v string) predicate.Task
- func AssignedToHostNEQ(v string) predicate.Task
- func AssignedToHostNotIn(vs ...string) predicate.Task
- func AssignedToHostNotNil() predicate.Task
- func CaseCode(v string) predicate.Task
- func CaseCodeContains(v string) predicate.Task
- func CaseCodeContainsFold(v string) predicate.Task
- func CaseCodeEQ(v string) predicate.Task
- func CaseCodeEqualFold(v string) predicate.Task
- func CaseCodeGT(v string) predicate.Task
- func CaseCodeGTE(v string) predicate.Task
- func CaseCodeHasPrefix(v string) predicate.Task
- func CaseCodeHasSuffix(v string) predicate.Task
- func CaseCodeIn(vs ...string) predicate.Task
- func CaseCodeIsNil() predicate.Task
- func CaseCodeLT(v string) predicate.Task
- func CaseCodeLTE(v string) predicate.Task
- func CaseCodeNEQ(v string) predicate.Task
- func CaseCodeNotIn(vs ...string) predicate.Task
- func CaseCodeNotNil() predicate.Task
- func Comment(v string) predicate.Task
- func CommentContains(v string) predicate.Task
- func CommentContainsFold(v string) predicate.Task
- func CommentEQ(v string) predicate.Task
- func CommentEqualFold(v string) predicate.Task
- func CommentGT(v string) predicate.Task
- func CommentGTE(v string) predicate.Task
- func CommentHasPrefix(v string) predicate.Task
- func CommentHasSuffix(v string) predicate.Task
- func CommentIn(vs ...string) predicate.Task
- func CommentIsNil() predicate.Task
- func CommentLT(v string) predicate.Task
- func CommentLTE(v string) predicate.Task
- func CommentNEQ(v string) predicate.Task
- func CommentNotIn(vs ...string) predicate.Task
- func CommentNotNil() 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 EnginePayloadIsNil() predicate.Task
- func EnginePayloadNotNil() 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 HasCrackedPasswords() predicate.Task
- func HasCrackedPasswordsWith(preds ...predicate.CrackedPassword) predicate.Task
- func HasCreatedBy() predicate.Task
- func HasCreatedByWith(preds ...predicate.User) predicate.Task
- func ID(id uuid.UUID) predicate.Task
- func IDEQ(id uuid.UUID) predicate.Task
- func IDGT(id uuid.UUID) predicate.Task
- func IDGTE(id uuid.UUID) predicate.Task
- func IDIn(ids ...uuid.UUID) predicate.Task
- func IDLT(id uuid.UUID) predicate.Task
- func IDLTE(id uuid.UUID) predicate.Task
- func IDNEQ(id uuid.UUID) predicate.Task
- func IDNotIn(ids ...uuid.UUID) predicate.Task
- func LastUpdatedAt(v time.Time) predicate.Task
- func LastUpdatedAtEQ(v time.Time) predicate.Task
- func LastUpdatedAtGT(v time.Time) predicate.Task
- func LastUpdatedAtGTE(v time.Time) predicate.Task
- func LastUpdatedAtIn(vs ...time.Time) predicate.Task
- func LastUpdatedAtLT(v time.Time) predicate.Task
- func LastUpdatedAtLTE(v time.Time) predicate.Task
- func LastUpdatedAtNEQ(v time.Time) predicate.Task
- func LastUpdatedAtNotIn(vs ...time.Time) 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 NumberCracked(v int) predicate.Task
- func NumberCrackedEQ(v int) predicate.Task
- func NumberCrackedGT(v int) predicate.Task
- func NumberCrackedGTE(v int) predicate.Task
- func NumberCrackedIn(vs ...int) predicate.Task
- func NumberCrackedLT(v int) predicate.Task
- func NumberCrackedLTE(v int) predicate.Task
- func NumberCrackedNEQ(v int) predicate.Task
- func NumberCrackedNotIn(vs ...int) predicate.Task
- func NumberPasswords(v int) predicate.Task
- func NumberPasswordsEQ(v int) predicate.Task
- func NumberPasswordsGT(v int) predicate.Task
- func NumberPasswordsGTE(v int) predicate.Task
- func NumberPasswordsIn(vs ...int) predicate.Task
- func NumberPasswordsLT(v int) predicate.Task
- func NumberPasswordsLTE(v int) predicate.Task
- func NumberPasswordsNEQ(v int) predicate.Task
- func NumberPasswordsNotIn(vs ...int) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func StatusEQ(v oldschema.TaskStatus) predicate.Task
- func StatusIn(vs ...oldschema.TaskStatus) predicate.Task
- func StatusNEQ(v oldschema.TaskStatus) predicate.Task
- func StatusNotIn(vs ...oldschema.TaskStatus) predicate.Task
- func StatusValidator(s oldschema.TaskStatus) error
- 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldEnginePayload holds the string denoting the engine_payload field in the database. FieldEnginePayload = "engine_payload" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldLastUpdatedAt holds the string denoting the last_updated_at field in the database. FieldLastUpdatedAt = "last_updated_at" // FieldAssignedToHost holds the string denoting the assigned_to_host field in the database. FieldAssignedToHost = "assigned_to_host" // FieldComment holds the string denoting the comment field in the database. FieldComment = "comment" // FieldCaseCode holds the string denoting the case_code field in the database. FieldCaseCode = "case_code" // FieldNumberCracked holds the string denoting the number_cracked field in the database. FieldNumberCracked = "number_cracked" // FieldNumberPasswords holds the string denoting the number_passwords field in the database. FieldNumberPasswords = "number_passwords" // FieldError holds the string denoting the error field in the database. FieldError = "error" // EdgeCreatedBy holds the string denoting the created_by edge name in mutations. EdgeCreatedBy = "created_by" // EdgeCrackedPasswords holds the string denoting the cracked_passwords edge name in mutations. EdgeCrackedPasswords = "cracked_passwords" // Table holds the table name of the task in the database. Table = "tasks" // CreatedByTable is the table that holds the created_by relation/edge. CreatedByTable = "tasks" // CreatedByInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. CreatedByInverseTable = "users" // CreatedByColumn is the table column denoting the created_by relation/edge. CreatedByColumn = "task_created_by" // CrackedPasswordsTable is the table that holds the cracked_passwords relation/edge. CrackedPasswordsTable = "cracked_passwords" // CrackedPasswordsInverseTable is the table name for the CrackedPassword entity. // It exists in this package in order to avoid circular dependency with the "crackedpassword" package. CrackedPasswordsInverseTable = "cracked_passwords" // CrackedPasswordsColumn is the table column denoting the cracked_passwords relation/edge. CrackedPasswordsColumn = "task_cracked_passwords" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultLastUpdatedAt holds the default value on creation for the "last_updated_at" field. DefaultLastUpdatedAt func() time.Time // DefaultNumberCracked holds the default value on creation for the "number_cracked" field. DefaultNumberCracked int // DefaultNumberPasswords holds the default value on creation for the "number_passwords" field. DefaultNumberPasswords int // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldStatus, FieldEnginePayload, FieldCreatedAt, FieldLastUpdatedAt, FieldAssignedToHost, FieldComment, FieldCaseCode, FieldNumberCracked, FieldNumberPasswords, FieldError, }
Columns holds all SQL columns for task fields.
var ForeignKeys = []string{
"task_created_by",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "tasks" table and are not defined as standalone fields in the schema.
Functions ¶
func AssignedToHost ¶
AssignedToHost applies equality check predicate on the "assigned_to_host" field. It's identical to AssignedToHostEQ.
func AssignedToHostContains ¶
AssignedToHostContains applies the Contains predicate on the "assigned_to_host" field.
func AssignedToHostContainsFold ¶
AssignedToHostContainsFold applies the ContainsFold predicate on the "assigned_to_host" field.
func AssignedToHostEQ ¶
AssignedToHostEQ applies the EQ predicate on the "assigned_to_host" field.
func AssignedToHostEqualFold ¶
AssignedToHostEqualFold applies the EqualFold predicate on the "assigned_to_host" field.
func AssignedToHostGT ¶
AssignedToHostGT applies the GT predicate on the "assigned_to_host" field.
func AssignedToHostGTE ¶
AssignedToHostGTE applies the GTE predicate on the "assigned_to_host" field.
func AssignedToHostHasPrefix ¶
AssignedToHostHasPrefix applies the HasPrefix predicate on the "assigned_to_host" field.
func AssignedToHostHasSuffix ¶
AssignedToHostHasSuffix applies the HasSuffix predicate on the "assigned_to_host" field.
func AssignedToHostIn ¶
AssignedToHostIn applies the In predicate on the "assigned_to_host" field.
func AssignedToHostIsNil ¶
AssignedToHostIsNil applies the IsNil predicate on the "assigned_to_host" field.
func AssignedToHostLT ¶
AssignedToHostLT applies the LT predicate on the "assigned_to_host" field.
func AssignedToHostLTE ¶
AssignedToHostLTE applies the LTE predicate on the "assigned_to_host" field.
func AssignedToHostNEQ ¶
AssignedToHostNEQ applies the NEQ predicate on the "assigned_to_host" field.
func AssignedToHostNotIn ¶
AssignedToHostNotIn applies the NotIn predicate on the "assigned_to_host" field.
func AssignedToHostNotNil ¶
AssignedToHostNotNil applies the NotNil predicate on the "assigned_to_host" field.
func CaseCode ¶
CaseCode applies equality check predicate on the "case_code" field. It's identical to CaseCodeEQ.
func CaseCodeContains ¶
CaseCodeContains applies the Contains predicate on the "case_code" field.
func CaseCodeContainsFold ¶
CaseCodeContainsFold applies the ContainsFold predicate on the "case_code" field.
func CaseCodeEQ ¶
CaseCodeEQ applies the EQ predicate on the "case_code" field.
func CaseCodeEqualFold ¶
CaseCodeEqualFold applies the EqualFold predicate on the "case_code" field.
func CaseCodeGT ¶
CaseCodeGT applies the GT predicate on the "case_code" field.
func CaseCodeGTE ¶
CaseCodeGTE applies the GTE predicate on the "case_code" field.
func CaseCodeHasPrefix ¶
CaseCodeHasPrefix applies the HasPrefix predicate on the "case_code" field.
func CaseCodeHasSuffix ¶
CaseCodeHasSuffix applies the HasSuffix predicate on the "case_code" field.
func CaseCodeIn ¶
CaseCodeIn applies the In predicate on the "case_code" field.
func CaseCodeIsNil ¶
CaseCodeIsNil applies the IsNil predicate on the "case_code" field.
func CaseCodeLT ¶
CaseCodeLT applies the LT predicate on the "case_code" field.
func CaseCodeLTE ¶
CaseCodeLTE applies the LTE predicate on the "case_code" field.
func CaseCodeNEQ ¶
CaseCodeNEQ applies the NEQ predicate on the "case_code" field.
func CaseCodeNotIn ¶
CaseCodeNotIn applies the NotIn predicate on the "case_code" field.
func CaseCodeNotNil ¶
CaseCodeNotNil applies the NotNil predicate on the "case_code" field.
func Comment ¶
Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.
func CommentContains ¶
CommentContains applies the Contains predicate on the "comment" field.
func CommentContainsFold ¶
CommentContainsFold applies the ContainsFold predicate on the "comment" field.
func CommentEqualFold ¶
CommentEqualFold applies the EqualFold predicate on the "comment" field.
func CommentGTE ¶
CommentGTE applies the GTE predicate on the "comment" field.
func CommentHasPrefix ¶
CommentHasPrefix applies the HasPrefix predicate on the "comment" field.
func CommentHasSuffix ¶
CommentHasSuffix applies the HasSuffix predicate on the "comment" field.
func CommentIsNil ¶
CommentIsNil applies the IsNil predicate on the "comment" field.
func CommentLTE ¶
CommentLTE applies the LTE predicate on the "comment" field.
func CommentNEQ ¶
CommentNEQ applies the NEQ predicate on the "comment" field.
func CommentNotIn ¶
CommentNotIn applies the NotIn predicate on the "comment" field.
func CommentNotNil ¶
CommentNotNil applies the NotNil predicate on the "comment" field.
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 EnginePayloadIsNil ¶
EnginePayloadIsNil applies the IsNil predicate on the "engine_payload" field.
func EnginePayloadNotNil ¶
EnginePayloadNotNil applies the NotNil predicate on the "engine_payload" 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 HasCrackedPasswords ¶
HasCrackedPasswords applies the HasEdge predicate on the "cracked_passwords" edge.
func HasCrackedPasswordsWith ¶
func HasCrackedPasswordsWith(preds ...predicate.CrackedPassword) predicate.Task
HasCrackedPasswordsWith applies the HasEdge predicate on the "cracked_passwords" edge with a given conditions (other predicates).
func HasCreatedBy ¶
HasCreatedBy applies the HasEdge predicate on the "created_by" edge.
func HasCreatedByWith ¶
HasCreatedByWith applies the HasEdge predicate on the "created_by" edge with a given conditions (other predicates).
func LastUpdatedAt ¶
LastUpdatedAt applies equality check predicate on the "last_updated_at" field. It's identical to LastUpdatedAtEQ.
func LastUpdatedAtEQ ¶
LastUpdatedAtEQ applies the EQ predicate on the "last_updated_at" field.
func LastUpdatedAtGT ¶
LastUpdatedAtGT applies the GT predicate on the "last_updated_at" field.
func LastUpdatedAtGTE ¶
LastUpdatedAtGTE applies the GTE predicate on the "last_updated_at" field.
func LastUpdatedAtIn ¶
LastUpdatedAtIn applies the In predicate on the "last_updated_at" field.
func LastUpdatedAtLT ¶
LastUpdatedAtLT applies the LT predicate on the "last_updated_at" field.
func LastUpdatedAtLTE ¶
LastUpdatedAtLTE applies the LTE predicate on the "last_updated_at" field.
func LastUpdatedAtNEQ ¶
LastUpdatedAtNEQ applies the NEQ predicate on the "last_updated_at" field.
func LastUpdatedAtNotIn ¶
LastUpdatedAtNotIn applies the NotIn predicate on the "last_updated_at" field.
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 NumberCracked ¶
NumberCracked applies equality check predicate on the "number_cracked" field. It's identical to NumberCrackedEQ.
func NumberCrackedEQ ¶
NumberCrackedEQ applies the EQ predicate on the "number_cracked" field.
func NumberCrackedGT ¶
NumberCrackedGT applies the GT predicate on the "number_cracked" field.
func NumberCrackedGTE ¶
NumberCrackedGTE applies the GTE predicate on the "number_cracked" field.
func NumberCrackedIn ¶
NumberCrackedIn applies the In predicate on the "number_cracked" field.
func NumberCrackedLT ¶
NumberCrackedLT applies the LT predicate on the "number_cracked" field.
func NumberCrackedLTE ¶
NumberCrackedLTE applies the LTE predicate on the "number_cracked" field.
func NumberCrackedNEQ ¶
NumberCrackedNEQ applies the NEQ predicate on the "number_cracked" field.
func NumberCrackedNotIn ¶
NumberCrackedNotIn applies the NotIn predicate on the "number_cracked" field.
func NumberPasswords ¶
NumberPasswords applies equality check predicate on the "number_passwords" field. It's identical to NumberPasswordsEQ.
func NumberPasswordsEQ ¶
NumberPasswordsEQ applies the EQ predicate on the "number_passwords" field.
func NumberPasswordsGT ¶
NumberPasswordsGT applies the GT predicate on the "number_passwords" field.
func NumberPasswordsGTE ¶
NumberPasswordsGTE applies the GTE predicate on the "number_passwords" field.
func NumberPasswordsIn ¶
NumberPasswordsIn applies the In predicate on the "number_passwords" field.
func NumberPasswordsLT ¶
NumberPasswordsLT applies the LT predicate on the "number_passwords" field.
func NumberPasswordsLTE ¶
NumberPasswordsLTE applies the LTE predicate on the "number_passwords" field.
func NumberPasswordsNEQ ¶
NumberPasswordsNEQ applies the NEQ predicate on the "number_passwords" field.
func NumberPasswordsNotIn ¶
NumberPasswordsNotIn applies the NotIn predicate on the "number_passwords" field.
func StatusEQ ¶
func StatusEQ(v oldschema.TaskStatus) predicate.Task
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...oldschema.TaskStatus) predicate.Task
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v oldschema.TaskStatus) predicate.Task
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...oldschema.TaskStatus) predicate.Task
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s oldschema.TaskStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.