backgroundtask

package
v0.0.0-...-65c6c44 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the backgroundtask type in the database.
	Label = "background_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"
	// FieldSlug holds the string denoting the slug field in the database.
	FieldSlug = "slug"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldInstructions holds the string denoting the instructions field in the database.
	FieldInstructions = "instructions"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldTriggersJSON holds the string denoting the triggers_json field in the database.
	FieldTriggersJSON = "triggers_json"
	// FieldModel holds the string denoting the model field in the database.
	FieldModel = "model"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldExecutionTarget holds the string denoting the execution_target field in the database.
	FieldExecutionTarget = "execution_target"
	// FieldTemplateSlug holds the string denoting the template_slug field in the database.
	FieldTemplateSlug = "template_slug"
	// FieldTemplateVersion holds the string denoting the template_version field in the database.
	FieldTemplateVersion = "template_version"
	// FieldSystemManaged holds the string denoting the system_managed field in the database.
	FieldSystemManaged = "system_managed"
	// FieldTaskCreatedAt holds the string denoting the task_created_at field in the database.
	FieldTaskCreatedAt = "task_created_at"
	// FieldLastAttemptAt holds the string denoting the last_attempt_at field in the database.
	FieldLastAttemptAt = "last_attempt_at"
	// FieldLastRunID holds the string denoting the last_run_id field in the database.
	FieldLastRunID = "last_run_id"
	// FieldLastRunAt holds the string denoting the last_run_at field in the database.
	FieldLastRunAt = "last_run_at"
	// FieldLastRunSummary holds the string denoting the last_run_summary field in the database.
	FieldLastRunSummary = "last_run_summary"
	// FieldLastRunError holds the string denoting the last_run_error field in the database.
	FieldLastRunError = "last_run_error"
	// FieldScheduleSyncState holds the string denoting the schedule_sync_state field in the database.
	FieldScheduleSyncState = "schedule_sync_state"
	// FieldScheduleSyncError holds the string denoting the schedule_sync_error field in the database.
	FieldScheduleSyncError = "schedule_sync_error"
	// FieldScheduleSyncedAt holds the string denoting the schedule_synced_at field in the database.
	FieldScheduleSyncedAt = "schedule_synced_at"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeArtifact holds the string denoting the artifact edge name in mutations.
	EdgeArtifact = "artifact"
	// EdgeRuns holds the string denoting the runs edge name in mutations.
	EdgeRuns = "runs"
	// EdgeRunEvents holds the string denoting the run_events edge name in mutations.
	EdgeRunEvents = "run_events"
	// EdgeScheduleStates holds the string denoting the schedule_states edge name in mutations.
	EdgeScheduleStates = "schedule_states"
	// Table holds the table name of the backgroundtask in the database.
	Table = "background_tasks"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "background_tasks"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_background_tasks"
	// ArtifactTable is the table that holds the artifact relation/edge.
	ArtifactTable = "background_task_artifacts"
	// ArtifactInverseTable is the table name for the BackgroundTaskArtifact entity.
	// It exists in this package in order to avoid circular dependency with the "backgroundtaskartifact" package.
	ArtifactInverseTable = "background_task_artifacts"
	// ArtifactColumn is the table column denoting the artifact relation/edge.
	ArtifactColumn = "background_task_id"
	// RunsTable is the table that holds the runs relation/edge.
	RunsTable = "background_task_runs"
	// RunsInverseTable is the table name for the BackgroundTaskRun entity.
	// It exists in this package in order to avoid circular dependency with the "backgroundtaskrun" package.
	RunsInverseTable = "background_task_runs"
	// RunsColumn is the table column denoting the runs relation/edge.
	RunsColumn = "background_task_id"
	// RunEventsTable is the table that holds the run_events relation/edge.
	RunEventsTable = "background_task_run_events"
	// RunEventsInverseTable is the table name for the BackgroundTaskRunEvent entity.
	// It exists in this package in order to avoid circular dependency with the "backgroundtaskrunevent" package.
	RunEventsInverseTable = "background_task_run_events"
	// RunEventsColumn is the table column denoting the run_events relation/edge.
	RunEventsColumn = "background_task_id"
	// ScheduleStatesTable is the table that holds the schedule_states relation/edge.
	ScheduleStatesTable = "background_task_schedule_states"
	// ScheduleStatesInverseTable is the table name for the BackgroundTaskScheduleState entity.
	// It exists in this package in order to avoid circular dependency with the "backgroundtaskschedulestate" package.
	ScheduleStatesInverseTable = "background_task_schedule_states"
	// ScheduleStatesColumn is the table column denoting the schedule_states relation/edge.
	ScheduleStatesColumn = "background_task_id"
)

Variables

View Source
var (
	Hooks  [1]ent.Hook
	Policy ent.Policy
	// 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
	// SlugValidator is a validator for the "slug" field. It is called by the builders before save.
	SlugValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// InstructionsValidator is a validator for the "instructions" field. It is called by the builders before save.
	InstructionsValidator func(string) error
	// DefaultActive holds the default value on creation for the "active" field.
	DefaultActive bool
	// TriggersJSONValidator is a validator for the "triggers_json" field. It is called by the builders before save.
	TriggersJSONValidator func(string) error
	// DefaultExecutionTarget holds the default value on creation for the "execution_target" field.
	DefaultExecutionTarget string
	// ExecutionTargetValidator is a validator for the "execution_target" field. It is called by the builders before save.
	ExecutionTargetValidator func(string) error
	// DefaultTemplateVersion holds the default value on creation for the "template_version" field.
	DefaultTemplateVersion int
	// TemplateVersionValidator is a validator for the "template_version" field. It is called by the builders before save.
	TemplateVersionValidator func(int) error
	// DefaultSystemManaged holds the default value on creation for the "system_managed" field.
	DefaultSystemManaged bool
	// DefaultScheduleSyncState holds the default value on creation for the "schedule_sync_state" field.
	DefaultScheduleSyncState string
	// ScheduleSyncStateValidator is a validator for the "schedule_sync_state" field. It is called by the builders before save.
	ScheduleSyncStateValidator func(string) error
	// DefaultRevision holds the default value on creation for the "revision" field.
	DefaultRevision int
	// RevisionValidator is a validator for the "revision" field. It is called by the builders before save.
	RevisionValidator func(int) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"

Columns holds all SQL columns for backgroundtask fields.

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

ForeignKeys holds the SQL foreign-keys that are owned by the "background_tasks" table and are not defined as standalone fields in the schema.

Functions

func Active

func Active(v bool) predicate.BackgroundTask

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.BackgroundTask

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.BackgroundTask

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.BackgroundTask

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.BackgroundTask

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.BackgroundTask

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.BackgroundTask

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.BackgroundTask

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.BackgroundTask

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.BackgroundTask

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.BackgroundTask

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.BackgroundTask

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ExecutionTarget

func ExecutionTarget(v string) predicate.BackgroundTask

ExecutionTarget applies equality check predicate on the "execution_target" field. It's identical to ExecutionTargetEQ.

func ExecutionTargetContains

func ExecutionTargetContains(v string) predicate.BackgroundTask

ExecutionTargetContains applies the Contains predicate on the "execution_target" field.

func ExecutionTargetContainsFold

func ExecutionTargetContainsFold(v string) predicate.BackgroundTask

ExecutionTargetContainsFold applies the ContainsFold predicate on the "execution_target" field.

func ExecutionTargetEQ

func ExecutionTargetEQ(v string) predicate.BackgroundTask

ExecutionTargetEQ applies the EQ predicate on the "execution_target" field.

func ExecutionTargetEqualFold

func ExecutionTargetEqualFold(v string) predicate.BackgroundTask

ExecutionTargetEqualFold applies the EqualFold predicate on the "execution_target" field.

func ExecutionTargetGT

func ExecutionTargetGT(v string) predicate.BackgroundTask

ExecutionTargetGT applies the GT predicate on the "execution_target" field.

func ExecutionTargetGTE

func ExecutionTargetGTE(v string) predicate.BackgroundTask

ExecutionTargetGTE applies the GTE predicate on the "execution_target" field.

func ExecutionTargetHasPrefix

func ExecutionTargetHasPrefix(v string) predicate.BackgroundTask

ExecutionTargetHasPrefix applies the HasPrefix predicate on the "execution_target" field.

func ExecutionTargetHasSuffix

func ExecutionTargetHasSuffix(v string) predicate.BackgroundTask

ExecutionTargetHasSuffix applies the HasSuffix predicate on the "execution_target" field.

func ExecutionTargetIn

func ExecutionTargetIn(vs ...string) predicate.BackgroundTask

ExecutionTargetIn applies the In predicate on the "execution_target" field.

func ExecutionTargetLT

func ExecutionTargetLT(v string) predicate.BackgroundTask

ExecutionTargetLT applies the LT predicate on the "execution_target" field.

func ExecutionTargetLTE

func ExecutionTargetLTE(v string) predicate.BackgroundTask

ExecutionTargetLTE applies the LTE predicate on the "execution_target" field.

func ExecutionTargetNEQ

func ExecutionTargetNEQ(v string) predicate.BackgroundTask

ExecutionTargetNEQ applies the NEQ predicate on the "execution_target" field.

func ExecutionTargetNotIn

func ExecutionTargetNotIn(vs ...string) predicate.BackgroundTask

ExecutionTargetNotIn applies the NotIn predicate on the "execution_target" field.

func HasArtifact

func HasArtifact() predicate.BackgroundTask

HasArtifact applies the HasEdge predicate on the "artifact" edge.

func HasArtifactWith

func HasArtifactWith(preds ...predicate.BackgroundTaskArtifact) predicate.BackgroundTask

HasArtifactWith applies the HasEdge predicate on the "artifact" edge with a given conditions (other predicates).

func HasRunEvents

func HasRunEvents() predicate.BackgroundTask

HasRunEvents applies the HasEdge predicate on the "run_events" edge.

func HasRunEventsWith

func HasRunEventsWith(preds ...predicate.BackgroundTaskRunEvent) predicate.BackgroundTask

HasRunEventsWith applies the HasEdge predicate on the "run_events" edge with a given conditions (other predicates).

func HasRuns

func HasRuns() predicate.BackgroundTask

HasRuns applies the HasEdge predicate on the "runs" edge.

func HasRunsWith

HasRunsWith applies the HasEdge predicate on the "runs" edge with a given conditions (other predicates).

func HasScheduleStates

func HasScheduleStates() predicate.BackgroundTask

HasScheduleStates applies the HasEdge predicate on the "schedule_states" edge.

func HasScheduleStatesWith

func HasScheduleStatesWith(preds ...predicate.BackgroundTaskScheduleState) predicate.BackgroundTask

HasScheduleStatesWith applies the HasEdge predicate on the "schedule_states" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.BackgroundTask

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.BackgroundTask

HasUserWith applies the HasEdge predicate on the "user" 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 ...uuid.UUID) predicate.BackgroundTask

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 ...uuid.UUID) predicate.BackgroundTask

IDNotIn applies the NotIn predicate on the ID field.

func Instructions

func Instructions(v string) predicate.BackgroundTask

Instructions applies equality check predicate on the "instructions" field. It's identical to InstructionsEQ.

func InstructionsContains

func InstructionsContains(v string) predicate.BackgroundTask

InstructionsContains applies the Contains predicate on the "instructions" field.

func InstructionsContainsFold

func InstructionsContainsFold(v string) predicate.BackgroundTask

InstructionsContainsFold applies the ContainsFold predicate on the "instructions" field.

func InstructionsEQ

func InstructionsEQ(v string) predicate.BackgroundTask

InstructionsEQ applies the EQ predicate on the "instructions" field.

func InstructionsEqualFold

func InstructionsEqualFold(v string) predicate.BackgroundTask

InstructionsEqualFold applies the EqualFold predicate on the "instructions" field.

func InstructionsGT

func InstructionsGT(v string) predicate.BackgroundTask

InstructionsGT applies the GT predicate on the "instructions" field.

func InstructionsGTE

func InstructionsGTE(v string) predicate.BackgroundTask

InstructionsGTE applies the GTE predicate on the "instructions" field.

func InstructionsHasPrefix

func InstructionsHasPrefix(v string) predicate.BackgroundTask

InstructionsHasPrefix applies the HasPrefix predicate on the "instructions" field.

func InstructionsHasSuffix

func InstructionsHasSuffix(v string) predicate.BackgroundTask

InstructionsHasSuffix applies the HasSuffix predicate on the "instructions" field.

func InstructionsIn

func InstructionsIn(vs ...string) predicate.BackgroundTask

InstructionsIn applies the In predicate on the "instructions" field.

func InstructionsLT

func InstructionsLT(v string) predicate.BackgroundTask

InstructionsLT applies the LT predicate on the "instructions" field.

func InstructionsLTE

func InstructionsLTE(v string) predicate.BackgroundTask

InstructionsLTE applies the LTE predicate on the "instructions" field.

func InstructionsNEQ

func InstructionsNEQ(v string) predicate.BackgroundTask

InstructionsNEQ applies the NEQ predicate on the "instructions" field.

func InstructionsNotIn

func InstructionsNotIn(vs ...string) predicate.BackgroundTask

InstructionsNotIn applies the NotIn predicate on the "instructions" field.

func LastAttemptAt

func LastAttemptAt(v time.Time) predicate.BackgroundTask

LastAttemptAt applies equality check predicate on the "last_attempt_at" field. It's identical to LastAttemptAtEQ.

func LastAttemptAtEQ

func LastAttemptAtEQ(v time.Time) predicate.BackgroundTask

LastAttemptAtEQ applies the EQ predicate on the "last_attempt_at" field.

func LastAttemptAtGT

func LastAttemptAtGT(v time.Time) predicate.BackgroundTask

LastAttemptAtGT applies the GT predicate on the "last_attempt_at" field.

func LastAttemptAtGTE

func LastAttemptAtGTE(v time.Time) predicate.BackgroundTask

LastAttemptAtGTE applies the GTE predicate on the "last_attempt_at" field.

func LastAttemptAtIn

func LastAttemptAtIn(vs ...time.Time) predicate.BackgroundTask

LastAttemptAtIn applies the In predicate on the "last_attempt_at" field.

func LastAttemptAtIsNil

func LastAttemptAtIsNil() predicate.BackgroundTask

LastAttemptAtIsNil applies the IsNil predicate on the "last_attempt_at" field.

func LastAttemptAtLT

func LastAttemptAtLT(v time.Time) predicate.BackgroundTask

LastAttemptAtLT applies the LT predicate on the "last_attempt_at" field.

func LastAttemptAtLTE

func LastAttemptAtLTE(v time.Time) predicate.BackgroundTask

LastAttemptAtLTE applies the LTE predicate on the "last_attempt_at" field.

func LastAttemptAtNEQ

func LastAttemptAtNEQ(v time.Time) predicate.BackgroundTask

LastAttemptAtNEQ applies the NEQ predicate on the "last_attempt_at" field.

func LastAttemptAtNotIn

func LastAttemptAtNotIn(vs ...time.Time) predicate.BackgroundTask

LastAttemptAtNotIn applies the NotIn predicate on the "last_attempt_at" field.

func LastAttemptAtNotNil

func LastAttemptAtNotNil() predicate.BackgroundTask

LastAttemptAtNotNil applies the NotNil predicate on the "last_attempt_at" field.

func LastRunAt

func LastRunAt(v time.Time) predicate.BackgroundTask

LastRunAt applies equality check predicate on the "last_run_at" field. It's identical to LastRunAtEQ.

func LastRunAtEQ

func LastRunAtEQ(v time.Time) predicate.BackgroundTask

LastRunAtEQ applies the EQ predicate on the "last_run_at" field.

func LastRunAtGT

func LastRunAtGT(v time.Time) predicate.BackgroundTask

LastRunAtGT applies the GT predicate on the "last_run_at" field.

func LastRunAtGTE

func LastRunAtGTE(v time.Time) predicate.BackgroundTask

LastRunAtGTE applies the GTE predicate on the "last_run_at" field.

func LastRunAtIn

func LastRunAtIn(vs ...time.Time) predicate.BackgroundTask

LastRunAtIn applies the In predicate on the "last_run_at" field.

func LastRunAtIsNil

func LastRunAtIsNil() predicate.BackgroundTask

LastRunAtIsNil applies the IsNil predicate on the "last_run_at" field.

func LastRunAtLT

func LastRunAtLT(v time.Time) predicate.BackgroundTask

LastRunAtLT applies the LT predicate on the "last_run_at" field.

func LastRunAtLTE

func LastRunAtLTE(v time.Time) predicate.BackgroundTask

LastRunAtLTE applies the LTE predicate on the "last_run_at" field.

func LastRunAtNEQ

func LastRunAtNEQ(v time.Time) predicate.BackgroundTask

LastRunAtNEQ applies the NEQ predicate on the "last_run_at" field.

func LastRunAtNotIn

func LastRunAtNotIn(vs ...time.Time) predicate.BackgroundTask

LastRunAtNotIn applies the NotIn predicate on the "last_run_at" field.

func LastRunAtNotNil

func LastRunAtNotNil() predicate.BackgroundTask

LastRunAtNotNil applies the NotNil predicate on the "last_run_at" field.

func LastRunError

func LastRunError(v string) predicate.BackgroundTask

LastRunError applies equality check predicate on the "last_run_error" field. It's identical to LastRunErrorEQ.

func LastRunErrorContains

func LastRunErrorContains(v string) predicate.BackgroundTask

LastRunErrorContains applies the Contains predicate on the "last_run_error" field.

func LastRunErrorContainsFold

func LastRunErrorContainsFold(v string) predicate.BackgroundTask

LastRunErrorContainsFold applies the ContainsFold predicate on the "last_run_error" field.

func LastRunErrorEQ

func LastRunErrorEQ(v string) predicate.BackgroundTask

LastRunErrorEQ applies the EQ predicate on the "last_run_error" field.

func LastRunErrorEqualFold

func LastRunErrorEqualFold(v string) predicate.BackgroundTask

LastRunErrorEqualFold applies the EqualFold predicate on the "last_run_error" field.

func LastRunErrorGT

func LastRunErrorGT(v string) predicate.BackgroundTask

LastRunErrorGT applies the GT predicate on the "last_run_error" field.

func LastRunErrorGTE

func LastRunErrorGTE(v string) predicate.BackgroundTask

LastRunErrorGTE applies the GTE predicate on the "last_run_error" field.

func LastRunErrorHasPrefix

func LastRunErrorHasPrefix(v string) predicate.BackgroundTask

LastRunErrorHasPrefix applies the HasPrefix predicate on the "last_run_error" field.

func LastRunErrorHasSuffix

func LastRunErrorHasSuffix(v string) predicate.BackgroundTask

LastRunErrorHasSuffix applies the HasSuffix predicate on the "last_run_error" field.

func LastRunErrorIn

func LastRunErrorIn(vs ...string) predicate.BackgroundTask

LastRunErrorIn applies the In predicate on the "last_run_error" field.

func LastRunErrorIsNil

func LastRunErrorIsNil() predicate.BackgroundTask

LastRunErrorIsNil applies the IsNil predicate on the "last_run_error" field.

func LastRunErrorLT

func LastRunErrorLT(v string) predicate.BackgroundTask

LastRunErrorLT applies the LT predicate on the "last_run_error" field.

func LastRunErrorLTE

func LastRunErrorLTE(v string) predicate.BackgroundTask

LastRunErrorLTE applies the LTE predicate on the "last_run_error" field.

func LastRunErrorNEQ

func LastRunErrorNEQ(v string) predicate.BackgroundTask

LastRunErrorNEQ applies the NEQ predicate on the "last_run_error" field.

func LastRunErrorNotIn

func LastRunErrorNotIn(vs ...string) predicate.BackgroundTask

LastRunErrorNotIn applies the NotIn predicate on the "last_run_error" field.

func LastRunErrorNotNil

func LastRunErrorNotNil() predicate.BackgroundTask

LastRunErrorNotNil applies the NotNil predicate on the "last_run_error" field.

func LastRunID

func LastRunID(v string) predicate.BackgroundTask

LastRunID applies equality check predicate on the "last_run_id" field. It's identical to LastRunIDEQ.

func LastRunIDContains

func LastRunIDContains(v string) predicate.BackgroundTask

LastRunIDContains applies the Contains predicate on the "last_run_id" field.

func LastRunIDContainsFold

func LastRunIDContainsFold(v string) predicate.BackgroundTask

LastRunIDContainsFold applies the ContainsFold predicate on the "last_run_id" field.

func LastRunIDEQ

func LastRunIDEQ(v string) predicate.BackgroundTask

LastRunIDEQ applies the EQ predicate on the "last_run_id" field.

func LastRunIDEqualFold

func LastRunIDEqualFold(v string) predicate.BackgroundTask

LastRunIDEqualFold applies the EqualFold predicate on the "last_run_id" field.

func LastRunIDGT

func LastRunIDGT(v string) predicate.BackgroundTask

LastRunIDGT applies the GT predicate on the "last_run_id" field.

func LastRunIDGTE

func LastRunIDGTE(v string) predicate.BackgroundTask

LastRunIDGTE applies the GTE predicate on the "last_run_id" field.

func LastRunIDHasPrefix

func LastRunIDHasPrefix(v string) predicate.BackgroundTask

LastRunIDHasPrefix applies the HasPrefix predicate on the "last_run_id" field.

func LastRunIDHasSuffix

func LastRunIDHasSuffix(v string) predicate.BackgroundTask

LastRunIDHasSuffix applies the HasSuffix predicate on the "last_run_id" field.

func LastRunIDIn

func LastRunIDIn(vs ...string) predicate.BackgroundTask

LastRunIDIn applies the In predicate on the "last_run_id" field.

func LastRunIDIsNil

func LastRunIDIsNil() predicate.BackgroundTask

LastRunIDIsNil applies the IsNil predicate on the "last_run_id" field.

func LastRunIDLT

func LastRunIDLT(v string) predicate.BackgroundTask

LastRunIDLT applies the LT predicate on the "last_run_id" field.

func LastRunIDLTE

func LastRunIDLTE(v string) predicate.BackgroundTask

LastRunIDLTE applies the LTE predicate on the "last_run_id" field.

func LastRunIDNEQ

func LastRunIDNEQ(v string) predicate.BackgroundTask

LastRunIDNEQ applies the NEQ predicate on the "last_run_id" field.

func LastRunIDNotIn

func LastRunIDNotIn(vs ...string) predicate.BackgroundTask

LastRunIDNotIn applies the NotIn predicate on the "last_run_id" field.

func LastRunIDNotNil

func LastRunIDNotNil() predicate.BackgroundTask

LastRunIDNotNil applies the NotNil predicate on the "last_run_id" field.

func LastRunSummary

func LastRunSummary(v string) predicate.BackgroundTask

LastRunSummary applies equality check predicate on the "last_run_summary" field. It's identical to LastRunSummaryEQ.

func LastRunSummaryContains

func LastRunSummaryContains(v string) predicate.BackgroundTask

LastRunSummaryContains applies the Contains predicate on the "last_run_summary" field.

func LastRunSummaryContainsFold

func LastRunSummaryContainsFold(v string) predicate.BackgroundTask

LastRunSummaryContainsFold applies the ContainsFold predicate on the "last_run_summary" field.

func LastRunSummaryEQ

func LastRunSummaryEQ(v string) predicate.BackgroundTask

LastRunSummaryEQ applies the EQ predicate on the "last_run_summary" field.

func LastRunSummaryEqualFold

func LastRunSummaryEqualFold(v string) predicate.BackgroundTask

LastRunSummaryEqualFold applies the EqualFold predicate on the "last_run_summary" field.

func LastRunSummaryGT

func LastRunSummaryGT(v string) predicate.BackgroundTask

LastRunSummaryGT applies the GT predicate on the "last_run_summary" field.

func LastRunSummaryGTE

func LastRunSummaryGTE(v string) predicate.BackgroundTask

LastRunSummaryGTE applies the GTE predicate on the "last_run_summary" field.

func LastRunSummaryHasPrefix

func LastRunSummaryHasPrefix(v string) predicate.BackgroundTask

LastRunSummaryHasPrefix applies the HasPrefix predicate on the "last_run_summary" field.

func LastRunSummaryHasSuffix

func LastRunSummaryHasSuffix(v string) predicate.BackgroundTask

LastRunSummaryHasSuffix applies the HasSuffix predicate on the "last_run_summary" field.

func LastRunSummaryIn

func LastRunSummaryIn(vs ...string) predicate.BackgroundTask

LastRunSummaryIn applies the In predicate on the "last_run_summary" field.

func LastRunSummaryIsNil

func LastRunSummaryIsNil() predicate.BackgroundTask

LastRunSummaryIsNil applies the IsNil predicate on the "last_run_summary" field.

func LastRunSummaryLT

func LastRunSummaryLT(v string) predicate.BackgroundTask

LastRunSummaryLT applies the LT predicate on the "last_run_summary" field.

func LastRunSummaryLTE

func LastRunSummaryLTE(v string) predicate.BackgroundTask

LastRunSummaryLTE applies the LTE predicate on the "last_run_summary" field.

func LastRunSummaryNEQ

func LastRunSummaryNEQ(v string) predicate.BackgroundTask

LastRunSummaryNEQ applies the NEQ predicate on the "last_run_summary" field.

func LastRunSummaryNotIn

func LastRunSummaryNotIn(vs ...string) predicate.BackgroundTask

LastRunSummaryNotIn applies the NotIn predicate on the "last_run_summary" field.

func LastRunSummaryNotNil

func LastRunSummaryNotNil() predicate.BackgroundTask

LastRunSummaryNotNil applies the NotNil predicate on the "last_run_summary" field.

func Model

Model applies equality check predicate on the "model" field. It's identical to ModelEQ.

func ModelContains

func ModelContains(v string) predicate.BackgroundTask

ModelContains applies the Contains predicate on the "model" field.

func ModelContainsFold

func ModelContainsFold(v string) predicate.BackgroundTask

ModelContainsFold applies the ContainsFold predicate on the "model" field.

func ModelEQ

func ModelEQ(v string) predicate.BackgroundTask

ModelEQ applies the EQ predicate on the "model" field.

func ModelEqualFold

func ModelEqualFold(v string) predicate.BackgroundTask

ModelEqualFold applies the EqualFold predicate on the "model" field.

func ModelGT

func ModelGT(v string) predicate.BackgroundTask

ModelGT applies the GT predicate on the "model" field.

func ModelGTE

func ModelGTE(v string) predicate.BackgroundTask

ModelGTE applies the GTE predicate on the "model" field.

func ModelHasPrefix

func ModelHasPrefix(v string) predicate.BackgroundTask

ModelHasPrefix applies the HasPrefix predicate on the "model" field.

func ModelHasSuffix

func ModelHasSuffix(v string) predicate.BackgroundTask

ModelHasSuffix applies the HasSuffix predicate on the "model" field.

func ModelIn

func ModelIn(vs ...string) predicate.BackgroundTask

ModelIn applies the In predicate on the "model" field.

func ModelIsNil

func ModelIsNil() predicate.BackgroundTask

ModelIsNil applies the IsNil predicate on the "model" field.

func ModelLT

func ModelLT(v string) predicate.BackgroundTask

ModelLT applies the LT predicate on the "model" field.

func ModelLTE

func ModelLTE(v string) predicate.BackgroundTask

ModelLTE applies the LTE predicate on the "model" field.

func ModelNEQ

func ModelNEQ(v string) predicate.BackgroundTask

ModelNEQ applies the NEQ predicate on the "model" field.

func ModelNotIn

func ModelNotIn(vs ...string) predicate.BackgroundTask

ModelNotIn applies the NotIn predicate on the "model" field.

func ModelNotNil

func ModelNotNil() predicate.BackgroundTask

ModelNotNil applies the NotNil predicate on the "model" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.BackgroundTask

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.BackgroundTask

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.BackgroundTask

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.BackgroundTask

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.BackgroundTask

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.BackgroundTask

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.BackgroundTask

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.BackgroundTask

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.BackgroundTask

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.BackgroundTask

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Provider

func Provider(v string) predicate.BackgroundTask

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderContains

func ProviderContains(v string) predicate.BackgroundTask

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.BackgroundTask

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ

func ProviderEQ(v string) predicate.BackgroundTask

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.BackgroundTask

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT

func ProviderGT(v string) predicate.BackgroundTask

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE

func ProviderGTE(v string) predicate.BackgroundTask

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.BackgroundTask

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.BackgroundTask

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderIn

func ProviderIn(vs ...string) predicate.BackgroundTask

ProviderIn applies the In predicate on the "provider" field.

func ProviderIsNil

func ProviderIsNil() predicate.BackgroundTask

ProviderIsNil applies the IsNil predicate on the "provider" field.

func ProviderLT

func ProviderLT(v string) predicate.BackgroundTask

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE

func ProviderLTE(v string) predicate.BackgroundTask

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ

func ProviderNEQ(v string) predicate.BackgroundTask

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

func ProviderNotIn(vs ...string) predicate.BackgroundTask

ProviderNotIn applies the NotIn predicate on the "provider" field.

func ProviderNotNil

func ProviderNotNil() predicate.BackgroundTask

ProviderNotNil applies the NotNil predicate on the "provider" field.

func Revision

func Revision(v int) predicate.BackgroundTask

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionEQ

func RevisionEQ(v int) predicate.BackgroundTask

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionGT

func RevisionGT(v int) predicate.BackgroundTask

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE

func RevisionGTE(v int) predicate.BackgroundTask

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionIn

func RevisionIn(vs ...int) predicate.BackgroundTask

RevisionIn applies the In predicate on the "revision" field.

func RevisionLT

func RevisionLT(v int) predicate.BackgroundTask

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE

func RevisionLTE(v int) predicate.BackgroundTask

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ

func RevisionNEQ(v int) predicate.BackgroundTask

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn

func RevisionNotIn(vs ...int) predicate.BackgroundTask

RevisionNotIn applies the NotIn predicate on the "revision" field.

func ScheduleSyncError

func ScheduleSyncError(v string) predicate.BackgroundTask

ScheduleSyncError applies equality check predicate on the "schedule_sync_error" field. It's identical to ScheduleSyncErrorEQ.

func ScheduleSyncErrorContains

func ScheduleSyncErrorContains(v string) predicate.BackgroundTask

ScheduleSyncErrorContains applies the Contains predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorContainsFold

func ScheduleSyncErrorContainsFold(v string) predicate.BackgroundTask

ScheduleSyncErrorContainsFold applies the ContainsFold predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorEQ

func ScheduleSyncErrorEQ(v string) predicate.BackgroundTask

ScheduleSyncErrorEQ applies the EQ predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorEqualFold

func ScheduleSyncErrorEqualFold(v string) predicate.BackgroundTask

ScheduleSyncErrorEqualFold applies the EqualFold predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorGT

func ScheduleSyncErrorGT(v string) predicate.BackgroundTask

ScheduleSyncErrorGT applies the GT predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorGTE

func ScheduleSyncErrorGTE(v string) predicate.BackgroundTask

ScheduleSyncErrorGTE applies the GTE predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorHasPrefix

func ScheduleSyncErrorHasPrefix(v string) predicate.BackgroundTask

ScheduleSyncErrorHasPrefix applies the HasPrefix predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorHasSuffix

func ScheduleSyncErrorHasSuffix(v string) predicate.BackgroundTask

ScheduleSyncErrorHasSuffix applies the HasSuffix predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorIn

func ScheduleSyncErrorIn(vs ...string) predicate.BackgroundTask

ScheduleSyncErrorIn applies the In predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorIsNil

func ScheduleSyncErrorIsNil() predicate.BackgroundTask

ScheduleSyncErrorIsNil applies the IsNil predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorLT

func ScheduleSyncErrorLT(v string) predicate.BackgroundTask

ScheduleSyncErrorLT applies the LT predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorLTE

func ScheduleSyncErrorLTE(v string) predicate.BackgroundTask

ScheduleSyncErrorLTE applies the LTE predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorNEQ

func ScheduleSyncErrorNEQ(v string) predicate.BackgroundTask

ScheduleSyncErrorNEQ applies the NEQ predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorNotIn

func ScheduleSyncErrorNotIn(vs ...string) predicate.BackgroundTask

ScheduleSyncErrorNotIn applies the NotIn predicate on the "schedule_sync_error" field.

func ScheduleSyncErrorNotNil

func ScheduleSyncErrorNotNil() predicate.BackgroundTask

ScheduleSyncErrorNotNil applies the NotNil predicate on the "schedule_sync_error" field.

func ScheduleSyncState

func ScheduleSyncState(v string) predicate.BackgroundTask

ScheduleSyncState applies equality check predicate on the "schedule_sync_state" field. It's identical to ScheduleSyncStateEQ.

func ScheduleSyncStateContains

func ScheduleSyncStateContains(v string) predicate.BackgroundTask

ScheduleSyncStateContains applies the Contains predicate on the "schedule_sync_state" field.

func ScheduleSyncStateContainsFold

func ScheduleSyncStateContainsFold(v string) predicate.BackgroundTask

ScheduleSyncStateContainsFold applies the ContainsFold predicate on the "schedule_sync_state" field.

func ScheduleSyncStateEQ

func ScheduleSyncStateEQ(v string) predicate.BackgroundTask

ScheduleSyncStateEQ applies the EQ predicate on the "schedule_sync_state" field.

func ScheduleSyncStateEqualFold

func ScheduleSyncStateEqualFold(v string) predicate.BackgroundTask

ScheduleSyncStateEqualFold applies the EqualFold predicate on the "schedule_sync_state" field.

func ScheduleSyncStateGT

func ScheduleSyncStateGT(v string) predicate.BackgroundTask

ScheduleSyncStateGT applies the GT predicate on the "schedule_sync_state" field.

func ScheduleSyncStateGTE

func ScheduleSyncStateGTE(v string) predicate.BackgroundTask

ScheduleSyncStateGTE applies the GTE predicate on the "schedule_sync_state" field.

func ScheduleSyncStateHasPrefix

func ScheduleSyncStateHasPrefix(v string) predicate.BackgroundTask

ScheduleSyncStateHasPrefix applies the HasPrefix predicate on the "schedule_sync_state" field.

func ScheduleSyncStateHasSuffix

func ScheduleSyncStateHasSuffix(v string) predicate.BackgroundTask

ScheduleSyncStateHasSuffix applies the HasSuffix predicate on the "schedule_sync_state" field.

func ScheduleSyncStateIn

func ScheduleSyncStateIn(vs ...string) predicate.BackgroundTask

ScheduleSyncStateIn applies the In predicate on the "schedule_sync_state" field.

func ScheduleSyncStateLT

func ScheduleSyncStateLT(v string) predicate.BackgroundTask

ScheduleSyncStateLT applies the LT predicate on the "schedule_sync_state" field.

func ScheduleSyncStateLTE

func ScheduleSyncStateLTE(v string) predicate.BackgroundTask

ScheduleSyncStateLTE applies the LTE predicate on the "schedule_sync_state" field.

func ScheduleSyncStateNEQ

func ScheduleSyncStateNEQ(v string) predicate.BackgroundTask

ScheduleSyncStateNEQ applies the NEQ predicate on the "schedule_sync_state" field.

func ScheduleSyncStateNotIn

func ScheduleSyncStateNotIn(vs ...string) predicate.BackgroundTask

ScheduleSyncStateNotIn applies the NotIn predicate on the "schedule_sync_state" field.

func ScheduleSyncedAt

func ScheduleSyncedAt(v time.Time) predicate.BackgroundTask

ScheduleSyncedAt applies equality check predicate on the "schedule_synced_at" field. It's identical to ScheduleSyncedAtEQ.

func ScheduleSyncedAtEQ

func ScheduleSyncedAtEQ(v time.Time) predicate.BackgroundTask

ScheduleSyncedAtEQ applies the EQ predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtGT

func ScheduleSyncedAtGT(v time.Time) predicate.BackgroundTask

ScheduleSyncedAtGT applies the GT predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtGTE

func ScheduleSyncedAtGTE(v time.Time) predicate.BackgroundTask

ScheduleSyncedAtGTE applies the GTE predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtIn

func ScheduleSyncedAtIn(vs ...time.Time) predicate.BackgroundTask

ScheduleSyncedAtIn applies the In predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtIsNil

func ScheduleSyncedAtIsNil() predicate.BackgroundTask

ScheduleSyncedAtIsNil applies the IsNil predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtLT

func ScheduleSyncedAtLT(v time.Time) predicate.BackgroundTask

ScheduleSyncedAtLT applies the LT predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtLTE

func ScheduleSyncedAtLTE(v time.Time) predicate.BackgroundTask

ScheduleSyncedAtLTE applies the LTE predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtNEQ

func ScheduleSyncedAtNEQ(v time.Time) predicate.BackgroundTask

ScheduleSyncedAtNEQ applies the NEQ predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtNotIn

func ScheduleSyncedAtNotIn(vs ...time.Time) predicate.BackgroundTask

ScheduleSyncedAtNotIn applies the NotIn predicate on the "schedule_synced_at" field.

func ScheduleSyncedAtNotNil

func ScheduleSyncedAtNotNil() predicate.BackgroundTask

ScheduleSyncedAtNotNil applies the NotNil predicate on the "schedule_synced_at" field.

func Slug

Slug applies equality check predicate on the "slug" field. It's identical to SlugEQ.

func SlugContains

func SlugContains(v string) predicate.BackgroundTask

SlugContains applies the Contains predicate on the "slug" field.

func SlugContainsFold

func SlugContainsFold(v string) predicate.BackgroundTask

SlugContainsFold applies the ContainsFold predicate on the "slug" field.

func SlugEQ

SlugEQ applies the EQ predicate on the "slug" field.

func SlugEqualFold

func SlugEqualFold(v string) predicate.BackgroundTask

SlugEqualFold applies the EqualFold predicate on the "slug" field.

func SlugGT

SlugGT applies the GT predicate on the "slug" field.

func SlugGTE

func SlugGTE(v string) predicate.BackgroundTask

SlugGTE applies the GTE predicate on the "slug" field.

func SlugHasPrefix

func SlugHasPrefix(v string) predicate.BackgroundTask

SlugHasPrefix applies the HasPrefix predicate on the "slug" field.

func SlugHasSuffix

func SlugHasSuffix(v string) predicate.BackgroundTask

SlugHasSuffix applies the HasSuffix predicate on the "slug" field.

func SlugIn

func SlugIn(vs ...string) predicate.BackgroundTask

SlugIn applies the In predicate on the "slug" field.

func SlugLT

SlugLT applies the LT predicate on the "slug" field.

func SlugLTE

func SlugLTE(v string) predicate.BackgroundTask

SlugLTE applies the LTE predicate on the "slug" field.

func SlugNEQ

func SlugNEQ(v string) predicate.BackgroundTask

SlugNEQ applies the NEQ predicate on the "slug" field.

func SlugNotIn

func SlugNotIn(vs ...string) predicate.BackgroundTask

SlugNotIn applies the NotIn predicate on the "slug" field.

func SystemManaged

func SystemManaged(v bool) predicate.BackgroundTask

SystemManaged applies equality check predicate on the "system_managed" field. It's identical to SystemManagedEQ.

func SystemManagedEQ

func SystemManagedEQ(v bool) predicate.BackgroundTask

SystemManagedEQ applies the EQ predicate on the "system_managed" field.

func SystemManagedNEQ

func SystemManagedNEQ(v bool) predicate.BackgroundTask

SystemManagedNEQ applies the NEQ predicate on the "system_managed" field.

func TaskCreatedAt

func TaskCreatedAt(v time.Time) predicate.BackgroundTask

TaskCreatedAt applies equality check predicate on the "task_created_at" field. It's identical to TaskCreatedAtEQ.

func TaskCreatedAtEQ

func TaskCreatedAtEQ(v time.Time) predicate.BackgroundTask

TaskCreatedAtEQ applies the EQ predicate on the "task_created_at" field.

func TaskCreatedAtGT

func TaskCreatedAtGT(v time.Time) predicate.BackgroundTask

TaskCreatedAtGT applies the GT predicate on the "task_created_at" field.

func TaskCreatedAtGTE

func TaskCreatedAtGTE(v time.Time) predicate.BackgroundTask

TaskCreatedAtGTE applies the GTE predicate on the "task_created_at" field.

func TaskCreatedAtIn

func TaskCreatedAtIn(vs ...time.Time) predicate.BackgroundTask

TaskCreatedAtIn applies the In predicate on the "task_created_at" field.

func TaskCreatedAtIsNil

func TaskCreatedAtIsNil() predicate.BackgroundTask

TaskCreatedAtIsNil applies the IsNil predicate on the "task_created_at" field.

func TaskCreatedAtLT

func TaskCreatedAtLT(v time.Time) predicate.BackgroundTask

TaskCreatedAtLT applies the LT predicate on the "task_created_at" field.

func TaskCreatedAtLTE

func TaskCreatedAtLTE(v time.Time) predicate.BackgroundTask

TaskCreatedAtLTE applies the LTE predicate on the "task_created_at" field.

func TaskCreatedAtNEQ

func TaskCreatedAtNEQ(v time.Time) predicate.BackgroundTask

TaskCreatedAtNEQ applies the NEQ predicate on the "task_created_at" field.

func TaskCreatedAtNotIn

func TaskCreatedAtNotIn(vs ...time.Time) predicate.BackgroundTask

TaskCreatedAtNotIn applies the NotIn predicate on the "task_created_at" field.

func TaskCreatedAtNotNil

func TaskCreatedAtNotNil() predicate.BackgroundTask

TaskCreatedAtNotNil applies the NotNil predicate on the "task_created_at" field.

func TemplateSlug

func TemplateSlug(v string) predicate.BackgroundTask

TemplateSlug applies equality check predicate on the "template_slug" field. It's identical to TemplateSlugEQ.

func TemplateSlugContains

func TemplateSlugContains(v string) predicate.BackgroundTask

TemplateSlugContains applies the Contains predicate on the "template_slug" field.

func TemplateSlugContainsFold

func TemplateSlugContainsFold(v string) predicate.BackgroundTask

TemplateSlugContainsFold applies the ContainsFold predicate on the "template_slug" field.

func TemplateSlugEQ

func TemplateSlugEQ(v string) predicate.BackgroundTask

TemplateSlugEQ applies the EQ predicate on the "template_slug" field.

func TemplateSlugEqualFold

func TemplateSlugEqualFold(v string) predicate.BackgroundTask

TemplateSlugEqualFold applies the EqualFold predicate on the "template_slug" field.

func TemplateSlugGT

func TemplateSlugGT(v string) predicate.BackgroundTask

TemplateSlugGT applies the GT predicate on the "template_slug" field.

func TemplateSlugGTE

func TemplateSlugGTE(v string) predicate.BackgroundTask

TemplateSlugGTE applies the GTE predicate on the "template_slug" field.

func TemplateSlugHasPrefix

func TemplateSlugHasPrefix(v string) predicate.BackgroundTask

TemplateSlugHasPrefix applies the HasPrefix predicate on the "template_slug" field.

func TemplateSlugHasSuffix

func TemplateSlugHasSuffix(v string) predicate.BackgroundTask

TemplateSlugHasSuffix applies the HasSuffix predicate on the "template_slug" field.

func TemplateSlugIn

func TemplateSlugIn(vs ...string) predicate.BackgroundTask

TemplateSlugIn applies the In predicate on the "template_slug" field.

func TemplateSlugIsNil

func TemplateSlugIsNil() predicate.BackgroundTask

TemplateSlugIsNil applies the IsNil predicate on the "template_slug" field.

func TemplateSlugLT

func TemplateSlugLT(v string) predicate.BackgroundTask

TemplateSlugLT applies the LT predicate on the "template_slug" field.

func TemplateSlugLTE

func TemplateSlugLTE(v string) predicate.BackgroundTask

TemplateSlugLTE applies the LTE predicate on the "template_slug" field.

func TemplateSlugNEQ

func TemplateSlugNEQ(v string) predicate.BackgroundTask

TemplateSlugNEQ applies the NEQ predicate on the "template_slug" field.

func TemplateSlugNotIn

func TemplateSlugNotIn(vs ...string) predicate.BackgroundTask

TemplateSlugNotIn applies the NotIn predicate on the "template_slug" field.

func TemplateSlugNotNil

func TemplateSlugNotNil() predicate.BackgroundTask

TemplateSlugNotNil applies the NotNil predicate on the "template_slug" field.

func TemplateVersion

func TemplateVersion(v int) predicate.BackgroundTask

TemplateVersion applies equality check predicate on the "template_version" field. It's identical to TemplateVersionEQ.

func TemplateVersionEQ

func TemplateVersionEQ(v int) predicate.BackgroundTask

TemplateVersionEQ applies the EQ predicate on the "template_version" field.

func TemplateVersionGT

func TemplateVersionGT(v int) predicate.BackgroundTask

TemplateVersionGT applies the GT predicate on the "template_version" field.

func TemplateVersionGTE

func TemplateVersionGTE(v int) predicate.BackgroundTask

TemplateVersionGTE applies the GTE predicate on the "template_version" field.

func TemplateVersionIn

func TemplateVersionIn(vs ...int) predicate.BackgroundTask

TemplateVersionIn applies the In predicate on the "template_version" field.

func TemplateVersionLT

func TemplateVersionLT(v int) predicate.BackgroundTask

TemplateVersionLT applies the LT predicate on the "template_version" field.

func TemplateVersionLTE

func TemplateVersionLTE(v int) predicate.BackgroundTask

TemplateVersionLTE applies the LTE predicate on the "template_version" field.

func TemplateVersionNEQ

func TemplateVersionNEQ(v int) predicate.BackgroundTask

TemplateVersionNEQ applies the NEQ predicate on the "template_version" field.

func TemplateVersionNotIn

func TemplateVersionNotIn(vs ...int) predicate.BackgroundTask

TemplateVersionNotIn applies the NotIn predicate on the "template_version" field.

func TriggersJSON

func TriggersJSON(v string) predicate.BackgroundTask

TriggersJSON applies equality check predicate on the "triggers_json" field. It's identical to TriggersJSONEQ.

func TriggersJSONContains

func TriggersJSONContains(v string) predicate.BackgroundTask

TriggersJSONContains applies the Contains predicate on the "triggers_json" field.

func TriggersJSONContainsFold

func TriggersJSONContainsFold(v string) predicate.BackgroundTask

TriggersJSONContainsFold applies the ContainsFold predicate on the "triggers_json" field.

func TriggersJSONEQ

func TriggersJSONEQ(v string) predicate.BackgroundTask

TriggersJSONEQ applies the EQ predicate on the "triggers_json" field.

func TriggersJSONEqualFold

func TriggersJSONEqualFold(v string) predicate.BackgroundTask

TriggersJSONEqualFold applies the EqualFold predicate on the "triggers_json" field.

func TriggersJSONGT

func TriggersJSONGT(v string) predicate.BackgroundTask

TriggersJSONGT applies the GT predicate on the "triggers_json" field.

func TriggersJSONGTE

func TriggersJSONGTE(v string) predicate.BackgroundTask

TriggersJSONGTE applies the GTE predicate on the "triggers_json" field.

func TriggersJSONHasPrefix

func TriggersJSONHasPrefix(v string) predicate.BackgroundTask

TriggersJSONHasPrefix applies the HasPrefix predicate on the "triggers_json" field.

func TriggersJSONHasSuffix

func TriggersJSONHasSuffix(v string) predicate.BackgroundTask

TriggersJSONHasSuffix applies the HasSuffix predicate on the "triggers_json" field.

func TriggersJSONIn

func TriggersJSONIn(vs ...string) predicate.BackgroundTask

TriggersJSONIn applies the In predicate on the "triggers_json" field.

func TriggersJSONIsNil

func TriggersJSONIsNil() predicate.BackgroundTask

TriggersJSONIsNil applies the IsNil predicate on the "triggers_json" field.

func TriggersJSONLT

func TriggersJSONLT(v string) predicate.BackgroundTask

TriggersJSONLT applies the LT predicate on the "triggers_json" field.

func TriggersJSONLTE

func TriggersJSONLTE(v string) predicate.BackgroundTask

TriggersJSONLTE applies the LTE predicate on the "triggers_json" field.

func TriggersJSONNEQ

func TriggersJSONNEQ(v string) predicate.BackgroundTask

TriggersJSONNEQ applies the NEQ predicate on the "triggers_json" field.

func TriggersJSONNotIn

func TriggersJSONNotIn(vs ...string) predicate.BackgroundTask

TriggersJSONNotIn applies the NotIn predicate on the "triggers_json" field.

func TriggersJSONNotNil

func TriggersJSONNotNil() predicate.BackgroundTask

TriggersJSONNotNil applies the NotNil predicate on the "triggers_json" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.BackgroundTask

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.BackgroundTask

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.BackgroundTask

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.BackgroundTask

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.BackgroundTask

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.BackgroundTask

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.BackgroundTask

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.BackgroundTask

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.BackgroundTask

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the BackgroundTask queries.

func ByActive

func ByActive(opts ...sql.OrderTermOption) OrderOption

ByActive orders the results by the active field.

func ByArtifactField

func ByArtifactField(field string, opts ...sql.OrderTermOption) OrderOption

ByArtifactField orders the results by artifact field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByExecutionTarget

func ByExecutionTarget(opts ...sql.OrderTermOption) OrderOption

ByExecutionTarget orders the results by the execution_target field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInstructions

func ByInstructions(opts ...sql.OrderTermOption) OrderOption

ByInstructions orders the results by the instructions field.

func ByLastAttemptAt

func ByLastAttemptAt(opts ...sql.OrderTermOption) OrderOption

ByLastAttemptAt orders the results by the last_attempt_at field.

func ByLastRunAt

func ByLastRunAt(opts ...sql.OrderTermOption) OrderOption

ByLastRunAt orders the results by the last_run_at field.

func ByLastRunError

func ByLastRunError(opts ...sql.OrderTermOption) OrderOption

ByLastRunError orders the results by the last_run_error field.

func ByLastRunID

func ByLastRunID(opts ...sql.OrderTermOption) OrderOption

ByLastRunID orders the results by the last_run_id field.

func ByLastRunSummary

func ByLastRunSummary(opts ...sql.OrderTermOption) OrderOption

ByLastRunSummary orders the results by the last_run_summary field.

func ByModel

func ByModel(opts ...sql.OrderTermOption) OrderOption

ByModel orders the results by the model field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByProvider

func ByProvider(opts ...sql.OrderTermOption) OrderOption

ByProvider orders the results by the provider field.

func ByRevision

func ByRevision(opts ...sql.OrderTermOption) OrderOption

ByRevision orders the results by the revision field.

func ByRunEvents

func ByRunEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRunEvents orders the results by run_events terms.

func ByRunEventsCount

func ByRunEventsCount(opts ...sql.OrderTermOption) OrderOption

ByRunEventsCount orders the results by run_events count.

func ByRuns

func ByRuns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRuns orders the results by runs terms.

func ByRunsCount

func ByRunsCount(opts ...sql.OrderTermOption) OrderOption

ByRunsCount orders the results by runs count.

func ByScheduleStates

func ByScheduleStates(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByScheduleStates orders the results by schedule_states terms.

func ByScheduleStatesCount

func ByScheduleStatesCount(opts ...sql.OrderTermOption) OrderOption

ByScheduleStatesCount orders the results by schedule_states count.

func ByScheduleSyncError

func ByScheduleSyncError(opts ...sql.OrderTermOption) OrderOption

ByScheduleSyncError orders the results by the schedule_sync_error field.

func ByScheduleSyncState

func ByScheduleSyncState(opts ...sql.OrderTermOption) OrderOption

ByScheduleSyncState orders the results by the schedule_sync_state field.

func ByScheduleSyncedAt

func ByScheduleSyncedAt(opts ...sql.OrderTermOption) OrderOption

ByScheduleSyncedAt orders the results by the schedule_synced_at field.

func BySlug

func BySlug(opts ...sql.OrderTermOption) OrderOption

BySlug orders the results by the slug field.

func BySystemManaged

func BySystemManaged(opts ...sql.OrderTermOption) OrderOption

BySystemManaged orders the results by the system_managed field.

func ByTaskCreatedAt

func ByTaskCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByTaskCreatedAt orders the results by the task_created_at field.

func ByTemplateSlug

func ByTemplateSlug(opts ...sql.OrderTermOption) OrderOption

ByTemplateSlug orders the results by the template_slug field.

func ByTemplateVersion

func ByTemplateVersion(opts ...sql.OrderTermOption) OrderOption

ByTemplateVersion orders the results by the template_version field.

func ByTriggersJSON

func ByTriggersJSON(opts ...sql.OrderTermOption) OrderOption

ByTriggersJSON orders the results by the triggers_json field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL